Hi René,

Thanks for the feedback! From my observations, Django does not ignore 
hidden *files*,
it only ignores hidden *directories*. So, the files that you listed should 
work fine.

As for the built-in exclusion list, I'm not sure if we should add that. I 
think ignoring .git
by default is fine, but we shouldn't assume that people would like to 
ignore .coverage.

Regarding exclusion vs inclusion... I'm not sure what the best option is, 
though! :)

Sage


On Thursday, 1 October 2020 at 20:47:48 UTC+7 re...@fleschenberg.net wrote:

> Hi,
>
> I can see several use-cases for hidden files / directories in a project 
> template. Here are some examples from one of my current projects:
>
> .coveragerc
> .editorconfig
> .flake8
> .gitignore
> .gitlab-ci.yml
> .isort.cfg
>
> Instead of introducing a command line option to explicitly include 
> things, can we replace the current behavior with a built-in exclusion 
> list? And maybe an --exclude option to exclude additional things?
>
> Candidates for the exclusion list that come to my mind:
>
> __pycache__
> .git
> .coverage
>
> Regards,
> René
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/3f5fd60d-f830-4353-ae94-ce1649a6889an%40googlegroups.com.

Reply via email to