reformat code with black #2
Workflow file for this run
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: lint | |
on: push | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.12" | |
- name: Install poetry | |
uses: Gr1N/setup-poetry@v9 | |
- name: Install dependencies | |
run: poetry install --without production | |
- name: Run flake8 | |
run: poetry run flake8 faucet_rgb/ tests/ | |
- name: Run pylint | |
run: poetry run pylint faucet_rgb/ tests/ | |
- name: Run vulture | |
run: poetry run vulture faucet_rgb/ tests/ |