Skip to content

Commit

Permalink
Update .gitignore (#1678)
Browse files Browse the repository at this point in the history
This PR updates .gitignore, pruning some unnecessary bits and pieces and making some existing entries stricter.

For the .mypy_cache removal, note that a .mypy_cache directory already has its own .gitignore file, so there's no need to mention it in the repo-level .gitignore. Similarly, the htmlcov directory created by coverage html already includes its own .gitignore.
  • Loading branch information
mdickinson committed Aug 4, 2022
1 parent 7e6fd06 commit 7ce6475
Showing 1 changed file with 11 additions and 13 deletions.
24 changes: 11 additions & 13 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,20 +1,18 @@
.coverage.*
# file types to ignore
# Compiled Python bytecode
*.pyc

# Compiled C extensions
*.pyd
*.so
*.enamlc
*~
.DS_Store

# ignore the build directories
# Build directories
*.egg-info/
build/
dist/
docs/build/
/build/
/dist/
/docs/build/

# ignore mypy cache
.mypy_cache/
# Coverage artifacts
/.coverage

# Auto-generated by setup.py
traits/version.py
# Version file (auto-generated by setup.py)
/traits/version.py

0 comments on commit 7ce6475

Please sign in to comment.