setup.cfg•1.24 kB
[flake8]
max-line-length = 127
exclude =
.git,
__pycache__,
.venv,
venv,
archive-ignore,
.github
ignore =
E203, # whitespace before ':'
E501, # line too long (handled by black)
W503, # line break before binary operator
max-complexity = 10
per-file-ignores =
__init__.py:F401
[mypy]
python_version = 3.10
warn_return_any = True
warn_unused_configs = True
ignore_missing_imports = True
no_implicit_optional = True
[tool:pytest]
testpaths = tests
python_files = test_*.py
python_classes = Test*
python_functions = test_*
asyncio_mode = auto
[coverage:run]
source = .
omit =
*/tests/*
*/venv/*
*/__pycache__/*
[coverage:report]
exclude_lines =
pragma: no cover
def __repr__
raise AssertionError
raise NotImplementedError
if __name__ == .__main__.:
[pylint]
max-line-length = 127
disable =
C0114, # missing-module-docstring
C0115, # missing-class-docstring
C0116, # missing-function-docstring
R0913, # too-many-arguments
R0914, # too-many-locals
good-names = i,j,k,ex,_,ip,id
[isort]
profile = black
line_length = 127
skip_gitignore = true
known_third_party = mcp,aiohttp,yaml
[tool:black]
line-length = 127
target-version = ['py310']