diff --git a/.github/workflows/dev-ci.yml b/.github/workflows/dev-ci.yml index d6e0bebd..7cba017e 100644 --- a/.github/workflows/dev-ci.yml +++ b/.github/workflows/dev-ci.yml @@ -68,7 +68,7 @@ jobs: if [ "${{ matrix.test-type }}" == "docstrcov" ]; then echo "Running docstring coverage test" - docstr-coverage BlocksScreen/ --exclude .*/BlocksScreen/lib/ui/.*?$ --fail-under=80 --skip-magic --skip-init --skip-private --skip-property > docstr-cov-output.txt 2>&1 + docstr-coverage BlocksScreen/ --exclude '.*/BlocksScreen/lib/ui/.*?$' --fail-under=80 --skip-magic --skip-init --skip-private --skip-property > docstr-cov-output.txt 2>&1 fi if [ "${{matrix.test-type }}" == "security" ]; then diff --git a/pyproject.toml b/pyproject.toml index eaa6152e..9f7e1cfb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -44,6 +44,37 @@ Issues = "https://github.com/BlocksTechnology/BlocksScreen/issues" [tool.ruff] line-length = 88 indent-width = 4 +exclude = [ + ".bzr", + ".direnv", + ".eggs", + ".git", + ".git-rewrite", + ".hg", + ".ipynb_checkpoints", + ".mypy_cache", + ".nox", + ".pants.d", + ".pyenv", + ".pytest_cache", + ".pytype", + ".ruff_cache", + ".svn", + ".tox", + ".venv", + ".vscode", + "__pypackages__", + "_build", + "buck-out", + "build", + "dist", + "node_modules", + "site-packages", + "venv", + "BlocksScreen/lib/ui", + "extras", + "tests" +] [tool.ruff.lint] ignore = ["F403"]