Skip to content

Commit bfdc638

Browse files
cleanup gitignore (#378)
1 parent 3e83ba3 commit bfdc638

File tree

2 files changed

+88
-169
lines changed

2 files changed

+88
-169
lines changed

.dockerignore

Lines changed: 62 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,72 @@
1-
# Git
2-
.git
3-
.gitignore
1+
# -------------------------------------------------
2+
# Base: reuse patterns from .gitignore
3+
# -------------------------------------------------
4+
5+
# Operating-system
6+
.DS_Store
7+
Thumbs.db
8+
9+
# Editor / IDE settings
10+
.vscode/
11+
!.vscode/launch.json
12+
.idea/
13+
*.swp
14+
15+
# Python virtual-envs & tooling
16+
.venv*/
17+
.python-version
18+
__pycache__/
19+
*.egg-info/
20+
*.egg
21+
.ruff_cache/
422

5-
# Python
6-
__pycache__
7-
*.pyc
8-
*.pyo
9-
*.pyd
10-
.Python
11-
env
12-
pip-log.txt
13-
pip-delete-this-directory.txt
14-
.tox
23+
# Test artifacts & coverage
24+
.pytest_cache/
1525
.coverage
16-
.coverage.*
17-
.cache
18-
nosetests.xml
1926
coverage.xml
20-
*.cover
27+
htmlcov/
28+
29+
# Build, distribution & docs
30+
build/
31+
dist/
32+
*.wheel
33+
34+
# Logs & runtime output
2135
*.log
36+
logs/
37+
*.tmp
38+
tmp/
2239

23-
# Virtual environment
24-
venv
25-
.env
26-
.venv
27-
ENV
40+
# Project-specific files
41+
history.txt
42+
digest.txt
2843

29-
# IDE
30-
.idea
31-
.vscode
32-
*.swp
33-
*.swo
3444

35-
# Project specific
36-
docs/
45+
# -------------------------------------------------
46+
# Extra for Docker
47+
# -------------------------------------------------
48+
49+
# Git history
50+
.git/
51+
.gitignore
52+
53+
# Tests
3754
tests/
55+
56+
# Docs
57+
docs/
3858
*.md
3959
LICENSE
40-
setup.py
60+
61+
# Local overrides & secrets
62+
.env
63+
64+
# Docker files
65+
.dockerignore
66+
Dockerfile*
67+
68+
# -------------------------------------------------
69+
# Files required during build
70+
# -------------------------------------------------
71+
!pyproject.toml
72+
!src/

.gitignore

Lines changed: 26 additions & 139 deletions
Original file line numberDiff line numberDiff line change
@@ -1,153 +1,40 @@
1-
# Byte-compiled / optimized / DLL files
2-
__pycache__/
3-
*.py[cod]
4-
*$py.class
1+
# Operating-system
2+
.DS_Store
3+
Thumbs.db
54

6-
# C extensions
7-
*.so
5+
# Editor / IDE settings
6+
.vscode/
7+
!.vscode/launch.json
8+
.idea/
9+
*.swp
810

9-
# Distribution / packaging
10-
.Python
11-
build/
12-
develop-eggs/
13-
dist/
14-
downloads/
15-
eggs/
16-
.eggs/
17-
lib/
18-
lib64/
19-
parts/
20-
sdist/
21-
var/
22-
wheels/
23-
share/python-wheels/
11+
# Python virtual-envs & tooling
12+
.venv*/
13+
.python-version
14+
__pycache__/
2415
*.egg-info/
25-
.installed.cfg
2616
*.egg
27-
MANIFEST
28-
29-
tmp/*
30-
31-
# PyInstaller
32-
# Usually these files are written by a python script from a template
33-
# before PyInstaller builds the exe, so as to inject date/other infos into it.
34-
*.manifest
35-
*.spec
17+
.ruff_cache/
3618

37-
# Installer logs
38-
pip-log.txt
39-
pip-delete-this-directory.txt
40-
41-
# Unit test / coverage reports
42-
htmlcov/
43-
.tox/
44-
.nox/
19+
# Test artifacts & coverage
20+
.pytest_cache/
4521
.coverage
46-
.coverage.*
47-
.cache
48-
nosetests.xml
4922
coverage.xml
50-
*.cover
51-
*.py,cover
52-
.hypothesis/
53-
.pytest_cache/
54-
cover/
55-
56-
# Translations
57-
*.mo
58-
*.pot
59-
60-
# Django stuff:
61-
*.log
62-
local_settings.py
63-
db.sqlite3
64-
db.sqlite3-journal
65-
66-
# Flask stuff:
67-
instance/
68-
.webassets-cache
69-
70-
# Scrapy stuff:
71-
.scrapy
72-
73-
# Sphinx documentation
74-
docs/_build/
75-
76-
# PyBuilder
77-
.pybuilder/
78-
target/
79-
80-
# Jupyter Notebook
81-
.ipynb_checkpoints
82-
83-
# IPython
84-
profile_default/
85-
ipython_config.py
86-
87-
# pdm
88-
.pdm.toml
89-
.pdm-python
90-
.pdm-build/
91-
92-
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
93-
__pypackages__/
94-
95-
# Celery stuff
96-
celerybeat-schedule
97-
celerybeat.pid
98-
99-
# SageMath parsed files
100-
*.sage.py
101-
102-
# Environments
103-
.env
104-
.venv
105-
.venv*
106-
env/
107-
venv/
108-
ENV/
109-
env.bak/
110-
venv.bak/
111-
.python-version
112-
113-
# Spyder project settings
114-
.spyderproject
115-
.spyproject
116-
117-
# Rope project settings
118-
.ropeproject
119-
120-
# mkdocs documentation
121-
/site
122-
123-
# mypy
124-
.mypy_cache/
125-
.dmypy.json
126-
dmypy.json
23+
htmlcov/
12724

128-
# Pyre type checker
129-
.pyre/
25+
# Build, distribution & docs
26+
build/
27+
dist/
28+
*.wheel
13029

131-
# pytype static type analyzer
132-
.pytype/
13330

134-
# Cython debug symbols
135-
cython_debug/
13631

137-
# VSCode
138-
.vscode/settings.json
139-
.DS_Store
140-
141-
# JavaScript tooling
142-
node_modules/
32+
# Logs & runtime output
33+
*.log
34+
logs/
35+
*.tmp
36+
tmp/
14337

144-
# Project specific
38+
# Project-specific files
14539
history.txt
146-
cleanup.py
147-
Caddyfile
148-
149-
# ignore default output directory
150-
tmp/*
151-
152-
# Gitingest
15340
digest.txt

0 commit comments

Comments
 (0)