Skip to content

Improve gitignore

Christoph Lange requested to merge improve_gitignore into master
  • fix CI setup
  • add Latex related things to the .gitignore
  • use the user package name for all file names

@randolf.scholz Thank you for your suggestions:

# Ignore all files that start with a dot except git files
# Examples:
# - `.gitignore`
# - `.gitmodules`
.*
!**.git*

I think this rule is too general. There are other files that you ignore here. For instance .travis.yml. For more example, please take a look here: https://github.com/numpy/numpy But feel free to add more specific things, that you want to ignore to this Merge Request.

I think in general it is a good idea to ignore specific things than creating big ignore bucket. I also applied this rule to your second suggestion:

# Ignore everything that starts with double underscore
# Examples:
# - `__pycache__` folders
# - `__pypackages__`
# - `__MASOSX` folders
# - `__tex__` folders when compiling with `--output-directory=__tex__`
**__*
!**__*.py

The first two cases are already handled in the current .gitignore. Therefore I added your third __tex__ suggestion explicitly. So what kind of __MASOSX do you mean in particular?

Edited by Christoph Lange

Merge request reports