Files
proxy-scraper-checker/ruff.toml
T

78 lines
1.0 KiB
TOML
Raw Normal View History

2024-02-07 09:01:55 +03:00
line-length = 80
preview = true
2024-10-17 14:18:27 +03:00
target-version = "py39"
2024-02-07 09:01:55 +03:00
[format]
docstring-code-format = true
line-ending = "lf"
skip-magic-trailing-comma = true
[lint]
ignore = [
2024-08-03 13:34:57 +00:00
"A005",
2024-02-07 09:01:55 +03:00
"ANN401",
2024-07-15 11:05:28 +00:00
"ASYNC109",
2024-02-07 09:01:55 +03:00
"BLE001",
"C901",
"COM812",
"CPY001",
"D100",
"D101",
"D102",
"D103",
"D104",
"D105",
"D106",
"D107",
2024-07-27 20:04:33 +00:00
"D403",
2024-02-07 09:01:55 +03:00
"D415",
"D417",
"DJ008",
2024-08-03 13:34:57 +00:00
"DOC201",
2024-10-21 16:57:36 +03:00
"DOC402",
2024-07-27 20:04:33 +00:00
"DOC501",
2024-02-07 09:01:55 +03:00
"FURB180",
"ISC001",
"PLR0904",
"PLR0911",
"PLR0912",
"PLR0913",
"PLR0914",
"PLR0915",
"PLR0916",
"PLR0917",
2024-07-09 03:08:30 +03:00
"PLR1702",
2024-02-07 09:01:55 +03:00
"RUF001",
"RUF002",
"RUF003",
"S110",
"S112",
"S308",
"S311",
2024-07-09 03:08:30 +03:00
"S404",
2024-02-07 09:01:55 +03:00
"SIM105",
2024-10-21 16:57:36 +03:00
"TD002",
"TD003",
2024-02-07 09:01:55 +03:00
"TRY400",
]
select = ["ALL"]
2024-10-21 16:57:36 +03:00
unfixable = ["RUF027", "T"]
2024-02-07 09:01:55 +03:00
[lint.flake8-self]
2024-05-06 22:55:17 +05:00
ignore-names = ["_name_", "_value_"]
2024-02-07 09:01:55 +03:00
2024-11-22 14:32:29 +03:00
[lint.flake8-tidy-imports]
ban-relative-imports = "all"
2024-07-09 03:08:30 +03:00
[lint.flake8-type-checking]
exempt-modules = []
strict = true
2024-02-07 09:01:55 +03:00
[lint.isort]
combine-as-imports = true
required-imports = ["from __future__ import annotations"]
split-on-trailing-comma = false
[lint.pydocstyle]
convention = "google"