Update and rename ci-lint.yml to py-lint.yml #1
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 Lint" | |
on: | |
push: | |
branches: [ "master" ] | |
paths: | |
- ".github/workflows/**" | |
- "cxlc.py" | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install flake8 | |
run: pip install flake8 | |
- uses: actions/checkout@v4 | |
- name: Lint with flake8 | |
run: flake8 ./cxlc.py | |
- name: Finalize | |
run: python3 cxlc.py --moo |