diff --git a/.codespellrc b/.codespellrc index e20054be5..f85d0dafd 100644 --- a/.codespellrc +++ b/.codespellrc @@ -3,5 +3,5 @@ [codespell] check-hidden = true # skipping auto generated folders -skip = ./.git,./.tox,./.venv,./.mypy_cache,./docs/_build,./target,*/LICENSE,./venv,*/cassettes +skip = ./.git,./.tox,./.venv,./test_env,./.mypy_cache,./docs/_build,./target,*/LICENSE,./venv,*/cassettes ignore-words-list = ot diff --git a/pytest.ini b/pytest.ini index 886af1c76..bf1a6c984 100644 --- a/pytest.ini +++ b/pytest.ini @@ -3,3 +3,4 @@ addopts = -rfE -v log_cli = true log_cli_level = warning +asyncio_default_fixture_loop_scope = function diff --git a/scripts/check_license_header.py b/scripts/check_license_header.py index 500476344..286802c68 100644 --- a/scripts/check_license_header.py +++ b/scripts/check_license_header.py @@ -16,6 +16,7 @@ "target", ".tox", ".venv", + "test_env", "__pycache__", "node_modules", ) diff --git a/tox.ini b/tox.ini index ce3694aa0..3904d7adb 100644 --- a/tox.ini +++ b/tox.ini @@ -348,7 +348,7 @@ commands_pre = sh -c "sudo apt update -y && sudo apt install --assume-yes shellcheck" commands = - sh -c "find {toxinidir} -name \*.sh | xargs shellcheck --severity=warning" + sh -c "find {toxinidir} -type f -name \*.sh -not -path '*/.tox/*' -not -path '*/.venv/*' -not -path '*/test_env/*' | xargs --no-run-if-empty shellcheck --severity=warning" [testenv:{precommit,ruff}] basepython: python3