forked from emrgnt-cmplxty/automata
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
38 lines (38 loc) · 1.21 KB
/
.pre-commit-config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
repos:
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.1.1 # Replace with the desired version of mypy
hooks:
- id: mypy
additional_dependencies: [types-requests, types-attrs]
- repo: https://github.com/google/yapf
rev: v0.31.0
hooks:
- id: yapf
args: [--style, google]
- repo: https://github.com/psf/black
rev: 23.1.0 # Replace with the desired version of black
hooks:
- id: black
language_version: python3.10 # Replace with your Python version
- repo: https://github.com/pycqa/flake8
rev: 6.0.0 # Replace with the desired version of flake8
hooks:
- id: flake8
- repo: https://github.com/pycqa/isort
rev: 5.12.0 # Replace with the desired version of isort
hooks:
- id: isort
language_version: python3.10 # Replace with your Python version
- repo: local
hooks:
- id: pytest
name: pytest
entry: poetry run pytest
language: system
types: [python]
pass_filenames: false
- id: config_validation
name: Config Validation
entry: poetry run python -m automata.cli.scripts.run_agent_config_validation
language: system
types: [python]