Skip to content

Commit 2753c80

Browse files
authored
Merge pull request #67 from negz/rough
Pin to max Python 3.12, move around some ruff config
2 parents 687024f + 15bc3ae commit 2753c80

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

pyproject.toml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,15 @@ build-backend = "hatchling.build"
66
name = "function"
77
description = 'A composition function'
88
readme = "README.md"
9-
requires-python = ">=3.11"
9+
requires-python = ">=3.11,<3.13"
1010
license = "Apache-2.0"
1111
keywords = []
1212
authors = [{ name = "Crossplane Maintainers", email = "[email protected]" }]
1313
classifiers = [
1414
"Development Status :: 4 - Beta",
1515
"Programming Language :: Python",
1616
"Programming Language :: Python :: 3.11",
17+
"Programming Language :: Python :: 3.12",
1718
]
1819

1920
dependencies = [
@@ -66,6 +67,8 @@ unit = "python -m unittest tests/*.py"
6667
[tool.ruff]
6768
target-version = "py311"
6869
exclude = ["function/proto/*"]
70+
71+
[tool.ruff.lint]
6972
select = [
7073
"A",
7174
"ARG",
@@ -101,7 +104,7 @@ ignore = ["ISC001"] # Ruff warns this is incompatible with ruff format.
101104
[tool.ruff.lint.per-file-ignores]
102105
"tests/*" = ["D"] # Don't require docstrings for tests.
103106

104-
[tool.ruff.isort]
107+
[tool.ruff.lint.isort]
105108
known-first-party = ["function"]
106109

107110
[tool.ruff.lint.pydocstyle]

0 commit comments

Comments
 (0)