Skip to content

Commit 3e80263

Browse files
cclausswang0618
authored andcommitted
fixup! f-strings are syntax errors in Python 3.5
1 parent b87cc57 commit 3e80263

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/lint.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,15 @@ jobs:
2626
python -m pip install --upgrade pip
2727
pip install -e ".[all]"
2828
- name: Lint with flake8
29+
if: python-version != "3.5" # f-strings are syntax errors in Python 3.5
2930
run: |
3031
pip install flake8
3132
flake8 --ignore=E126,E127,E128,E131,E226,E231,E302,E303,E305,E401,E402,E701,E731,F401,F403,F405,W291,W292,W293,W391 \
3233
--max-complexity=32 --max-line-length=525 --show-source --statistics .
34+
- name: Lint with flake8 (Python 3.5)
35+
if: python-version !== "3.5" # f-strings are syntax errors in Python 3.5
36+
run: |
37+
pip install flake8
38+
flake8 --ignore=E126,E127,E128,E131,E226,E231,E302,E303,E305,E401,E402,E701,E731,F401,F403,F405,W291,W292,W293,W391 \
39+
--max-complexity=32 --max-line-length=525 --show-source --statistics pywebio
40+

0 commit comments

Comments
 (0)