mirror of
https://github.com/MaxenceG2M/prometheus-immich-exporter.git
synced 2025-12-08 23:03:22 +00:00
Unit tests (#23)
* Added unit tests and linting tools for development * Added pre-commit config file * Added lint github action * Add tests and coverage comments to PRs * Set coverage options * Fixed yaml * Fixed permissions * Omit tests in coverage report * Run linting only on PRs
This commit is contained in:
@@ -26,3 +26,11 @@ qbittorrent-exporter = "qbittorrent_exporter.exporter:main"
|
||||
[build-system]
|
||||
requires = ["pdm-backend"]
|
||||
build-backend = "pdm.backend"
|
||||
|
||||
[tool.pdm.dev-dependencies]
|
||||
dev = [
|
||||
"pytest>=7.4.3",
|
||||
"isort>=5.12.0",
|
||||
"black>=23.11.0",
|
||||
"coverage>=7.3.2",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user