Skip to content

Commit

Permalink
Add formatting tests (#1437)
Browse files Browse the repository at this point in the history
* Add style checks to `make lint`

* Bump target-version in black config
  • Loading branch information
WeberJulian authored Mar 23, 2022
1 parent 1c3623a commit 3c7c146
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ max-line-length=120

[tool.black]
line-length = 120
target-version = ['py38']
target-version = ['py39']
exclude = '''
(
Expand Down

0 comments on commit 3c7c146

Please sign in to comment.