Support numpy 2.0.0 #802
Workflow file for this run
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: Lint | |
on: | |
pull_request: | |
paths: | |
- packages/**/*.py | |
- pyproject.toml | |
- poetry.lock | |
- .flake8 | |
- .github/workflows/lint.yml | |
push: | |
branches: [main] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ./.github/actions/python-poetry-install | |
with: | |
poetry-version: '1.4.0' | |
python-version: '3.9' | |
- run: | | |
poetry env use 3.9 | |
poetry install --only lint | |
- run: poetry run isort packages --check --diff | |
if: success() || failure() | |
- run: poetry run black packages --check | |
if: success() || failure() | |
- run: poetry run flake8 packages | |
if: success() || failure() | |
- run: poetry run docformatter -c -r packages | |
if: success() || failure() |