mirror of
https://github.com/tubearchivist/jellyfin.git
synced 2025-07-12 12:08:15 +00:00
Ignore venv folder from jetbrains
This commit is contained in:
parent
9a9e046672
commit
d4b19c81ee
@ -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"
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user