Compare commits

...

5 Commits

Author SHA1 Message Date
Michael Stepner
87bd48c9c5
Merge 3c50c9f0af into d49bd6f0f7 2025-01-18 11:32:47 +00:00
Devin Dooley
d49bd6f0f7
Merge pull request #4289 from csauge/patch-1
Update Python.gitignore for .ruff_cache/
2025-01-17 13:20:13 -08:00
Devin Dooley
e8554d85bf
Merge branch 'main' into patch-1 2025-01-17 13:19:34 -08:00
Michael Stepner
3c50c9f0af
Update Stata.gitignore to ignore new auto backup files
Stata 18 introduced an auto-backup feature which creates a temporary file while a code file is open it its IDE.

These auto-backup files are analogous to the [Microsoft Office backup files that are gitignored](https://github.com/github/gitignore/blob/main/Global/MicrosoftOffice.gitignore).

[Ref](https://www.stata.com/manuals/gsm13.pdf):
> The Do-file Editor now creates a backup file whenever it opens a document or creates a new one.
> When an existing document is opened, Stata creates a backup file of a document that is saved to disk
> in the same directory using the existing document’s filename prefixed with ~ and with the extension
> .stswp. When you edit a new and unsaved document, it saves the backup file to the temp directory.
> When a document is closed, the backup file is deleted. However, if Stata does not exit cleanly because
> of a power outage or a computer crash, the backup file is left behind.
2023-06-14 23:47:24 -05:00
Christophe Saugé
4f0b7a0694
Update Python.gitignore
Add ruff cache. 
ruff tool: https://github.com/charliermarsh/ruff
ruff is becoming a very popular tool often run in pre-commit and aim to replace Flake8 (plus dozens of plugins), isort, pydocstyle, yesqa, eradicate, pyupgrade, and autoflake, all while executing tens or hundreds of times faster than any individual tool.
2023-05-01 20:49:13 +02:00
2 changed files with 4 additions and 0 deletions

View File

@ -8,6 +8,7 @@
*.smcl
*.stpr
*.stsem
~*.stswp
# Graphic export files from Stata
# Stata command graph export: http://www.stata.com/manuals14/g-2graphexport.pdf

View File

@ -167,5 +167,8 @@ cython_debug/
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/
# Ruff stuff:
.ruff_cache/
# PyPI configuration file
.pypirc