Skip to content

Commit 13634ff

Browse files
Use PEP 639 license information for Ruff itself instead of classifier (#19499)
## Summary Declare licenses using only these two fields, as per PEP 639: * `license`: SPDX license expression consisting of one or more license identifiers * `license-files`: list of license file glob patterns Supported by maturin ≥ 1.9.0: https://www.maturin.rs/changelog.html ## Test Plan N/A
1 parent 7a541f5 commit 13634ff

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[build-system]
2-
requires = ["maturin>=1.0,<2.0"]
2+
requires = ["maturin>=1.9,<2.0"]
33
build-backend = "maturin"
44

55
[project]
@@ -9,7 +9,8 @@ description = "An extremely fast Python linter and code formatter, written in Ru
99
authors = [{ name = "Astral Software Inc.", email = "[email protected]" }]
1010
readme = "README.md"
1111
requires-python = ">=3.7"
12-
license = { file = "LICENSE" }
12+
license = "MIT"
13+
license-files = ["LICENSE"]
1314
keywords = [
1415
"automation",
1516
"flake8",
@@ -22,7 +23,6 @@ classifiers = [
2223
"Development Status :: 5 - Production/Stable",
2324
"Environment :: Console",
2425
"Intended Audience :: Developers",
25-
"License :: OSI Approved :: MIT License",
2626
"Operating System :: OS Independent",
2727
"Programming Language :: Python",
2828
"Programming Language :: Python :: 3.7",

0 commit comments

Comments
 (0)