Skip to content

Commit f1ac314

Browse files
chore: update mypy
1 parent 47db70d commit f1ac314

3 files changed

Lines changed: 4 additions & 6 deletions

File tree

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
run: pip install -e .[lint]
2222

2323
- name: Type check
24-
run: mypy src
24+
run: mypy .
2525

2626
- name: Run Black
2727
run: black --check .

.pre-commit-config.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,6 @@ repos:
1515
- id: requirements-txt-fixer
1616
- id: trailing-whitespace
1717

18-
- repo: https://github.com/pre-commit/mirrors-mypy
19-
rev: v1.19.1
20-
hooks:
21-
- id: mypy
22-
2318
- repo: https://github.com/psf/black
2419
rev: 25.1.0
2520
hooks:

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ fast = true
5252
[tool.mypy]
5353
strict = true
5454
ignore_missing_imports = true
55+
exclude = [
56+
'^tests/.*'
57+
]
5558

5659
[tool.coverage.run]
5760
omit = [

0 commit comments

Comments
 (0)