Ruff lint (#496)

* add ruff, pdm

* update .gitignore

* format

* test

* check failure

* fix constants.py
This commit is contained in:
sigma67 2023-12-31 12:54:07 +01:00 • committed by GitHub
commit 1fd93dcfb6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
39 changed files with 1866 additions and 1234 deletions

16
.github/workflows/lint.yml vendored Normal file
View file

@ -0,0 +1,16 @@
name: Ruff
on:
pull_request:
branches:
- master
jobs:
ruff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: chartboost/ruff-action@v1
- uses: chartboost/ruff-action@v1
with:
args: format --check