Checking for and removing deprecated python code #48
Workflow file for this run
This file contains hidden or 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: flake8 Lint | |
| on: | |
| pull_request: | |
| branches: | |
| - master | |
| push: | |
| branches: | |
| - master | |
| jobs: | |
| flake8-lint: | |
| runs-on: ubuntu-latest | |
| name: Lint | |
| steps: | |
| - name: Check out source repository | |
| uses: actions/checkout@v3 | |
| - name: Set up Python environment | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: "3.x" | |
| - name: Lint src/ | |
| uses: py-actions/flake8@v2 | |
| with: | |
| plugins: "flake8-pyproject flake8-docstrings flake8-warnings flake8-builtins" | |
| path: "src" | |
| - name: Lint tests/ | |
| uses: py-actions/flake8@v2 | |
| with: | |
| plugins: "flake8-pyproject flake8-docstrings flake8-warnings flake8-builtins" | |
| path: "tests" |