Skip to content

Commit 154add5

Browse files
committed
add optionss for ruff
Signed-off-by: Sylvain Hellegouarch <sh@defuze.org>
1 parent 9b272b6 commit 154add5

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

pyproject.toml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,20 @@ color = true
5858
line-length = 80
5959
target-version = ['py310']
6060

61-
[tool.mypy]
62-
namespace_packages = true
61+
[tool.ruff]
62+
line-length = 80
63+
exclude = [
64+
".eggs",
65+
".git",
66+
".mypy_cache",
67+
".pytest_cache",
68+
".ruff_cache",
69+
".venv",
70+
".vscode",
71+
"__pypackages__",
72+
"build",
73+
"dist",
74+
]
6375

6476
[tool.isort]
6577
line_length = 80

0 commit comments

Comments
 (0)