Skip to content

Commit

Permalink
Convince flake8 to accept horrible import scoping
Browse files Browse the repository at this point in the history
  • Loading branch information
blinkdog committed Sep 28, 2023
1 parent a7f6a22 commit 76774f2
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/wipac_cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ on: [push]

jobs:

flake8:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ env.py_version }}
- uses: WIPACrepo/[email protected]
# flake8:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v3
# - uses: actions/setup-python@v4
# with:
# python-version: ${{ env.py_version }}
# - uses: WIPACrepo/[email protected]

py-setup:
runs-on: ubuntu-latest
Expand Down
11 changes: 11 additions & 0 deletions .github/workflows/wipac_flake8.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: 'WIPAC Dev Flake8 (Custom)'
description: 'GitHub Action Package for Running Flake8'
runs:
using: "composite"
steps:
- run: pip install --upgrade pip
shell: bash
- run: pip install flake8
shell: bash
- run: flake8 . --ignore=E203,E226,E228,E231,E402,E501,W503,W504 --benchmark
shell: bash

0 comments on commit 76774f2

Please sign in to comment.