File tree Expand file tree Collapse file tree 4 files changed +27
-0
lines changed
Expand file tree Collapse file tree 4 files changed +27
-0
lines changed Original file line number Diff line number Diff line change 3232 python-version : ${{ matrix.python-version }}
3333 allow-prereleases : true
3434
35+ - uses : tj-actions/changed-files@v36
36+ -
uses :
pre-commit/[email protected] 37+ with :
38+ extra_args : --files ${{ steps.changed-files.outputs.all_changed_files }}
39+
3540 - name : Install Dependencies
3641 run : |
3742 python3 -m pip install --upgrade pip
Original file line number Diff line number Diff line change 1+ repos :
2+ - repo : https://github.com/pre-commit/pre-commit-hooks
3+ rev : v4.4.0
4+ hooks :
5+ - id : check-toml
6+ - id : check-yaml
7+ - id : end-of-file-fixer
8+ - id : mixed-line-ending
9+ args :
10+ - --fix=lf
11+ - id : requirements-txt-fixer
12+ - id : trailing-whitespace
13+
14+ - repo : https://github.com/MarcoGorelli/cython-lint
15+ rev : v0.15.0
16+ hooks :
17+ - id : cython-lint
18+ args :
19+ - --max-line-length=85
20+ - id : double-quote-cython-strings
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ cythonize:
99
1010dev :
1111 pip install -r requirements-dev.txt
12+ pre-commit install --install-hooks
1213
1314sdist :
1415 python -m build --sdist
Original file line number Diff line number Diff line change 11-e .
22cython == 0.29.36
33numpy == 1.26.0
4+ pre-commit == 3.4.0
45pytest == 7.4.0
56pytest-cov == 4.1.0
You can’t perform that action at this time.
0 commit comments