Skip to content

Commit c389db5

Browse files
committed
Add pep8-naming rule to ruff
Ignore the `gui.py` file for now. There's lots of pep8-naming rules being thrown for this, and some of them could result in API changes. Too much to tackle at the moment.
1 parent af0f34e commit c389db5

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

pyproject.toml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,24 @@ target-version = ["py38", "py39", "py310", "py311"]
5050

5151
[tool.ruff]
5252
target-version = "py38"
53-
select = ["F", "E", "W", "C90", "I", "UP", "YTT", "B", "A", "C4", "T10", "RUF"]
53+
select = [
54+
"F",
55+
"E",
56+
"W",
57+
"C90",
58+
"I",
59+
"N",
60+
"UP",
61+
"YTT",
62+
"B",
63+
"A",
64+
"C4",
65+
"T10",
66+
"RUF",
67+
]
68+
69+
[tool.ruff.per-file-ignores]
70+
"viscm/gui.py" = ["N8"]
5471

5572
[tool.ruff.mccabe]
5673
max-complexity = 11

0 commit comments

Comments
 (0)