Skip to content

Commit

Permalink
Merge pull request #22 from Mews/add-precommit-hooks
Browse files Browse the repository at this point in the history
Add mypy and pytest to pre-commit
  • Loading branch information
indrajithi authored Jun 16, 2024
2 parents c813f93 + c199042 commit 52c72e1
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,11 @@ repos:
name: Run pytest
entry: poetry run pytest
language: system
types: [python]
stages: [push]
pass_filenames: false
always_run: true
stages: [commit]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: 'v1.10.0'
hooks:
- id: mypy
args: [--install-types, --non-interactive]

0 comments on commit 52c72e1

Please sign in to comment.