Skip to content

Support numpy 2.0.0 #802

Support numpy 2.0.0

Support numpy 2.0.0 #802

Workflow file for this run

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()