Files
proxy-scraper-checker/pyproject.toml
T
2023-05-22 21:06:05 +03:00

84 lines
1.3 KiB
TOML

[tool.black]
target-version = ["py37"]
skip-magic-trailing-comma = true
preview = true
[tool.mypy]
python_version = "3.7"
disallow_subclassing_any = false
disallow_untyped_calls = false
disallow_untyped_decorators = false
warn_unreachable = true
local_partial_types = true
enable_error_code = [
"redundant-self",
"redundant-expr",
"truthy-bool",
"truthy-iterable",
"ignore-without-code",
"unused-awaitable",
]
strict = true
[[tool.mypy.overrides]]
module = "aiohttp_socks.*"
ignore_missing_imports = true
[tool.ruff]
target-version = "py37"
select = ["ALL"]
ignore = [
"ANN",
"BLE001",
"C901",
"COM",
"D100",
"D101",
"D102",
"D103",
"D104",
"D105",
"D106",
"D107",
"D203",
"D205",
"D212",
"D213",
"D400",
"D401",
"D407",
"D415",
"D417",
"DJ008",
"ERA001",
"FBT002",
"PD901",
"PLR0911",
"PLR0912",
"PLR0913",
"PLR0915",
"PT012",
"RUF001",
"RUF002",
"RUF003",
"S110",
"S112",
"S308",
"S311",
"SIM105",
"TCH001",
"TCH002",
"TCH003",
"TID252",
"TRY400",
"UP006",
"UP007",
]
[tool.ruff.flake8-unused-arguments]
ignore-variadic-names = true
[tool.ruff.isort]
combine-as-imports = true
required-imports = ["from __future__ import annotations"]