Declare __all__ in all re-exporting packages
Then, the linters know the imports are re-exports and not unused.
This commit is contained in:
parent
e5c7487515
commit
732a74be1c
1 changed files with 33 additions and 0 deletions
|
|
@ -7,3 +7,14 @@ from tests.db.fake_data.factories.orders import AdHocOrderFactory
|
|||
from tests.db.fake_data.factories.orders import ReplayedOrderFactory
|
||||
from tests.db.fake_data.factories.orders import ScheduledOrderFactory
|
||||
from tests.db.fake_data.factories.restaurants import RestaurantFactory
|
||||
|
||||
|
||||
__all__ = [
|
||||
"AdHocOrderFactory",
|
||||
"AddressFactory",
|
||||
"CourierFactory",
|
||||
"CustomerFactory",
|
||||
"ReplayedOrderFactory",
|
||||
"RestaurantFactory",
|
||||
"ScheduledOrderFactory",
|
||||
]
|
||||
|
|
|
|||
Loading…
Reference in a new issue