diff --git a/Makefile b/Makefile index d04cd9761d..69f34c79ea 100644 --- a/Makefile +++ b/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 diff --git a/pyproject.toml b/pyproject.toml index 0941a90681..b775f12ab3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ max-line-length=120 [tool.black] line-length = 120 -target-version = ['py38'] +target-version = ['py39'] exclude = ''' (