From 49978c5bf839dda32ab95082ff3e41ca5ffbbcfc Mon Sep 17 00:00:00 2001 From: Dave Date: Thu, 23 Nov 2023 07:58:37 +0100 Subject: [PATCH] exclude venv from formatting --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 49982de2c6..1059cfdf0a 100644 --- a/Makefile +++ b/Makefile @@ -48,7 +48,7 @@ dev: has-poetry lint: ./check-package.sh - poetry run black ./ --diff --exclude=".*syntax_error.py" + poetry run black ./ --diff --exclude=".*syntax_error.py|\.venv.*" # poetry run isort ./ --diff poetry run mypy --config-file mypy.ini dlt tests poetry run flake8 --max-line-length=200 dlt @@ -56,7 +56,7 @@ lint: # $(MAKE) lint-security format: - poetry run black ./ --exclude=".*syntax_error.py" + poetry run black ./ --exclude=".*syntax_error.py|\.venv.*" # poetry run isort ./ test-and-lint-snippets: