diff options
author | Jon Dufresne <jon.dufresne@gmail.com> | 2021-09-12 16:10:01 -0700 |
---|---|---|
committer | Jon Dufresne <jon.dufresne@gmail.com> | 2021-09-12 20:49:56 -0700 |
commit | 426691dc1471a4d565f4631731a40fb7dea7381f (patch) | |
tree | d7336e87132bf42554dfe41d709ba98d9b5807cc /.pre-commit-config.yaml | |
parent | 57ce346f550e28d7bc2023a2cb1b7d287977f269 (diff) | |
download | pip-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.yaml | 1 |
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', |