mirror of
https://github.com/django-components/django-components.git
synced 2025-08-31 11:17:21 +00:00
refactor: exclude underscored files from autodiscovery (#888)
This commit is contained in:
parent
1e4b556b4d
commit
203d29f511
6 changed files with 21 additions and 4 deletions
0
tests/components/_ignored_dir/__init__.py
Normal file
0
tests/components/_ignored_dir/__init__.py
Normal file
2
tests/components/_ignored_dir/ignored_file.py
Normal file
2
tests/components/_ignored_dir/ignored_file.py
Normal file
|
@ -0,0 +1,2 @@
|
|||
# This file checks that the autodiscovery does not load files from
|
||||
# subdirs that start with an underscore.
|
1
tests/components/_ignored_file.py
Normal file
1
tests/components/_ignored_file.py
Normal file
|
@ -0,0 +1 @@
|
|||
# This file checks that the autodiscovery does not load files that start with an underscore.
|
Loading…
Add table
Add a link
Reference in a new issue