sync up linter rules in all files

This commit is contained in:
Jörg Thalheim
2024-09-02 13:40:15 +02:00
parent 4632e5d0d9
commit d5440594be
4 changed files with 56 additions and 4 deletions

View File

@@ -19,7 +19,20 @@ test_driver = ["py.typed"]
target-version = "py311"
line-length = 88
lint.select = [ "E", "F", "I", "U", "N", "RUF", "ANN", "A" ]
lint.select = [
"A",
"ANN",
"B",
"C4",
"E",
"F",
"I",
"N",
"RUF",
"TID",
"T100",
"U",
]
lint.ignore = ["E501", "ANN101", "ANN401", "A003"]
[tool.mypy]

View File

@@ -43,5 +43,18 @@ ignore_missing_imports = true
[tool.ruff]
target-version = "py312"
line-length = 88
lint.select = ["E", "F", "I", "U", "N", "RUF", "ANN", "A"]
lint.select = [
"A",
"ANN",
"B",
"C4",
"E",
"F",
"I",
"N",
"RUF",
"TID",
"T100",
"U",
]
lint.ignore = ["E501", "E402", "N802", "ANN101", "ANN401", "A003"]

View File

@@ -44,5 +44,18 @@ ignore_missing_imports = true
[tool.ruff]
target-version = "py311"
line-length = 88
lint.select = [ "E", "F", "I", "U", "N", "RUF", "ANN", "A" ]
lint.select = [
"A",
"ANN",
"B",
"C4",
"E",
"F",
"I",
"N",
"RUF",
"TID",
"T100",
"U",
]
lint.ignore = ["E501", "E402", "N802", "ANN101", "ANN401", "A003"]

View File

@@ -10,5 +10,18 @@ exclude = "clan_cli.nixpkgs"
[tool.ruff]
line-length = 88
target-version = "py311"
lint.select = [ "E", "F", "I", "U", "N", "RUF", "ANN", "A" ]
lint.select = [
"A",
"ANN",
"B",
"C4",
"E",
"F",
"I",
"N",
"RUF",
"TID",
"T100",
"U",
]
lint.ignore = [ "E501", "ANN101", "ANN401", "A003"]