diff --git a/lint-requirements.txt b/lint-requirements.txt index 0943b53e..0a78334f 100644 --- a/lint-requirements.txt +++ b/lint-requirements.txt @@ -1,3 +1,4 @@ black codespell +pre-commit ruff diff --git a/metadata.yaml b/metadata.yaml index 11072498..ba7b1987 100644 --- a/metadata.yaml +++ b/metadata.yaml @@ -9,7 +9,7 @@ description: | summary: | LDAP authentication provider -doc: https//discourse.charmhub.io/t/13946 +doc: https://discourse.charmhub.io/t/13946 containers: glauth: diff --git a/tox.ini b/tox.ini index 6f177262..1d51145d 100644 --- a/tox.ini +++ b/tox.ini @@ -58,6 +58,9 @@ commands = ruff {[vars]all_path} black --check --diff {[vars]all_path} + pre-commit install + pre-commit autoupdate + [testenv:unit] description = Run unit tests deps =