add 3.12 (#246) #1673
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 🕶️ Style | |
on: | |
push: | |
branches: | |
- "**" | |
pull_request: | |
branches: | |
- main | |
jobs: | |
style-checks: | |
name: Run style checks | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- run: sudo apt-get install -y python3-setuptools | |
- run: pip3 install -e .[style,docs] | |
- run: python3 -m flake8 . | |
name: Run flake8 checks | |
- run: python3 -m pydocstyle . | |
name: Run pydocstyle checks | |
- run: python3 -m mypy . | |
name: Run mypy checks | |
- run: python3 -m isort --check . | |
name: Run isort checks | |
- run: | | |
cd docs | |
make html SPHINXOPTS="-W" | |
name: Test docs build |