Skip to content

Commit

Permalink
Format with black and lint with ruff and mypy
Browse files Browse the repository at this point in the history
Add continuous integration for linting.
  • Loading branch information
nsoranzo committed Oct 31, 2023
1 parent 6855da8 commit 6705df1
Show file tree
Hide file tree
Showing 5 changed files with 209 additions and 131 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Lint
on: [push, pull_request]
concurrency:
group: lint-${{ github.ref }}
cancel-in-progress: true
jobs:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.8', '3.11']
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install tox
run: python -m pip install 'tox>=1.8.0'
- name: Lint
run: tox -e lint
Loading

0 comments on commit 6705df1

Please sign in to comment.