Add formatting tests (#1437)

* Add style checks to `make lint`

* Bump target-version in black config
pull/1431/head
WeberJulian 2022-03-23 17:23:36 +01:00 committed by GitHub
parent 1c3623af33
commit 3c7c14607b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -44,6 +44,8 @@ style: ## update code style.
lint: ## run pylint linter.
pylint ${target_dirs}
black ${target_dirs} --check
isort ${target_dirs} --check-only
system-deps: ## install linux system deps
sudo apt-get install -y libsndfile1-dev

View File

@ -6,7 +6,7 @@ max-line-length=120
[tool.black]
line-length = 120
target-version = ['py38']
target-version = ['py39']
exclude = '''
(