Opened 11 years ago
Closed 11 years ago
#22056 closed Cleanup/optimization (fixed)
Empty directories shouldn't be included to test modules
Description ¶
Currently empty directories are included to the tests modules. It's incredibly annoying especially when switching branches and git leaves empty directories.
To reproduce just create an empty directory inside django/tests/
Change History (5)
comment:1 by , 11 years ago
comment:2 by , 11 years ago
This may be find. Personally, I use a post-checkout hook:
# Delete .pyc files and empty directories. find . -name "*.pyc" -delete find . -type d -empty -delete
We could at least document that if there's any drawback to the PR.
comment:3 by , 11 years ago
Type: | Uncategorized → Cleanup/optimization |
---|
comment:4 by , 11 years ago
Has patch: | set |
---|---|
Triage Stage: | Unreviewed → Accepted |
comment:5 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Pull request
https://github.com/django/django/pull/2292