Skip to content

Commit

Permalink
build(ruff): Ignore and exclude ruff_cache dir
Browse files Browse the repository at this point in the history
  • Loading branch information
asyrjasalo committed Jul 29, 2024
1 parent f531453 commit 2ef5a8f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,6 @@ dist/

# setuptools
*.egg-info

# ruff
.ruff_cache/
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ tests = { composite = ["test", "atest"] }
format = "ruff format ."
lint = "ruff check ."
docs = "python -m robot.libdoc -P src REST docs/index.html"
clear = { shell = "rm -rf dist/ node_modules/ .pdm-build/ .pytest_cache/ results/ src/*.egg-info mb.pid *.log" }
clear = { shell = "rm -rf dist/ node_modules/ .pdm-build/ .pytest_cache/ .ruff_cache/ results/ src/*.egg-info mb.pid *.log" }

[tool.pytest]
testpaths = "test"
Expand All @@ -77,6 +77,7 @@ indent-width = 4
exclude = [
".git",
".pytest_cache",
'.ruff_cache',
".venv",
"atest",
"dist",
Expand Down

0 comments on commit 2ef5a8f

Please sign in to comment.