linguask / .flake8
GitHub Action
refs/heads/ci-cd/hugging-face
8b414b0
raw
history blame contribute delete
967 Bytes
[flake8]
max-complexity = 10
max_line_length = 138
exclude =
# no need to traverse our git directory
.git,
# there's no value in checking cache directories
__pycache__,
# this directory is mostly auto-generated
docs/source,
extend-ignore =
# H101: use TODO(NAME)
H101,
# H202: assertRaises Exception too broad
H202,
# H233: python 3.x incompatible use of print operator
H233,
# H301: one import per line
H301,
# H306: imports not in alphabetical order (time, os)
H306,
# H401: docstring should not start with a space
H401,
# H403: multi line docstrings should end on a new line
H403,
# H404: multi line docstring should start without a leading new line
H404,
# H405: multi line docstring summary not separated with an empty line
H405,
# H501: do not use self.__dict__ for string formatting
H501,
# E203: colons should not have any space before them
E203,