Skip to content

Commit

Permalink
debug: actually work? attempt 1
Browse files Browse the repository at this point in the history
  • Loading branch information
onerandomusername committed Nov 25, 2021
1 parent bb8e586 commit 4b07917
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/lint_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ jobs:
# just error if something isn't formatted correctly.
- name: Check files with black
id: black
if: steps.pre-commit.outcome == 'success' || steps.pre-commit.outcome == 'failure'
if: always() && (steps.pre-commit.outcome == 'success' || steps.pre-commit.outcome == 'failure')
run: black . --check --diff --color

# Run flake8 and have it format the linting errors in the format of
Expand All @@ -112,7 +112,7 @@ jobs:
# ::error file={filename},line={line},col={col}::{message}
- name: Run flake8
id: flake8
if: steps.pre-commit.outcome == 'success' || steps.pre-commit.outcome == 'failure'
if: always() && (steps.pre-commit.outcome == 'success' || steps.pre-commit.outcome == 'failure')
run: "flake8 \
--format='::error file=%(path)s,line=%(row)d,col=%(col)d::\
[flake8] %(code)s: %(text)s'"
Expand Down

0 comments on commit 4b07917

Please sign in to comment.