diff --git a/.github/workflows/semantic-release.yml b/.github/workflows/semantic-release.yml index c56ffd1..5d40528 100644 --- a/.github/workflows/semantic-release.yml +++ b/.github/workflows/semantic-release.yml @@ -15,7 +15,7 @@ jobs: uses: actions/checkout@v3 - name: Python Semantic Release - uses: relekang/python-semantic-release@master + uses: relekang/python-semantic-release@v7.34.6 with: github_token: ${{ secrets.PERSONAL_ACCESS_TOKEN }} # pypi_token: ${{ secrets.PYPI_TOKEN }} diff --git a/.github/workflows/wipac_cicd.yml b/.github/workflows/wipac_cicd.yml index 7a72830..bdad326 100644 --- a/.github/workflows/wipac_cicd.yml +++ b/.github/workflows/wipac_cicd.yml @@ -4,14 +4,12 @@ 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/wipac-dev-flake8-action@v1.0 + flake8: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-python@v3 + - uses: WIPACrepo/wipac-dev-flake8-action@v1.0 py-setup: runs-on: ubuntu-latest diff --git a/.github/workflows/wipac_flake8.yml b/.github/workflows/wipac_flake8.yml deleted file mode 100644 index 1864310..0000000 --- a/.github/workflows/wipac_flake8.yml +++ /dev/null @@ -1,11 +0,0 @@ -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 diff --git a/setup.cfg b/setup.cfg index ffcffff..840d937 100644 --- a/setup.cfg +++ b/setup.cfg @@ -92,8 +92,8 @@ ignore_errors = True directory = htmlcov [flake8] -ignore = E501 -exclude = env,bin,doc,jadetools +ignore = E203,E226,E228,E231,E501,W503,W504 +exclude = env,bin,doc,jadetools,tests [mypy] show_error_codes = True