mirror of
https://github.com/aljazceru/nutshell.git
synced 2025-12-31 15:34:30 +01:00
[DEV] add ruff and remove isort and flake (#300)
* [DEV] add ruff and remove isort and flake - precommit - workflow - Makefile updated black * configure black to use default line-length * reformat to 88 chars line-length * fix ugly comments
This commit is contained in:
11
.github/workflows/checks.yml
vendored
11
.github/workflows/checks.yml
vendored
@@ -24,9 +24,7 @@ jobs:
|
||||
run: poetry install
|
||||
- name: Check black
|
||||
run: make black-check
|
||||
- name: Check isort
|
||||
run: make isort-check
|
||||
linting:
|
||||
mypy:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
@@ -49,5 +47,8 @@ jobs:
|
||||
run: yes | poetry run mypy cashu --install-types || true
|
||||
- name: Run mypy
|
||||
run: poetry run mypy cashu --ignore-missing
|
||||
- name: Run flake8
|
||||
run: poetry run flake8
|
||||
ruff:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: chartboost/ruff-action@v1
|
||||
|
||||
Reference in New Issue
Block a user