address comments

This commit is contained in:
Matthew Sevey 2022-04-06 15:34:06 -04:00
parent 05922d9c5a
commit 489610fccd
No known key found for this signature in database
GPG Key ID: 9ADDD344F13057F6
2 changed files with 5 additions and 1 deletions

View File

@ -13,5 +13,7 @@ runs:
- run: | - run: |
pip install black pip install black
shell: bash
- run: |
black --check . black --check .
shell: bash shell: bash

View File

@ -11,12 +11,14 @@ runs:
python-version: "3.x" python-version: "3.x"
architecture: x64 architecture: x64
- run: |
pip install flake8
shell: bash
# E203: https://www.flake8rules.com/rules/E203.html - Whitespace before ':' # E203: https://www.flake8rules.com/rules/E203.html - Whitespace before ':'
# E501: https://www.flake8rules.com/rules/E501.html - Line too long # E501: https://www.flake8rules.com/rules/E501.html - Line too long
# W503: https://www.flake8rules.com/rules/W503.html - Line break occurred before a binary operator # W503: https://www.flake8rules.com/rules/W503.html - Line break occurred before a binary operator
# W605: https://www.flake8rules.com/rules/W605.html - Invalid escape sequence # W605: https://www.flake8rules.com/rules/W605.html - Invalid escape sequence
# E722: https://www.flake8rules.com/rules/E722.html - Do not use bare except, specify exception instead # E722: https://www.flake8rules.com/rules/E722.html - Do not use bare except, specify exception instead
- run: | - run: |
pip install flake8
flake8 --max-line-length 88 --ignore E203,E501,W503,W605,E722 flake8 --max-line-length 88 --ignore E203,E501,W503,W605,E722
shell: bash shell: bash