Python release with RPI5 support #67
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 Codestyle | |
on: | |
workflow_dispatch: | |
push: | |
branches: [main] | |
paths: | |
- '**/*.py' | |
pull_request: | |
branches: [main, 'v[0-9]+.[0-9]+'] | |
paths: | |
- '**/*.py' | |
jobs: | |
check-python-codestyle: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
- name: Install dependencies | |
run: pip install flake8 pep8-naming | |
- name: Check python codestyle | |
run: flake8 --ignore=F401,F403,F405 --max-line-length=120 . |