Skip to content

Commit b4ad67f

Browse files
chore: update gitignore and clean task script
1 parent 5ef9dbb commit b4ad67f

2 files changed

Lines changed: 34 additions & 8 deletions

File tree

.gitignore

Lines changed: 31 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,37 @@
1-
# Python-generated files
1+
# --- Python Artifacts ---
22
__pycache__/
3-
*.py[oc]
4-
build/
3+
*.py[cod]
4+
*$py.class
5+
*.so
6+
.python-version
7+
8+
# --- Distribution / Packaging ---
9+
# These are generated by `uv build`
510
dist/
6-
wheels/
7-
*.egg-info
8-
*.egg-info/
911
build/
12+
*.egg-info/
13+
*.egg/
14+
15+
# --- Tools & Linters ---
16+
# Ruff cache can get huge
17+
.ruff_cache/
18+
# Pytest and coverage artifacts
1019
.pytest_cache/
1120
.coverage
21+
.coverage.*
22+
htmlcov/
23+
coverage.xml
24+
*.cover
25+
26+
# --- Environments ---
27+
# uv managed virtualenv
28+
.venv/
29+
env/
30+
venv/
31+
ENV/
1232

13-
# Virtual environments
14-
.venv
33+
# --- IDEs & OS ---
34+
.vscode/
35+
.idea/
36+
.DS_Store
37+
*.swp

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,7 @@ test-cov = "pytest --cov=annotator tests/ --cov-report=term-missing"
3838
check = "ruff check ."
3939
fix = "ruff check --fix ."
4040
format = "ruff format ."
41+
clean = """
42+
rm -rf .venv .ruff_cache .pytest_cache .coverage htmlcov dist build *.egg-info
43+
"""
4144
lint = ["fix", "format"]

0 commit comments

Comments
 (0)