Skip to content

Commit ccf0288

Browse files
FlavioAmurrioCSEntilZha
authored andcommitted
Make pre-commit run the same checks as workflow
1 parent 2bf51ef commit ccf0288

File tree

1 file changed

+10
-15
lines changed

1 file changed

+10
-15
lines changed

.pre-commit-config.yaml

Lines changed: 10 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -8,24 +8,19 @@ repos:
88
hooks:
99
- id: pylint
1010
name: pylint
11-
entry: pylint functional --rcfile=pylintrc
12-
language: python
13-
additional_dependencies: [pylint, tabulate]
11+
entry: poetry run pylint functional
12+
language: system
1413
pass_filenames: false
15-
- repo: https://github.com/psf/black
16-
rev: 23.12.1
17-
hooks:
1814
- id: black
19-
- repo: https://github.com/pre-commit/mirrors-mypy
20-
rev: v1.10.0
21-
hooks:
15+
name: black
16+
entry: poetry run black functional
17+
language: system
18+
pass_filenames: false
2219
- id: mypy
23-
args:
24-
- --ignore-missing-imports
25-
- --scripts-are-modules
26-
- --show-error-codes
27-
# - --pretty
28-
additional_dependencies: [types-tabulate]
20+
name: mypy
21+
entry: poetry run mypy functional
22+
language: system
23+
pass_filenames: false
2924

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

0 commit comments

Comments
 (0)