Skip to content

Commit b6ab612

Browse files
authored
Create ruff.toml
1 parent faa5424 commit b6ab612

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

ruff.toml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
[tool.ruff]
2+
line-length = 120
3+
exclude = [
4+
".git",
5+
"__pycache__",
6+
"venv",
7+
".venv",
8+
"build",
9+
"dist"
10+
]
11+
12+
[tool.ruff.lint]
13+
select = [
14+
"E", # pycodestyle errors
15+
"F", # pyflakes
16+
"B", # flake8-bugbear
17+
"I", # isort
18+
"C90" # mccabe complexity
19+
]

0 commit comments

Comments
 (0)