Skip to content

Commit

Permalink
.pre-commit-config.yaml: Fix pre-commit config: pytest, mypy & pylint
Browse files Browse the repository at this point in the history
Signed-off-by: Bernhard Kaindl <[email protected]>
  • Loading branch information
bernhardkaindl committed Nov 15, 2024
1 parent 45a9833 commit 0630f1f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 137 deletions.
12 changes: 9 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ repos:
hooks:
- id: mypy
additional_dependencies:
- pyfakefs
- pytest_httpserver
- pytest-subprocess
- types-mock
- types-six
Expand All @@ -94,7 +96,7 @@ repos:


- repo: https://github.com/pycqa/pylint
rev: v2.17.4
rev: v3.3.1
hooks:
- id: pylint
args:
Expand All @@ -106,12 +108,16 @@ repos:
]
log_file: ".git/pre-commit-pylint.log"
additional_dependencies:
- pyfakefs
- setuptools
- six
- mock
- pandas
- pyfakefs
- pytest_forked
- pytest_httpserver
- toml


- repo: local
hooks:
- id: pytype
Expand All @@ -127,7 +133,7 @@ repos:
name: Check pytest unit tests pass
types: [python]
# entry: sh -c "pytest -x -rf --new-first --show-capture=all >/dev/tty"
entry: sh -c "tox -e py38-covcombine >/dev/tty"
entry: sh -c "tox >/dev/tty"
verbose: true
language: python
require_serial: true
Expand Down
134 changes: 0 additions & 134 deletions stubs/pytest_httpserver.pyi

This file was deleted.

0 comments on commit 0630f1f

Please sign in to comment.