feat: add linting CI job

This commit is contained in:
Marvin Gaube 2023-11-25 17:36:10 +01:00
parent 9d3aa8416b
commit d7d4500bf5
2 changed files with 25 additions and 0 deletions

View file

@ -38,3 +38,13 @@ paperless-asn-qr-codes = "paperless_asn_qr_codes.main:main"
[tool.hatch.version]
source = "vcs"
[tool.hatch.envs.ci]
dependencies = [
"pylint",
"ruff",
]
[tool.hatch.envs.ci.scripts]
check = "ruff check paperless_asn_qr_codes"
lint = "pylint paperless_asn_qr_codes"