Skip to content

Commit a109084

Browse files
committed
Add ruff sections to pyproject.toml of cookiecutter template
1 parent d83c794 commit a109084

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

project-template/{{cookiecutter.repo_name}}/pyproject.toml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,19 @@ module = [
6262
]
6363
ignore_errors = true
6464

65+
[tool.ruff]
66+
exclude = []
67+
68+
[tool.ruff.lint]
69+
extend-ignore = [
70+
"E", # Syntax errors
71+
"F", # Pyflakes rules (excluding F401)
72+
"UP", # pyupgrade rules
73+
"D", # Docstring rules
74+
]
75+
extend-select = ["F401"]
76+
unfixable = []
77+
6578
[tool.sonar]
6679
projectKey = "com.exasol:{{cookiecutter.repo_name}}"
6780
hostUrl = "https://sonarcloud.io"

0 commit comments

Comments
 (0)