Skip to content

Commit

Permalink
Use alias for linter
Browse files Browse the repository at this point in the history
  • Loading branch information
juliannguyen4 committed Sep 28, 2022
1 parent 5cdedd9 commit 05dcda6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ jobs:
run: |
# The GitHub editor is 127 chars wide
cd documentapi/
flake8 . --count --max-complexity=10 --show-source --max-line-length=127
alias flake8 = flake8 --count --max-complexity=10 --show-source --max-line-length=127
flake8 .
# Lint the doc example
cd ../docs/
flake8 cookbook-ex.py --count --max-complexity=10 --show-source --max-line-length=127
flake8 cookbook-ex.py
- name: Build documentation
run: |
cd docs/
Expand Down

0 comments on commit 05dcda6

Please sign in to comment.