Ignore venv folder from jetbrains

This commit is contained in:
CommanderRedYT 2023-12-21 06:29:37 +01:00
parent 2481248736
commit a4b5081c7a
No known key found for this signature in database
GPG Key ID: 572F157519DC8A5E

View File

@ -17,12 +17,12 @@ function validate {
echo "running black"
black --force-exclude "migrations/*" --diff --color --check -l 79 "$check_path"
echo "running codespell"
codespell --skip="./.git,./.venv,./.mypy_cache" "$check_path"
codespell --skip="./.git,./.venv,venv,./.mypy_cache" "$check_path"
echo "running flake8"
flake8 "$check_path" --exclude "migrations,.venv" --count --max-complexity=10 \
flake8 "$check_path" --exclude "migrations,.venv,venv" --count --max-complexity=10 \
--max-line-length=79 --show-source --statistics
echo "running isort"
isort --skip "migrations" --skip ".venv" --check-only --diff --profile black -l 79 "$check_path"
isort --skip "migrations" --skip ".venv" --skip "venv" --check-only --diff --profile black -l 79 "$check_path"
printf " \n> all validations passed\n"
}