correct links #1
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
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python | |
name: flake8 | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: true | |
matrix: | |
python-version: ["3.12"] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v3 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip flake8 flake8-bugbear flake8-simplify flake8-pytest-style flake8-use-pathlib flake8-raise flake8-print flake8-eradicate flake8_boolean_trap flake8-builtins flake8-use-fstring flake8-cognitive-complexity flake8-expression-complexity refurb | |
- name: Check for errors with flake8 | |
run: | | |
flake8 --max-line-length=88 --extend-ignore=E203 --per-file-ignores="test_*:SCS108,S101" conveyor | |
refurb . |