Skip to content

Commit

Permalink
Add mypy to pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
replaceafill committed Aug 14, 2024
1 parent d44098e commit 2f2b714
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,9 @@ repos:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
- id: ruff-format
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.11.1
hooks:
- id: mypy
additional_dependencies:
- types-requests
3 changes: 3 additions & 0 deletions mypy.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[mypy]

disable_error_code = no-redef

0 comments on commit 2f2b714

Please sign in to comment.