summaryrefslogtreecommitdiff
path: root/.pre-commit-config.yaml
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2021-09-12 16:10:01 -0700
committerJon Dufresne <jon.dufresne@gmail.com>2021-09-12 20:49:56 -0700
commit426691dc1471a4d565f4631731a40fb7dea7381f (patch)
treed7336e87132bf42554dfe41d709ba98d9b5807cc /.pre-commit-config.yaml
parent57ce346f550e28d7bc2023a2cb1b7d287977f269 (diff)
downloadpip-426691dc1471a4d565f4631731a40fb7dea7381f.tar.gz
Install pytest in mypy environment
pytest includes type annotations and is PEP-561 compliant. This helps ensure correct pytest API usage. This caught a misuse of pytest.mark.skipif which did not include a boolean argument. The test is now marked "network" and no longer skipped.
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r--.pre-commit-config.yaml1
1 files changed, 1 insertions, 0 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index b68022f94..a2a147be0 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -47,6 +47,7 @@ repos:
additional_dependencies: [
'keyring==23.0.1',
'nox==2021.6.12',
+ 'pytest==6.2.5',
'types-docutils==0.1.8',
'types-setuptools==57.0.2',
'types-six==0.1.9',