1
0
Fork 0
mirror of https://github.com/qurator-spk/modstool.git synced 2025-06-26 03:59:55 +02:00

⚙ Add pre-commit config + docs

This commit is contained in:
Mike Gerber 2025-06-13 18:15:42 +02:00
parent 76b36cb0ca
commit 62a02ff7e4
4 changed files with 85 additions and 0 deletions

View file

@ -44,3 +44,42 @@ optional-dependencies.dev = {file = ["requirements-dev.txt"]}
[tool.setuptools.packages.find]
where = ["src"]
[tool.ruff.lint]
select = ["E", "F", "I"]
[tool.liccheck]
authorized_licenses = [
"bsd",
"new bsd",
"bsd license",
"new bsd license",
"simplified bsd",
"apache",
"apache 2.0",
"apache software license",
"apache software",
"apache license 2.0",
"gnu lgpl",
"lgpl with exceptions or zpl",
"GNU Library or Lesser General Public License (LGPL)",
"GNU Lesser General Public License v3 (LGPLv3)",
"GNU Lesser General Public License v2 or later (LGPLv2+)",
"mit",
"mit license",
"mit-cmu",
"python software foundation",
"psf",
"psf-2.0",
"Historical Permission Notice and Disclaimer (HPND)",
"public domain",
'The Unlicense (Unlicense)',
"isc",
"ISC License (ISCL)",
'Mozilla Public License 2.0 (MPL 2.0)',
]
unauthorized_licenses = [
"gpl v3",
]