Created
May 14, 2024 12:41
-
-
Save mstuttgart/310f7a13a540c7bf893d7fdf64960472 to your computer and use it in GitHub Desktop.
Skip lines with Python Black formmater
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def soma(a, b): | |
# ignora apenas a linha abaixo | |
soma = a + b # fmt: skip | |
return soma | |
# ignora todo o bloco de codigo a abaixo | |
# fmt: off | |
def subtracao(a, b): | |
sub = a - b | |
return sub | |
# fmt: on |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment