Skip to content

Commit

Permalink
Allow aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
juliannguyen4 committed Sep 28, 2022
1 parent 6a7569b commit 8965fe0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,10 @@ jobs:
pip install --editable .
- name: Lint with flake8
run: |
# The GitHub editor is 127 chars wide
cd documentapi/
# Allow for aliases
shopt -s expand_aliases
# The GitHub editor is 127 chars wide
alias flake8="flake8 --count --max-complexity=10 --show-source --max-line-length=127"
flake8 .
# Lint the doc example
Expand Down

0 comments on commit 8965fe0

Please sign in to comment.