* [gentoo-commits] proj/portage:master commit in: .builds/, /
@ 2023-05-26 15:45 Sam James
0 siblings, 0 replies; only message in thread
From: Sam James @ 2023-05-26 15:45 UTC (permalink / raw
To: gentoo-commits
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:
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2023-05-26 15:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-26 15:45 [gentoo-commits] proj/portage:master commit in: .builds/, / Sam James
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox