Files
proxy-scraper-checker/pyproject.toml
T

96 lines
1.5 KiB
TOML
Raw Normal View History

2023-02-25 19:31:34 +03:00
[tool.mypy]
2023-06-26 22:56:09 +03:00
python_version = "3.8"
2023-02-25 19:31:34 +03:00
disallow_subclassing_any = false
disallow_untyped_calls = false
disallow_untyped_decorators = false
warn_unreachable = true
local_partial_types = true
enable_error_code = [
2023-10-25 20:27:26 +03:00
"explicit-override",
2023-07-11 23:34:12 +03:00
"redundant-self",
"redundant-expr",
"possibly-undefined",
"truthy-bool",
"truthy-iterable",
"ignore-without-code",
"unused-awaitable",
2023-02-25 19:31:34 +03:00
]
strict = true
2023-02-25 23:10:46 +03:00
[[tool.mypy.overrides]]
module = "aiohttp_socks.*"
ignore_missing_imports = true
2023-02-25 19:31:34 +03:00
[tool.ruff]
ignore = [
2023-10-28 17:41:11 +03:00
"ANN101",
"ANN102",
"ANN401",
2023-07-11 23:34:12 +03:00
"BLE001",
"C901",
2023-10-28 17:41:11 +03:00
"COM812",
2023-10-25 09:42:02 +03:00
"CPY001",
2023-07-11 23:34:12 +03:00
"D100",
"D101",
"D102",
"D103",
"D104",
"D105",
"D106",
"D107",
"D415",
"D417",
"DJ008",
2023-10-25 09:42:02 +03:00
"E203",
2023-07-11 23:34:12 +03:00
"ERA001",
2023-10-28 17:41:11 +03:00
"ISC001",
2023-07-11 23:34:12 +03:00
"PD901",
"PERF203",
2023-10-25 09:42:02 +03:00
"PLR0904",
2023-07-11 23:34:12 +03:00
"PLR0911",
"PLR0912",
"PLR0913",
"PLR0915",
2023-10-25 09:42:02 +03:00
"PLR0916",
2023-07-11 23:34:12 +03:00
"PT012",
"RUF001",
"RUF002",
"RUF003",
"S110",
"S112",
"S308",
"S311",
"SIM105",
"TCH001",
"TCH002",
"TCH003",
"TID252",
"TRY400",
2023-02-25 19:31:34 +03:00
]
2023-07-11 23:34:12 +03:00
ignore-init-module-imports = true
line-length = 80
2023-10-25 09:42:02 +03:00
preview = true
2023-07-11 23:34:12 +03:00
select = ["ALL"]
target-version = "py37"
2023-02-25 19:31:34 +03:00
2023-07-11 23:59:50 +03:00
[tool.ruff.flake8-self]
ignore-names = []
2023-02-25 19:31:34 +03:00
[tool.ruff.flake8-unused-arguments]
ignore-variadic-names = true
2023-10-25 09:42:02 +03:00
[tool.ruff.format]
line-ending = "lf"
skip-magic-trailing-comma = true
2023-02-25 19:31:34 +03:00
[tool.ruff.isort]
combine-as-imports = true
required-imports = ["from __future__ import annotations"]
2023-10-28 17:41:11 +03:00
split-on-trailing-comma = false
2023-06-30 00:26:37 +03:00
[tool.ruff.pydocstyle]
convention = "google"
2023-07-04 20:47:27 +03:00
[tool.ruff.pyupgrade]
keep-runtime-typing = true