Skip to content

Commit

Permalink
update dockerignore and clean command
Browse files Browse the repository at this point in the history
  • Loading branch information
mathiasertl committed Nov 26, 2023
1 parent 12a128b commit 9ec84da
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,11 @@
/.coverage
/.docker/
/.env
/.idea/
/.mypy_cache/
/.pytest_cache/
/.python-version
/.ruff_cache/
/.tox/
/bin/
/ca/*.crl
Expand Down
7 changes: 7 additions & 0 deletions devscripts/standalone/clean.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,16 @@ def cleanup(root: Path, dry: bool = False) -> None:
remove(root / "build", dry=dry)
remove(root / ".coverage", dry=dry)
remove(root / ".docker", dry=dry)
remove(root / ".idea", dry=dry)
remove(root / ".mypy_cache", dry=dry)
remove(root / ".pytest_cache", dry=dry)
remove(root / ".ruff_cache", dry=dry)
remove(root / "contrib/selenium/geckodriver", dry=dry)
remove(root / "docs/source/_files/docker-compose.yml", dry=dry)
for path in root.glob("*.crl"):
remove(path, dry=dry)
for path in root.glob("*.pem"):
remove(path, dry=dry)
for path in root.rglob("__pycache__/"):
remove(path, dry=dry)
for path in root.rglob("*.pyc"):
Expand Down

0 comments on commit 9ec84da

Please sign in to comment.