Skip to content

Commit a322e98

Browse files
chore: update mypy lint
1 parent a6f2b99 commit a322e98

File tree

3 files changed

+4
-12
lines changed

3 files changed

+4
-12
lines changed

.github/workflows/lint.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,5 @@ jobs:
2323
- name: Type check
2424
run: mypy .
2525

26-
- name: Run Black
27-
run: black --check .
28-
29-
- name: Run Ruff
30-
run: ruff check
31-
32-
- name: Run pre-commit
26+
- name: Run pre-commit hooks
3327
run: pre-commit run --all-files

.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
@@ -45,6 +45,9 @@ fast = true
4545
[tool.mypy]
4646
strict = true
4747
ignore_missing_imports = true
48+
exclude = [
49+
'^tests/.*'
50+
]
4851

4952
[tool.coverage.run]
5053
omit = [

0 commit comments

Comments
 (0)