Skip to content

Commit

Permalink
Merge pull request #16 from nsoranzo/lint
Browse files Browse the repository at this point in the history
Format with black and lint with ruff and mypy
  • Loading branch information
bebatut authored Oct 31, 2023
2 parents 6855da8 + 6705df1 commit 2aa1087
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 2aa1087

Please sign in to comment.