mirror of
https://github.com/astral-sh/ruff
synced 2026-01-10 16:15:19 -05:00
Standardise ruff config (#15558)
This commit is contained in:
@@ -449,7 +449,7 @@ async def main(
|
||||
|
||||
if matches is None:
|
||||
# Handle case where there are no regex matches e.g.
|
||||
# + "?application=AIRFLOW&authenticator=TEST_AUTH&role=TEST_ROLE&warehouse=TEST_WAREHOUSE" # noqa: E501
|
||||
# + "?application=AIRFLOW&authenticator=TEST_AUTH&role=TEST_ROLE&warehouse=TEST_WAREHOUSE"
|
||||
# Which was found in local testing
|
||||
continue
|
||||
|
||||
|
||||
@@ -8,29 +8,4 @@ requires-python = ">=3.11"
|
||||
line-length = 88
|
||||
|
||||
[tool.ruff]
|
||||
line-length = 88
|
||||
|
||||
[tool.ruff.lint]
|
||||
select = [
|
||||
"E", # pycodestyle (error)
|
||||
"F", # pyflakes
|
||||
"B", # bugbear
|
||||
"B9",
|
||||
"C4", # flake8-comprehensions
|
||||
"SIM", # flake8-simplify
|
||||
"I", # isort
|
||||
"UP", # pyupgrade
|
||||
"PIE", # flake8-pie
|
||||
"PGH", # pygrep-hooks
|
||||
"PYI", # flake8-pyi
|
||||
"RUF",
|
||||
]
|
||||
|
||||
ignore = [
|
||||
# only relevant if you run a script with `python -0`,
|
||||
# which seems unlikely for any of the scripts in this directory
|
||||
"B011"
|
||||
]
|
||||
|
||||
[tool.ruff.lint.isort]
|
||||
required-imports = ["from __future__ import annotations"]
|
||||
extend = "../pyproject.toml"
|
||||
|
||||
Reference in New Issue
Block a user