File tree Expand file tree Collapse file tree 2 files changed +29
-2
lines changed
Expand file tree Collapse file tree 2 files changed +29
-2
lines changed Original file line number Diff line number Diff line change @@ -21,10 +21,24 @@ jobs:
2121 with :
2222 python-version : " 3.12" # Specify the Python version
2323
24- - name : Install dependencies
24+ # Install pre-commit
25+ - name : Install pre-commit
2526 run : |
2627 python -m pip install --upgrade pip
27- pip install -r requirements.txt # Install your project's dependencies
28+ pip install pre-commit
29+
30+ # Install dependencies
31+ - name : Install dependencies
32+ run : |
33+ pip install -r requirements.txt
34+
35+ # Install pre-commit hooks
36+ - name : Install pre-commit hooks
37+ run : pre-commit install
38+
39+ # Run pre-commit hooks
40+ - name : Run pre-commit hooks
41+ run : pre-commit run --all-files # This runs all the hooks on all files
2842
2943 - name : Run tests
3044 run : |
Original file line number Diff line number Diff line change 1+ black == 25.1.0
2+ cfgv == 3.4.0
3+ click == 8.1.8
14contourpy == 1.3.2
25cycler == 0.12.1
6+ distlib == 0.3.9
7+ filelock == 3.18.0
38fonttools == 4.57.0
9+ identify == 2.6.10
410iniconfig == 2.1.0
511kiwisolver == 1.4.8
612matplotlib == 3.10.1
13+ mypy_extensions == 1.1.0
14+ nodeenv == 1.9.1
715numpy == 2.2.5
816packaging == 25.0
17+ pathspec == 0.12.1
918pillow == 11.2.1
19+ platformdirs == 4.3.7
1020pluggy == 1.5.0
21+ pre_commit == 4.2.0
1122pyparsing == 3.2.3
1223pytest == 8.3.5
1324python-dateutil == 2.9.0.post0
25+ PyYAML == 6.0.2
1426six == 1.17.0
27+ virtualenv == 20.30.0
You can’t perform that action at this time.
0 commit comments