File tree 3 files changed +59
-1
lines changed
3 files changed +59
-1
lines changed Original file line number Diff line number Diff line change
1
+ # Quick Start:
2
+ #
3
+ # pip install pre-commit
4
+ # pre-commit install && pre-commit install -t pre-push
5
+ # pre-commit run --all-files
6
+ #
7
+ # To Skip Checks:
8
+ #
9
+ # git commit --no-verify
10
+ fail_fast : false
11
+
12
+ default_language_version :
13
+ python : python3.11.2
14
+
15
+ repos :
16
+ # Black
17
+ - repo : https://github.com/psf/black
18
+ rev : 23.1.0
19
+ hooks :
20
+ - id : black
21
+
22
+ # Ruff
23
+ - repo : https://github.com/charliermarsh/ruff-pre-commit
24
+ rev : " v0.0.259"
25
+ hooks :
26
+ - id : ruff
27
+
28
+ # Pytest
29
+ - repo : local
30
+ hooks :
31
+ - id : tests
32
+ name : run tests
33
+ entry : pytest -v
34
+ language : system
35
+ types : [python]
36
+ stages : [push]
Original file line number Diff line number Diff line change 6
6
factory-boy
7
7
faker
8
8
ipython
9
+ pre-commit
9
10
pytest
10
11
ruff
11
12
vulture
Original file line number Diff line number Diff line change @@ -18,6 +18,8 @@ backcall==0.2.0
18
18
# via ipython
19
19
black == 23.1.0
20
20
# via -r requirements-dev.in
21
+ cfgv == 3.3.1
22
+ # via pre-commit
21
23
click == 8.1.3
22
24
# via
23
25
# -r requirements-dev.in
@@ -28,6 +30,8 @@ decorator==5.1.1
28
30
# via ipython
29
31
devtools == 0.10.0
30
32
# via -r requirements-dev.in
33
+ distlib == 0.3.6
34
+ # via virtualenv
31
35
executing == 1.2.0
32
36
# via
33
37
# devtools
@@ -38,6 +42,10 @@ faker==18.3.1
38
42
# via
39
43
# -r requirements-dev.in
40
44
# factory-boy
45
+ filelock == 3.10.4
46
+ # via virtualenv
47
+ identify == 2.5.22
48
+ # via pre-commit
41
49
iniconfig == 2.0.0
42
50
# via pytest
43
51
ipython == 8.11.0
@@ -48,6 +56,8 @@ matplotlib-inline==0.1.6
48
56
# via ipython
49
57
mypy-extensions == 1.0.0
50
58
# via black
59
+ nodeenv == 1.7.0
60
+ # via pre-commit
51
61
packaging == 23.0
52
62
# via
53
63
# black
@@ -61,9 +71,13 @@ pexpect==4.8.0
61
71
pickleshare == 0.7.5
62
72
# via ipython
63
73
platformdirs == 3.1.1
64
- # via black
74
+ # via
75
+ # black
76
+ # virtualenv
65
77
pluggy == 1.0.0
66
78
# via pytest
79
+ pre-commit == 3.2.0
80
+ # via -r requirements-dev.in
67
81
prompt-toolkit == 3.0.38
68
82
# via ipython
69
83
ptyprocess == 0.7.0
@@ -76,6 +90,8 @@ pytest==7.2.2
76
90
# via -r requirements-dev.in
77
91
python-dateutil == 2.8.2
78
92
# via faker
93
+ pyyaml == 6.0
94
+ # via pre-commit
79
95
ruff == 0.0.259
80
96
# via -r requirements-dev.in
81
97
six == 1.16.0
@@ -90,7 +106,12 @@ traitlets==5.9.0
90
106
# via
91
107
# ipython
92
108
# matplotlib-inline
109
+ virtualenv == 20.21.0
110
+ # via pre-commit
93
111
vulture == 2.7
94
112
# via -r requirements-dev.in
95
113
wcwidth == 0.2.6
96
114
# via prompt-toolkit
115
+
116
+ # The following packages are considered to be unsafe in a requirements file:
117
+ # setuptools
You can’t perform that action at this time.
0 commit comments