Skip to content

Commit

Permalink
Make pre-commit run the same checks as workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
FlavioAmurrioCS authored and EntilZha committed Jun 18, 2024
1 parent 2bf51ef commit ccf0288
Showing 1 changed file with 10 additions and 15 deletions.
25 changes: 10 additions & 15 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,24 +8,19 @@ repos:
hooks:
- id: pylint
name: pylint
entry: pylint functional --rcfile=pylintrc
language: python
additional_dependencies: [pylint, tabulate]
entry: poetry run pylint functional
language: system
pass_filenames: false
- repo: https://github.com/psf/black
rev: 23.12.1
hooks:
- id: black
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.10.0
hooks:
name: black
entry: poetry run black functional
language: system
pass_filenames: false
- id: mypy
args:
- --ignore-missing-imports
- --scripts-are-modules
- --show-error-codes
# - --pretty
additional_dependencies: [types-tabulate]
name: mypy
entry: poetry run mypy functional
language: system
pass_filenames: false

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.4.2
Expand Down

0 comments on commit ccf0288

Please sign in to comment.