Skip to content

Commit 1e14c62

Browse files
committed
Run mypy with both possible setups
1 parent 0ad4e5b commit 1e14c62

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

.pre-commit-config.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,6 @@ repos:
66
args: [--markdown-linebreak-ext=md]
77
- id: end-of-file-fixer
88
- id: debug-statements
9-
- repo: https://github.com/pre-commit/mirrors-mypy
10-
rev: 'v1.15.0'
11-
hooks:
12-
- id: mypy
139
- repo: https://github.com/astral-sh/ruff-pre-commit
1410
rev: 'v0.11.9'
1511
hooks:

tox.ini

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py,py-images
2+
envlist = py,py-images,mypy,mypy-images
33
skip_missing_interpreters = True
44

55
[testenv]
@@ -9,3 +9,10 @@ deps =
99
images: Pillow
1010
commands = pytest --cov barcode
1111
usedevelop = True
12+
13+
[testenv:mypy]
14+
deps =
15+
mypy
16+
images: Pillow
17+
commands = mypy .
18+
usedevelop = True

0 commit comments

Comments
 (0)