mirror of https://github.com/coqui-ai/TTS.git
Add formatting tests (#1437)
* Add style checks to `make lint` * Bump target-version in black configpull/1431/head
parent
1c3623af33
commit
3c7c14607b
2
Makefile
2
Makefile
|
@ -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
|
||||
|
|
|
@ -6,7 +6,7 @@ max-line-length=120
|
|||
|
||||
[tool.black]
|
||||
line-length = 120
|
||||
target-version = ['py38']
|
||||
target-version = ['py39']
|
||||
exclude = '''
|
||||
|
||||
(
|
||||
|
|
Loading…
Reference in New Issue