mirror of
https://github.com/tubearchivist/jellyfin.git
synced 2025-02-22 07:50:13 +00:00
Ignore venv folder from jetbrains
This commit is contained in:
parent
2481248736
commit
a4b5081c7a
@ -17,12 +17,12 @@ function validate {
|
|||||||
echo "running black"
|
echo "running black"
|
||||||
black --force-exclude "migrations/*" --diff --color --check -l 79 "$check_path"
|
black --force-exclude "migrations/*" --diff --color --check -l 79 "$check_path"
|
||||||
echo "running codespell"
|
echo "running codespell"
|
||||||
codespell --skip="./.git,./.venv,./.mypy_cache" "$check_path"
|
codespell --skip="./.git,./.venv,venv,./.mypy_cache" "$check_path"
|
||||||
echo "running flake8"
|
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
|
--max-line-length=79 --show-source --statistics
|
||||||
echo "running isort"
|
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"
|
printf " \n> all validations passed\n"
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user