diff options
| author | John L. Villalovos <john@sodarock.com> | 2021-04-17 14:59:35 -0700 |
|---|---|---|
| committer | John L. Villalovos <john@sodarock.com> | 2021-04-18 08:26:07 -0700 |
| commit | 40f4ab20ba0903abd3d5c6844fc626eb264b9a6a (patch) | |
| tree | b4b8ca325f0e96a2d07c0bf0b3e99153ef7f4f56 /.github | |
| parent | ff21eb664871904137e6df18308b6e90290ad490 (diff) | |
| download | gitlab-40f4ab20ba0903abd3d5c6844fc626eb264b9a6a.tar.gz | |
chore: fix F841 errors reported by flake8
Local variable name is assigned to but never used
https://www.flake8rules.com/rules/F841.html
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/lint.yml | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 4c11810..556a186 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -12,14 +12,6 @@ env: PY_COLORS: 1 jobs: - black: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v2 - - uses: psf/black@stable - with: - black_args: ". --check" commitlint: runs-on: ubuntu-latest steps: @@ -28,10 +20,15 @@ jobs: fetch-depth: 0 - uses: wagoid/commitlint-github-action@v3 - mypy: + linters: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: actions/setup-python@v2 - run: pip install --upgrade tox - - run: tox -e mypy + - name: Run black code formatter (https://black.readthedocs.io/en/stable/) + run: tox -e black -- --check + - name: Run flake8 (https://flake8.pycqa.org/en/latest/) + run: tox -e pep8 + - name: Run mypy static typing checker (http://mypy-lang.org/) + run: tox -e mypy |
