|
| 1 | +# This .gitignore file is based on SSB's recommended gitignore template stored |
| 2 | +# in: https://github.com/statisticsnorway/kvakk-git-tools |
| 3 | +# It contains three sections: SSB specific ignores, GitHub's Python-ignore |
| 4 | +# template and GitHub's R-ignore template. |
| 5 | + |
| 6 | + |
| 7 | +# The section below contains SSB specific ignores, not included in the Python- |
| 8 | +# and R-ignores from GitHub. |
| 9 | +*.csv |
| 10 | +*.db |
| 11 | +*.feather |
| 12 | +*.parquet |
| 13 | +*.sas7bdat |
| 14 | +*.xls |
| 15 | +*.xlsx |
| 16 | +*.zip |
| 17 | + |
| 18 | +# The section below is from the GitHub .gitignore template for Python: |
| 19 | +# https://raw.githubusercontent.com/github/gitignore/main/Python.gitignore |
| 20 | + |
1 | 21 | # Byte-compiled / optimized / DLL files
|
2 | 22 | __pycache__/
|
3 | 23 | *.py[cod]
|
|
21 | 41 | sdist/
|
22 | 42 | var/
|
23 | 43 | wheels/
|
24 |
| -pip-wheel-metadata/ |
25 | 44 | share/python-wheels/
|
26 | 45 | *.egg-info/
|
27 | 46 | .installed.cfg
|
@@ -84,15 +103,11 @@ target/
|
84 | 103 | profile_default/
|
85 | 104 | ipython_config.py
|
86 | 105 |
|
87 |
| -# pyenv |
88 |
| -.python-version |
89 |
| - |
90 |
| -# pipenv |
91 |
| -# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control. |
92 |
| -# However, in case of collaboration, if having platform-specific dependencies or dependencies |
93 |
| -# having no cross-platform support, pipenv may install dependencies that don't work, or not |
94 |
| -# install all needed dependencies. |
95 |
| -#Pipfile.lock |
| 106 | +# pdm |
| 107 | +# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it |
| 108 | +# in version control. |
| 109 | +# https://pdm.fming.dev/#use-with-ide |
| 110 | +.pdm.toml |
96 | 111 |
|
97 | 112 | # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
|
98 | 113 | __pypackages__/
|
@@ -131,9 +146,61 @@ dmypy.json
|
131 | 146 | # Pyre type checker
|
132 | 147 | .pyre/
|
133 | 148 |
|
134 |
| -# PyCharm |
135 |
| -.idea/ |
| 149 | +# pytype static type analyzer |
| 150 | +.pytype/ |
| 151 | + |
| 152 | +# Cython debug symbols |
| 153 | +cython_debug/ |
| 154 | + |
| 155 | +# The section below is from the GitHub .gitignore template for R: |
| 156 | +# https://raw.githubusercontent.com/github/gitignore/main/R.gitignore |
| 157 | + |
| 158 | +# History files |
| 159 | +.Rhistory |
| 160 | +.Rapp.history |
| 161 | + |
| 162 | +# Session Data files |
| 163 | +.RData |
| 164 | +.RDataTmp |
| 165 | + |
| 166 | +# User-specific files |
| 167 | +.Ruserdata |
| 168 | + |
| 169 | +# Example code in package build process |
| 170 | +*-Ex.R |
| 171 | + |
| 172 | +# Output files from R CMD build |
| 173 | +/*.tar.gz |
| 174 | + |
| 175 | +# Output files from R CMD check |
| 176 | +/*.Rcheck/ |
| 177 | + |
| 178 | +# RStudio files |
| 179 | +.Rproj.user/ |
| 180 | + |
| 181 | +# produced vignettes |
| 182 | +vignettes/*.html |
| 183 | +vignettes/*.pdf |
| 184 | + |
| 185 | +# OAuth2 token, see https://github.com/hadley/httr/releases/tag/v0.3 |
| 186 | +.httr-oauth |
| 187 | + |
| 188 | +# knitr and R markdown default cache directories |
| 189 | +*_cache/ |
| 190 | +/cache/ |
| 191 | + |
| 192 | +# Temporary files created by R markdown |
| 193 | +*.utf8.md |
| 194 | +*.knit.md |
| 195 | + |
| 196 | +# R Environment Variables |
| 197 | +.Renviron |
| 198 | + |
| 199 | +# translation temp files |
| 200 | +po/*~ |
| 201 | + |
| 202 | +# RStudio Connect folder |
| 203 | +rsconnect/ |
136 | 204 |
|
137 |
| -/.python-version |
138 |
| -/.pytype/ |
139 |
| -/docs/_build/ |
| 205 | +# ignore poetry in .config |
| 206 | +.poetry/** |
0 commit comments