Allow execution from a development environment. #2
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: Code Quality Checks | |
on: | |
push: | |
jobs: | |
linting: | |
name: Code Quality Checks | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
- name: Install Dependencies | |
run: pip install ruff | |
- name: Code Linting | |
if: always() | |
run: ruff check qrcode | |
- name: Code Formatting | |
if: always() | |
run: ruff format --check qrcode |