Skip to content

Commit 5e1f976

Browse files
committed
formatted git ignore, added generated sphinx docs
1 parent 2d3116f commit 5e1f976

1 file changed

Lines changed: 95 additions & 105 deletions

File tree

.gitignore

Lines changed: 95 additions & 105 deletions
Original file line numberDiff line numberDiff line change
@@ -1,73 +1,64 @@
1-
# Ignore compiled files
2-
*.o
3-
*.out
1+
# =============================================================================
2+
# PROJECT-SPECIFIC IGNORES
3+
# =============================================================================
44

5+
# Project keys and sensitive data
56
anonymization_key.pkl
67

7-
# Ignore log files
8-
*.log
9-
requirements.in
10-
notebooks/requirements.in
11-
12-
# Ignore temporary files
13-
*.tmp
14-
notebooks/treatment_doc_extract/
15-
treatment_doc_extract/
16-
# Ignore files generated by your IDE or editor
17-
.idea/
18-
.vscode/
19-
20-
t1.ipynb
21-
22-
# Ignore node_modules directory
23-
node_modules/
24-
25-
# Ignore compiled Python bytecode
26-
__pycache__/
27-
28-
# Ignore macOS system files
29-
.DS_Store
30-
31-
# Ignore backup files
32-
*~
8+
# Project directories and outputs
9+
output_directory/
10+
output_directory/*
11+
notebooks/output_directory/
12+
notebooks/output_directory
13+
backups/
14+
logs/
3315

16+
# Development and testing
3417
dev_test/
3518
test_dev.ipynb
19+
live_test.ipynb
3620
paths.py
21+
temp_annot_file.csv
22+
notebooks/temp_annot_file.csv
3723

38-
backups/
39-
40-
util/cohort_searcher_dummy.ipynb
41-
42-
notebooks/new_project/*
43-
notebooks/new_project_ipw/*
44-
45-
output_directory/*
46-
47-
notebooks/pat2vec_projects/*
24+
# Project-specific notebooks and files
25+
t1.ipynb
26+
example_usage_DEV.ipynb
27+
notebooks/treatment_doc_extract/
28+
treatment_doc_extract/
29+
notebooks/treatment_docs.csv
4830

31+
# Pat2vec specific
32+
notebooks/pat2vec_projects/
4933
notebooks/pat2vec_projects/notebooks/example_usage_dev.ipynb
34+
notebooks/pat2vec_projects/new_project/
5035
notebooks/pat2vec_projects/new_project/*
36+
notebooks/pat2vec_projects/new_project_ipw/
5137
notebooks/pat2vec_projects/new_project_ipw/*
38+
pat2vec/notebooks/
39+
pat2vec/notebooks/*
5240

41+
# Project directories
42+
new_project/
43+
new_project_ipw/
44+
notebooks/new_project/
45+
notebooks/new_project/*
46+
notebooks/new_project_ipw/
47+
notebooks/new_project_ipw/*
5348

49+
# Utility and cohort files
50+
util/cohort_searcher_dummy.ipynb
51+
util/medcat_models/
5452
util/medcat_models/*
5553

56-
notebooks/output_directory/*
57-
58-
notebooks/output_directory
59-
example_usage_DEV.ipynb
60-
61-
myenv/*
62-
63-
pat2vec/notebooks/*
64-
logs/
65-
myenv
66-
pat2vec_env
67-
68-
notebooks/treatment_docs.csv
54+
# Project-specific data files
55+
notebooks/anonymization_log.json
56+
notebooks/my_project_outputfile_name_missing_dict.pickle
57+
notebooks/ipw_dataframe.csv
6958

70-
####### git template for python projects: ########
59+
# =============================================================================
60+
# PYTHON STANDARD IGNORES
61+
# =============================================================================
7162

7263
# Byte-compiled / optimized / DLL files
7364
__pycache__/
@@ -77,6 +68,10 @@ __pycache__/
7768
# C extensions
7869
*.so
7970

71+
# Compiled files
72+
*.o
73+
*.out
74+
8075
# Distribution / packaging
8176
.Python
8277
build/
@@ -98,8 +93,6 @@ share/python-wheels/
9893
MANIFEST
9994

10095
# PyInstaller
101-
# Usually these files are written by a python script from a template
102-
# before PyInstaller builds the exe, so as to inject date/other infos into it.
10396
*.manifest
10497
*.spec
10598

@@ -126,21 +119,21 @@ cover/
126119
*.mo
127120
*.pot
128121

129-
# Django stuff:
130-
*.log
122+
# Django stuff
131123
local_settings.py
132124
db.sqlite3
133125
db.sqlite3-journal
134126

135-
# Flask stuff:
127+
# Flask stuff
136128
instance/
137129
.webassets-cache
138130

139-
# Scrapy stuff:
131+
# Scrapy stuff
140132
.scrapy
141133

142134
# Sphinx documentation
143135
docs/_build/
136+
docs/source/generated/
144137

145138
# PyBuilder
146139
.pybuilder/
@@ -153,45 +146,6 @@ target/
153146
profile_default/
154147
ipython_config.py
155148

156-
#test file
157-
live_test.ipynb
158-
159-
new_project
160-
new_project_ipw
161-
162-
temp_annot_file.csv
163-
/notebooks/temp_annot_file.csv
164-
165-
# pyenv
166-
# For a library or package, you might want to ignore these files since the code is
167-
# intended to run in multiple environments; otherwise, check them in:
168-
# .python-version
169-
170-
# pipenv
171-
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
172-
# However, in case of collaboration, if having platform-specific dependencies or dependencies
173-
# having no cross-platform support, pipenv may install dependencies that don't work, or not
174-
# install all needed dependencies.
175-
#Pipfile.lock
176-
177-
# poetry
178-
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
179-
# This is especially recommended for binary packages to ensure reproducibility, and is more
180-
# commonly ignored for libraries.
181-
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
182-
#poetry.lock
183-
184-
# pdm
185-
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
186-
#pdm.lock
187-
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
188-
# in version control.
189-
# https://pdm.fming.dev/#use-with-ide
190-
.pdm.toml
191-
192-
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
193-
__pypackages__/
194-
195149
# Celery stuff
196150
celerybeat-schedule
197151
celerybeat.pid
@@ -207,6 +161,9 @@ venv/
207161
ENV/
208162
env.bak/
209163
venv.bak/
164+
myenv/
165+
myenv
166+
pat2vec_env
210167

211168
# Spyder project settings
212169
.spyderproject
@@ -233,11 +190,44 @@ dmypy.json
233190
cython_debug/
234191

235192
# PyCharm
236-
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
237-
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
238-
# and can be added to the global gitignore or merged into this file. For a more nuclear
239-
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
240193
#.idea/
241-
notebooks/anonymization_log.json
242-
notebooks/my_project_outputfile_name_missing_dict.pickle
243-
notebooks/ipw_dataframe.csv
194+
195+
# PEP 582
196+
__pypackages__/
197+
198+
# pdm
199+
.pdm.toml
200+
201+
# =============================================================================
202+
# DEVELOPMENT TOOLS AND EDITORS
203+
# =============================================================================
204+
205+
# IDE and editor files
206+
.idea/
207+
.vscode/
208+
209+
# =============================================================================
210+
# SYSTEM AND TEMPORARY FILES
211+
# =============================================================================
212+
213+
# Log files
214+
*.log
215+
216+
# Temporary files
217+
*.tmp
218+
219+
# macOS system files
220+
.DS_Store
221+
222+
# Backup files
223+
*~
224+
225+
# Node.js
226+
node_modules/
227+
228+
# =============================================================================
229+
# REQUIREMENTS AND DEPENDENCIES
230+
# =============================================================================
231+
232+
requirements.in
233+
notebooks/requirements.in

0 commit comments

Comments
 (0)