File tree Expand file tree Collapse file tree 5 files changed +10
-1
lines changed
Expand file tree Collapse file tree 5 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 6868 with :
6969 configuration : --check-only
7070
71+ - name : Validate pyproject.toml
72+ run : python -m validate_pyproject pyproject.toml
73+
7174 conda-dev-test :
7275 name : Conda Setup & Code Coverage
7376 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 2121 rev : 22.3.0
2222 hooks :
2323 - id : black
24+ - repo : https://github.com/abravalheri/validate-pyproject
25+ rev : v0.10.1
26+ hooks :
27+ - id : validate-pyproject
Original file line number Diff line number Diff line change @@ -6,3 +6,4 @@ cd "$dir/.."
66black src tests
77isort src tests
88python -m flake8 src tests
9+ validate-pyproject pyproject.toml
Original file line number Diff line number Diff line change @@ -32,5 +32,5 @@ dependencies:
3232 # Project from source
3333 - pip
3434 - pip :
35+ - validate-pyproject[all]
3536 - -e .
36-
Original file line number Diff line number Diff line change @@ -50,6 +50,7 @@ dev = [
5050 " numpy" ,
5151 " pandas" ,
5252 " toml" ,
53+ " validate-pyproject[all]" ,
5354]
5455
5556[project .urls ]
You can’t perform that action at this time.
0 commit comments