commit: 54a8e14ddc8b79720bc37cc1bb98836361966976 Author: David Palao <david.palao <AT> gmail <DOT> com> AuthorDate: Fri May 26 13:37:14 2023 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Fri May 26 15:44:38 2023 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=54a8e14d
tests: pre-commit: add pytest dep to pylint Signed-off-by: David Palao <david.palao <AT> gmail.com> Closes: https://github.com/gentoo/portage/pull/1047 Signed-off-by: Sam James <sam <AT> gentoo.org> .builds/lint.yml | 2 +- .pre-commit-config.yaml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.builds/lint.yml b/.builds/lint.yml index 7d17f539e..2301c87be 100644 --- a/.builds/lint.yml +++ b/.builds/lint.yml @@ -24,7 +24,7 @@ tasks: - setup-pylint: | for py in "${PYTHON_VERSIONS[@]}"; do source ".venv-$py/bin/activate" - pip install pylint + pip install pylint pytest deactivate done diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2d3ce16f4..e59f5e312 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -8,6 +8,8 @@ repos: rev: v2.15.10 hooks: - id: pylint + additional_dependencies: + - 'pytest' - repo: https://github.com/ikamensh/flynt/ rev: '0.77' hooks:
