mirror of https://github.com/coqui-ai/TTS.git
Add formatting tests (#1437)
* Add style checks to `make lint` * Bump target-version in black config
This commit is contained in:
parent
1c3623af33
commit
3c7c14607b
2
Makefile
2
Makefile
|
@ -44,6 +44,8 @@ style: ## update code style.
|
||||||
|
|
||||||
lint: ## run pylint linter.
|
lint: ## run pylint linter.
|
||||||
pylint ${target_dirs}
|
pylint ${target_dirs}
|
||||||
|
black ${target_dirs} --check
|
||||||
|
isort ${target_dirs} --check-only
|
||||||
|
|
||||||
system-deps: ## install linux system deps
|
system-deps: ## install linux system deps
|
||||||
sudo apt-get install -y libsndfile1-dev
|
sudo apt-get install -y libsndfile1-dev
|
||||||
|
|
|
@ -6,7 +6,7 @@ max-line-length=120
|
||||||
|
|
||||||
[tool.black]
|
[tool.black]
|
||||||
line-length = 120
|
line-length = 120
|
||||||
target-version = ['py38']
|
target-version = ['py39']
|
||||||
exclude = '''
|
exclude = '''
|
||||||
|
|
||||||
(
|
(
|
||||||
|
|
Loading…
Reference in New Issue