Skip to content

Commit

Permalink
Add workflow for PEP 8 compliance.
Browse files Browse the repository at this point in the history
  • Loading branch information
alanjvano authored and tymorrow committed Jul 20, 2023
1 parent 24fc797 commit 3ee6e81
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/run-linting.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Run linting
on: [push]
jobs:
linting:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
cache: "pip"
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
pip install flake8 flake8-quotes
- name: Run Flake8 linter
run: |
flake8 riid examples tests

0 comments on commit 3ee6e81

Please sign in to comment.