move all ruff settings in one place
This commit is contained in:
@@ -14,27 +14,6 @@ find = {}
|
||||
|
||||
[tool.setuptools.package-data]
|
||||
test_driver = ["py.typed"]
|
||||
|
||||
[tool.ruff]
|
||||
target-version = "py311"
|
||||
line-length = 88
|
||||
|
||||
lint.select = [
|
||||
"A",
|
||||
"ANN",
|
||||
"B",
|
||||
"C4",
|
||||
"E",
|
||||
"F",
|
||||
"I",
|
||||
"N",
|
||||
"RUF",
|
||||
"TID",
|
||||
"T100",
|
||||
"U",
|
||||
]
|
||||
lint.ignore = ["E501", "ANN101", "ANN401", "A003"]
|
||||
|
||||
[tool.mypy]
|
||||
python_version = "3.11"
|
||||
warn_redundant_casts = true
|
||||
|
||||
@@ -39,22 +39,3 @@ no_implicit_optional = true
|
||||
[[tool.mypy.overrides]]
|
||||
module = "clan_cli.*"
|
||||
ignore_missing_imports = true
|
||||
|
||||
[tool.ruff]
|
||||
target-version = "py312"
|
||||
line-length = 88
|
||||
lint.select = [
|
||||
"A",
|
||||
"ANN",
|
||||
"B",
|
||||
"C4",
|
||||
"E",
|
||||
"F",
|
||||
"I",
|
||||
"N",
|
||||
"RUF",
|
||||
"TID",
|
||||
"T100",
|
||||
"U",
|
||||
]
|
||||
lint.ignore = ["E501", "E402", "N802", "ANN101", "ANN401", "A003"]
|
||||
|
||||
@@ -64,25 +64,3 @@ ignore_missing_imports = true
|
||||
module = "setuptools.*"
|
||||
ignore_missing_imports = true
|
||||
|
||||
[tool.ruff]
|
||||
target-version = "py311"
|
||||
line-length = 88
|
||||
lint.select = [
|
||||
"A",
|
||||
"ANN",
|
||||
"ASYNC",
|
||||
"B",
|
||||
"C4",
|
||||
"DTZ",
|
||||
"E",
|
||||
"EM",
|
||||
"F",
|
||||
"I",
|
||||
"N",
|
||||
"RUF",
|
||||
"T10",
|
||||
"TID",
|
||||
"U",
|
||||
"YTT",
|
||||
]
|
||||
lint.ignore = ["E501", "E402", "E731", "ANN101", "ANN401", "A003"]
|
||||
|
||||
@@ -39,23 +39,3 @@ no_implicit_optional = true
|
||||
[[tool.mypy.overrides]]
|
||||
module = "argcomplete.*"
|
||||
ignore_missing_imports = true
|
||||
|
||||
|
||||
[tool.ruff]
|
||||
target-version = "py311"
|
||||
line-length = 88
|
||||
lint.select = [
|
||||
"A",
|
||||
"ANN",
|
||||
"B",
|
||||
"C4",
|
||||
"E",
|
||||
"F",
|
||||
"I",
|
||||
"N",
|
||||
"RUF",
|
||||
"TID",
|
||||
"T100",
|
||||
"U",
|
||||
]
|
||||
lint.ignore = ["E501", "E402", "N802", "ANN101", "ANN401", "A003"]
|
||||
|
||||
@@ -8,20 +8,24 @@ no_implicit_optional = true
|
||||
exclude = "clan_cli.nixpkgs"
|
||||
|
||||
[tool.ruff]
|
||||
line-length = 88
|
||||
target-version = "py311"
|
||||
line-length = 88
|
||||
lint.select = [
|
||||
"A",
|
||||
"ANN",
|
||||
"ASYNC",
|
||||
"B",
|
||||
"C4",
|
||||
"DTZ",
|
||||
"E",
|
||||
"EM",
|
||||
"F",
|
||||
"I",
|
||||
"N",
|
||||
"RUF",
|
||||
"T10",
|
||||
"TID",
|
||||
"T100",
|
||||
"U",
|
||||
"YTT",
|
||||
]
|
||||
lint.ignore = [ "E501", "ANN101", "ANN401", "A003"]
|
||||
lint.ignore = ["E501", "E402", "E731", "ANN101", "ANN401", "A003"]
|
||||
|
||||
Reference in New Issue
Block a user