mirror of
https://github.com/status-im/PyGithub.git
synced 2026-08-31 10:51:14 +00:00
33 lines
625 B
TOML
33 lines
625 B
TOML
[tool.mypy]
|
|
python_version = '3.7'
|
|
ignore_missing_imports = true
|
|
namespace_packages = true
|
|
|
|
[[tool.mypy.overrides]]
|
|
module = ["github.*"]
|
|
check_untyped_defs = true
|
|
disallow_untyped_defs = true
|
|
|
|
|
|
[tool.black]
|
|
# https://github.com/psf/black
|
|
line-length = 120
|
|
target-version = ['py37']
|
|
|
|
|
|
[tool.ruff]
|
|
line-length = 120
|
|
target-version = "py37"
|
|
# Enable Pyflakes `E` and `F` codes by default.
|
|
select = [
|
|
"E", "W", # see: https://pypi.org/project/pycodestyle
|
|
"F", # see: https://pypi.org/project/pyflakes
|
|
"I", # see: isort
|
|
]
|
|
ignore = [
|
|
"E501",
|
|
"E741",
|
|
]
|
|
ignore-init-module-imports = true
|
|
unfixable = ["F401"]
|