Adapts linter workflow to black

This commit is contained in:
tek 2023-06-14 01:05:14 +02:00
parent bdd36a9179
commit a1481683e3
3 changed files with 17 additions and 1 deletions

11
.github/workflows/black.yml vendored Normal file
View File

@ -0,0 +1,11 @@
name: Black
on: [push]
jobs:
black:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: psf/black@stable
with:
options: "--check"

View File

@ -4,6 +4,7 @@ check:
flake8
pytest -q
ruff check -q .
black --check .
clean:
rm -rf $(PWD)/build $(PWD)/dist $(PWD)/mvt.egg-info

View File

@ -54,7 +54,8 @@ ignore =
F401,
E127,
W503,
E226
E226,
E203
[pylint]
score = no
@ -89,3 +90,6 @@ disable =
[mypy]
ignore_missing_imports = True
[isort]
profile=black