File tree Expand file tree Collapse file tree 4 files changed +65
-1
lines changed
Expand file tree Collapse file tree 4 files changed +65
-1
lines changed Original file line number Diff line number Diff line change 1+ repos :
2+ - repo : https://github.com/pycqa/isort
3+ rev : 5.13.2
4+ hooks :
5+ - id : isort
6+
7+ - repo : https://github.com/psf/black-pre-commit-mirror
8+ rev : 24.4.2
9+ hooks :
10+ - id : black
11+
12+ - repo : https://github.com/pre-commit/pre-commit-hooks
13+ rev : v4.6.0
14+ hooks :
15+ - id : check-case-conflict
16+ - id : check-merge-conflict
17+ - id : check-yaml
18+ - id : end-of-file-fixer
19+ - id : trailing-whitespace
20+
21+ - repo : https://github.com/astral-sh/ruff-pre-commit
22+ rev : v0.4.4
23+ hooks :
24+ - id : ruff
25+ - id : ruff-format
26+ args : ["--check"]
27+
28+ - repo : local
29+ hooks :
30+ - id : pytest
31+ name : Run pytest
32+ entry : make test
33+ language : system
34+ pass_filenames : false
35+ always_run : true
36+
37+ ci :
38+ skip : [pytest]
Original file line number Diff line number Diff line change @@ -21,3 +21,7 @@ all: download transform
2121
2222test :
2323 PYTHONPATH=" src" pytest
24+
25+ pre-commit :
26+ pre-commit install
27+ pre-commit run --all-files
Original file line number Diff line number Diff line change 22black
33isort
44pytest
5+ pre-commit
56
67requests
78pydantic
Original file line number Diff line number Diff line change @@ -10,12 +10,20 @@ black==22.3.0
1010 # via -r requirements.in
1111certifi == 2021.10.8
1212 # via requests
13+ cfgv == 3.4.0
14+ # via pre-commit
1315charset-normalizer == 2.0.12
1416 # via requests
1517click == 8.1.3
1618 # via black
19+ distlib == 0.3.8
20+ # via virtualenv
1721fancycompleter == 0.9.1
1822 # via pdbpp
23+ filelock == 3.14.0
24+ # via virtualenv
25+ identify == 2.5.36
26+ # via pre-commit
1927idna == 3.3
2028 # via requests
2129iniconfig == 1.1.1
@@ -24,16 +32,22 @@ isort==5.10.1
2432 # via -r requirements.in
2533mypy-extensions == 0.4.3
2634 # via black
35+ nodeenv == 1.8.0
36+ # via pre-commit
2737packaging == 21.3
2838 # via pytest
2939pathspec == 0.9.0
3040 # via black
3141pdbpp == 0.10.3
3242 # via -r requirements.in
3343platformdirs == 2.5.2
34- # via black
44+ # via
45+ # black
46+ # virtualenv
3547pluggy == 1.0.0
3648 # via pytest
49+ pre-commit == 3.7.1
50+ # via -r requirements.in
3751py == 1.11.0
3852 # via pytest
3953pydantic == 1.9.0
@@ -48,6 +62,8 @@ pytest==7.1.2
4862 # via -r requirements.in
4963python-slugify == 6.1.2
5064 # via -r requirements.in
65+ pyyaml == 6.0.1
66+ # via pre-commit
5167requests == 2.27.1
5268 # via -r requirements.in
5369text-unidecode == 1.3
@@ -60,5 +76,10 @@ typing-extensions==4.2.0
6076 # via pydantic
6177urllib3 == 1.26.9
6278 # via requests
79+ virtualenv == 20.21.1
80+ # via pre-commit
6381wmctrl == 0.4
6482 # via pdbpp
83+
84+ # The following packages are considered to be unsafe in a requirements file:
85+ # setuptools
You can’t perform that action at this time.
0 commit comments