Enhanced logging #110
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'Python PEP8 Check' | |
on: | |
push: | |
branches: | |
- '*' | |
pull_request: | |
branches: | |
- '*' | |
jobs: | |
pep8: | |
name: 'PEP8' | |
runs-on: ubuntu-latest | |
steps: | |
- name: 'Checkout' | |
uses: actions/checkout@v4 | |
- name: 'Set up Python' | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.x' | |
- name: 'Install Dependencies' | |
run: | | |
python -m pip install --upgrade pip | |
pip install pycodestyle | |
- name: 'PEP8 Check' | |
run: | | |
# Exclude the GUI file from the PEP8 check, because it is auto-generated by wxFormBuilder | |
pycodestyle . --format=pylint --exclude=gui.py,icons.py |