Enhanced /agencies
GET
methods and tests to include linked data sources
#370
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: flake8 Lint | |
on: [pull_request] | |
jobs: | |
flake8-lint: | |
runs-on: ubuntu-latest | |
name: Lint | |
steps: | |
- name: Check out source repository | |
uses: actions/checkout@v4 | |
- name: Set up Python environment | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.11" | |
- run: pip install flake8 flake8-docstrings flake8-simplify flake8-unused-arguments flake8-annotations | |
- name: flake8 Lint with Reviewdog | |
uses: reviewdog/action-flake8@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
flake8_args: --ignore E501,W291 # Does not check for max line exceed or trailing whitespace | |
level: warning |