Skip to content

Commit a2a7716

Browse files
committed
Fix up missing black and ruff config
1 parent e72f29a commit a2a7716

File tree

2 files changed

+3
-21
lines changed

2 files changed

+3
-21
lines changed

pyproject.toml

Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,9 @@
11
[tool.ruff]
2-
# Match Black's style
32
line-length = 88
4-
target-version = "py312" # adjust to your minimum supported Python version
3+
target-version = "py312"
54

6-
# Match Flake8/hacking exclude patterns
7-
exclude = [
8-
".venv",
9-
".git",
10-
".tox",
11-
"dist",
12-
"doc",
13-
"build",
14-
"*egg",
15-
"*lib/python*"
16-
]
17-
18-
# For OpenStack/_-based i18n
19-
builtins = ["_"]
20-
21-
# Optional: format with Ruff (in place of Black)
225
[tool.ruff.format]
23-
quote-style = "double"
24-
indent-style = "space"
25-
line-ending = "auto"
6+
line-ending = "lf"
267

278
[tool.ruff.lint]
289
select = [

test-requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ codespell
55
types-PyYAML
66
types-setuptools
77
mypy
8+
black~=25.1.0

0 commit comments

Comments
 (0)