Files
proxy-scraper-checker/ruff.toml
T
monosans[bot]GitHubgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>monosans
da7dc376c6 Update .pre-commit-config.yaml (#277)
* Update .pre-commit-config.yaml

* ruff: Ignore DOC201

* ruff: ignore A005

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: monosans <hsyqixco@protonmail.com>
2024-08-03 13:34:57 +00:00

73 lines
985 B
TOML

line-length = 80
preview = true
target-version = "py38"
[format]
docstring-code-format = true
line-ending = "lf"
skip-magic-trailing-comma = true
[lint]
ignore = [
"A005",
"ANN401",
"ASYNC109",
"BLE001",
"C901",
"COM812",
"CPY001",
"D100",
"D101",
"D102",
"D103",
"D104",
"D105",
"D106",
"D107",
"D403",
"D415",
"D417",
"DJ008",
"DOC201",
"DOC501",
"FURB180",
"ISC001",
"PLR0904",
"PLR0911",
"PLR0912",
"PLR0913",
"PLR0914",
"PLR0915",
"PLR0916",
"PLR0917",
"PLR1702",
"RUF001",
"RUF002",
"RUF003",
"S110",
"S112",
"S308",
"S311",
"S404",
"SIM105",
"TID252",
"TRY400",
]
select = ["ALL"]
unfixable = ["T"]
[lint.flake8-self]
ignore-names = ["_name_", "_value_"]
[lint.flake8-type-checking]
exempt-modules = []
strict = true
[lint.isort]
combine-as-imports = true
required-imports = ["from __future__ import annotations"]
split-on-trailing-comma = false
[lint.pydocstyle]
convention = "google"