Skip to content

Commit 153db09

Browse files
committed
Remove [project] table from pyproject.toml
We currently use pyproject.toml only for configuring external tools, not for our own project metadata. Newer setuptools versions didn't like a [project] table with incomplete information and thus the version was lowered earlier.
1 parent bfd2a03 commit 153db09

File tree

2 files changed

+4
-10
lines changed

2 files changed

+4
-10
lines changed

pyproject.toml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,10 @@
1-
[project]
2-
requires-python = ">=3.8"
3-
41
[tool.black]
52
line_length = 88
6-
extend-exclude = "atest/result/"
3+
# When we add [project] with requires-python, remove this and Ruff's target-version
4+
target-version = ["py38", "py39", "py310", "py311", "py312", "py313"]
75

86
[tool.ruff]
9-
extend-exclude = ["atest/result/"]
10-
11-
[tool.ruff.format]
12-
quote-style = "double"
7+
target-version = "py38"
138

149
[tool.ruff.lint]
1510
extend-select = ["I"] # imports
@@ -33,7 +28,6 @@ order-by-type = false
3328
# https://pycqa.github.io/isort/docs/configuration/multi_line_output_modes.html
3429
multi_line_output = 5
3530
extend_skip = ["__init__.py", "src/robot/api/parsing.py"]
36-
skip_glob = ["atest/result/*"]
3731
combine_as_imports = true
3832
order_by_type = false
3933
line_length = 88

requirements-dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# See BUILD.rst for details about the latter
33
invoke >= 0.20
44
rellu >= 0.7
5-
setuptools == 67.8.0
5+
setuptools > 75
66
twine > 6
77
wheel
88
docutils

0 commit comments

Comments
 (0)