File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,6 +9,15 @@ concurrency:
99 group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
1010 cancel-in-progress : true
1111jobs :
12+ pre-commit :
13+ runs-on : ubuntu-latest
14+ steps :
15+ - uses : actions/checkout@v4
16+ - uses : actions/setup-python@v5
17+ with :
18+ python-version : 3.x
19+ - uses : pre-commit/action@v3.0.1
20+
1221 build-test :
1322 runs-on : ${{ matrix.os }}
1423 strategy :
1726 python-version : ['3.8', 'pypy3.10', '3.12']
1827 os : [ubuntu-latest, windows-latest]
1928 fail-fast : false
20-
2129 steps :
2230 - name : Checkout
2331 uses : actions/checkout@v4
Original file line number Diff line number Diff line change 1+ # Learn more about this config here: https://pre-commit.com/
2+
3+ # To enable these pre-commit hooks run:
4+ # `pipx install pre-commit` or `brew install pre-commit`
5+ # Then in the project root directory run `pre-commit install`
6+
7+ repos :
8+ - repo : https://github.com/codespell-project/codespell
9+ rev : v2.4.1
10+ hooks :
11+ - id : codespell
12+ args :
13+ - --ignore-words-list=alse,ons
14+ additional_dependencies :
15+ - tomli
16+
17+ - repo : https://github.com/tox-dev/pyproject-fmt
18+ rev : v2.5.1
19+ hooks :
20+ - id : pyproject-fmt
21+
22+ - repo : https://github.com/abravalheri/validate-pyproject
23+ rev : v0.23
24+ hooks :
25+ - id : validate-pyproject
Original file line number Diff line number Diff line change 11[build-system ]
22build-backend = " setuptools.build_meta:__legacy__"
33requires = [
4- " setuptools" ,
5- " wheel" ,
4+ " setuptools" ,
5+ " wheel" ,
66]
You can’t perform that action at this time.
0 commit comments