File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # See https://pre-commit.com for more information
2+ # See https://pre-commit.com/hooks.html for more hooks
3+ repos :
4+ - repo : https://github.com/pre-commit/pre-commit-hooks
5+ rev : v3.2.0
6+ hooks :
7+ - id : check-added-large-files
8+ - id : check-ast
9+ - id : check-merge-conflict
10+ - id : check-yaml
11+ - id : detect-private-key
12+ - id : end-of-file-fixer
13+ - id : trailing-whitespace
14+
15+ - repo : https://github.com/asottile/reorder_python_imports
16+ rev : v3.9.0
17+ hooks :
18+ - id : reorder-python-imports
19+
20+ - repo : https://github.com/psf/black
21+ rev : 22.10.0
22+ hooks :
23+ - id : black
24+ language_version : python3.10
25+
26+ - repo : https://github.com/python-poetry/poetry
27+ rev : 1.6.1
28+ hooks :
29+ - id : poetry-check
30+ # - id: poetry-lock
31+ - id : poetry-export
32+ # - id: poetry-install
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ poetry:
1818install :
1919 poetry install
2020 poetry run python scripts/download-tools.py
21+ poetry run pre-commit install
2122
2223export :
2324 poetry export -f requirements.txt --output requirements.txt
You can’t perform that action at this time.
0 commit comments