mirror of
https://github.com/coqui-ai/TTS.git
synced 2026-05-18 05:05:49 +02:00
Add formatting tests (#1437)
* Add style checks to `make lint` * Bump target-version in black config
This commit is contained in:
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 = '''
|
||||
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user