Skip to content

Commit

Permalink
🧪 Add pytest-mock to linter envs
Browse files Browse the repository at this point in the history
  • Loading branch information
webknjaz committed Oct 21, 2024
1 parent 1c1b16f commit 5134ea8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ repos:
- hypothesis
- lxml # dep of `--txt-report`, `--cobertura-xml-report` & `--html-report`
- pytest
- pytest-mock
args:
- --python-version=3.13
- --any-exprs-report=.tox/.tmp/.test-results/mypy--py-3.13
Expand All @@ -212,6 +213,7 @@ repos:
- hypothesis
- lxml # dep of `--txt-report`, `--cobertura-xml-report` & `--html-report`
- pytest
- pytest-mock
args:
- --python-version=3.12
- --any-exprs-report=.tox/.tmp/.test-results/mypy--py-3.12
Expand All @@ -229,6 +231,7 @@ repos:
- hypothesis
- lxml # dep of `--txt-report`, `--cobertura-xml-report` & `--html-report`
- pytest
- pytest-mock
args:
- --python-version=3.11
- --any-exprs-report=.tox/.tmp/.test-results/mypy--py-3.11
Expand All @@ -249,6 +252,7 @@ repos:
- hypothesis # needed by pylint-pytest due to pytest-cov loading coverage
- pylint-pytest ~= 2.0.0a0
- pytest-cov # needed by pylint-pytest since it picks up pytest's args
- pytest-mock # needed by pylint-pytest since it picks up pytest's args
- pytest-xdist # needed by pylint-pytest since it picks up pytest's args
- Sphinx # needed by the Sphinx extension stub

Expand Down

0 comments on commit 5134ea8

Please sign in to comment.