Skip to content

Commit 0630f1f

Browse files
.pre-commit-config.yaml: Fix pre-commit config: pytest, mypy & pylint
Signed-off-by: Bernhard Kaindl <[email protected]>
1 parent 45a9833 commit 0630f1f

File tree

2 files changed

+9
-137
lines changed

2 files changed

+9
-137
lines changed

.pre-commit-config.yaml

+9-3
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@ repos:
7575
hooks:
7676
- id: mypy
7777
additional_dependencies:
78+
- pyfakefs
79+
- pytest_httpserver
7880
- pytest-subprocess
7981
- types-mock
8082
- types-six
@@ -94,7 +96,7 @@ repos:
9496

9597

9698
- repo: https://github.com/pycqa/pylint
97-
rev: v2.17.4
99+
rev: v3.3.1
98100
hooks:
99101
- id: pylint
100102
args:
@@ -106,12 +108,16 @@ repos:
106108
]
107109
log_file: ".git/pre-commit-pylint.log"
108110
additional_dependencies:
109-
- pyfakefs
111+
- setuptools
110112
- six
111113
- mock
112114
- pandas
115+
- pyfakefs
113116
- pytest_forked
117+
- pytest_httpserver
114118
- toml
119+
120+
115121
- repo: local
116122
hooks:
117123
- id: pytype
@@ -127,7 +133,7 @@ repos:
127133
name: Check pytest unit tests pass
128134
types: [python]
129135
# entry: sh -c "pytest -x -rf --new-first --show-capture=all >/dev/tty"
130-
entry: sh -c "tox -e py38-covcombine >/dev/tty"
136+
entry: sh -c "tox >/dev/tty"
131137
verbose: true
132138
language: python
133139
require_serial: true

stubs/pytest_httpserver.pyi

-134
This file was deleted.

0 commit comments

Comments
 (0)