-
Notifications
You must be signed in to change notification settings - Fork 0
Multiple Module Resource Imports
Vinicius Reif Biavatti edited this page Jul 25, 2022
·
1 revision
- If the amount of resources pass 2 (two) imports, or exceeds the line length, use multiple line imports
✅ Do
from typing import (
Iterable,
Final,
Union,
Optional,
NamedTuple,
ClassVar,
TYPE_CHECKING,
)
❌ Don't
from typing import Iterable, Final, Union, Optional, NamedTuple, ClassVar, \
TYPE_CHECKING
- Home
- Structural Naming Conventions
- Format Conventions
- Code Naming Conventions
- Inheritance
- Access Modifiers
- Importation
- Functions and Methods
- Documentation
- Resources