core/setup.cfg

27 lines
754 B
INI
Raw Normal View History

2022-12-17 09:06:41 +00:00
[isort]
# https://github.com/PyCQA/isort
2023-10-30 21:00:55 +00:00
profile = black
2022-12-17 09:06:41 +00:00
[flake8]
# https://github.com/PyCQA/flake8
2023-10-30 21:00:55 +00:00
exclude = .git,.mypy_cache,schema_types.py
max-line-length = 100
max-complexity = 10
# select = B,C,E,F,W,T4,B9
2022-12-17 09:06:41 +00:00
# E203: Whitespace before ':'
# E266: Too many leading '#' for block comment
# E501: Line too long (82 > 79 characters)
# E722: Do not use bare except, specify exception instead
# W503: Line break occurred before a binary operator
# F403: 'from module import *' used; unable to detect undefined names
# C901: Function is too complex
2023-10-30 21:00:55 +00:00
# ignore = E203,E266,E501,E722,W503,F403,C901
extend-ignore = E203
2022-12-17 09:06:41 +00:00
[mypy]
# https://github.com/python/mypy
2023-10-30 21:00:55 +00:00
exclude = schema_types.py
explicit_package_bases = true
check_untyped_defs = true
plugins = sqlmypy