Skip to content

Typing

AutotypingSettingsDict

Bases: TypedDict

A utility TypedDict to be used in user code settings.

AUTOTYPING: AutotypingSettingsDict = {
    "IGNORE": ["DJA001"],
    ...
}
Source code in src/django_autotyping/typing.py
class AutotypingSettingsDict(TypedDict, total=False):
    """A utility `TypedDict` to be used in user code settings.

    ```python
    AUTOTYPING: AutotypingSettingsDict = {
        "IGNORE": ["DJA001"],
        ...
    }
    ```
    """

    IGNORE: list[RulesT]
    """A list of ignored rules."""

    STUBS_GENERATION: StubsGenerationSettingsDict
    """Stub related settings."""

    CODE_GENERATION: CodeGenerationSettingsDict
    """Code generation related settings."""