Add CI checks
parent
df2b5eb814
commit
ae3cec1082
@ -1 +1,4 @@
|
||||
flake8>=3.7
|
||||
flake8~=3.9
|
||||
isort>=5.9
|
||||
mypy~=0.910
|
||||
types-PyYAML~=5.4.3
|
||||
|
@ -1,5 +1,11 @@
|
||||
[flake8]
|
||||
exclude = .git,__pycache__,docs,*.pyc,venv
|
||||
exclude=build,.cache,.eggs,.git,breadbot.egg-info,lib,bin
|
||||
# Override the errors that Flake8 ignores by default to lint very hard.
|
||||
# Only ignore W503, which is deprecated and conflicts with W504.
|
||||
ignore=W503
|
||||
|
||||
[doc8]
|
||||
ignore-path=**/*.txt,*.txt,*.egg-info,docs/_build,venv,.git
|
||||
[mypy]
|
||||
disallow_incomplete_defs=True
|
||||
disallow_untyped_defs=True
|
||||
check_untyped_defs=True
|
||||
no_implicit_optional=True
|
||||
|
Loading…
Reference in New Issue