Skip to content

Commit

Permalink
repo: Explicitly set [project].requires-python in pyproject.toml
Browse files Browse the repository at this point in the history
- This will ensure Ruff to treat the source files to use the specified
  range of Python versions.
  • Loading branch information
achimnol committed Dec 29, 2023
1 parent 75ac9e3 commit c9f6080
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
requires = ["setuptools>=45", "setuptools_scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"

[project]
requires-python = ">=3.11"

[tool.setuptools_scm]
version_scheme = "release-branch-semver"

Expand Down

0 comments on commit c9f6080

Please sign in to comment.