Skip to content

Commit 1af168e

Browse files
DaniBodorsjvrijn
authored andcommitted
update deprecated format of ruff settings in pyproject.toml
1 parent 2f33fb9 commit 1af168e

File tree

1 file changed

+1
-30
lines changed

1 file changed

+1
-30
lines changed

{{cookiecutter.directory_name}}/pyproject.toml

Lines changed: 1 addition & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -100,33 +100,8 @@ extras = dev
100100
"""
101101

102102
[tool.ruff]
103-
exclude = [
104-
".bzr",
105-
".direnv",
106-
".eggs",
107-
".git",
108-
".hg",
109-
".mypy_cache",
110-
".nox",
111-
".pants.d",
112-
".ruff_cache",
113-
".svn",
114-
".tox",
115-
".venv",
116-
"__pypackages__",
117-
"_build",
118-
"buck-out",
119-
"build",
120-
"dist",
121-
"node_modules",
122-
"venv",
123-
".venv",
124-
"scripts",
125-
]
126-
127-
target-version = "py39"
128103
line-length = 120
129-
104+
output-format = "concise"
130105

131106
[tool.ruff.lint]
132107
# Enable Pyflakes `E` and `F` codes by default.
@@ -166,13 +141,9 @@ ignore = [
166141
fixable = ["A", "B", "C", "D", "E", "F", "I"]
167142
unfixable = []
168143

169-
per-file-ignores = {}
170-
171-
172144
# Allow unused variables when underscore-prefixed.
173145
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
174146

175-
176147
[tool.ruff.lint.isort]
177148
known-first-party = ["{{ cookiecutter.package_name }}"]
178149
force-single-line = true

0 commit comments

Comments
 (0)