fix(check): SPDX license string; E501 off in tests (device-types pilot)

The pilot's build warned that setuptools refuses a license table and
License classifiers from 2027-02-18 (PEP 639); check now reports both and
the template builds with setuptools>=77. Recorded device output in tests
keeps its lines, so the template turns E501 off under tests/.
This commit is contained in:
christianmanivong committed 2026-10-22 19:08:06 +02:00
1 parent db6b2e4ea7
commit 0b21f62553
7 files changed
+45 -8

No files matched your search

+5 -1
View File
@@ -1,5 +1,5 @@
[build-system]
requires = ["setuptools>=68"]
requires = ["setuptools>=77"]
build-backend = "setuptools.build_meta"
[project]
@@ -43,6 +43,10 @@ target-version = "py310"
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B"]
[tool.ruff.lint.per-file-ignores]
# Recorded device output keeps its lines.
"tests/**" = ["E501"]
[tool.mypy]
python_version = "3.10"
strict = true