mirror of
https://github.com/davidhalter/django-stubs.git
synced 2026-03-03 22:06:54 +08:00
move generated stubs to separate directory, too messty
This commit is contained in:
39
django-stubs-generated/core/checks/security/base.pyi
Normal file
39
django-stubs-generated/core/checks/security/base.pyi
Normal file
@@ -0,0 +1,39 @@
|
||||
from typing import Any, List, Optional
|
||||
|
||||
from django.core.checks.messages import Warning
|
||||
|
||||
SECRET_KEY_MIN_LENGTH: int
|
||||
SECRET_KEY_MIN_UNIQUE_CHARACTERS: int
|
||||
W001: Any
|
||||
W002: Any
|
||||
W004: Any
|
||||
W005: Any
|
||||
W006: Any
|
||||
W007: Any
|
||||
W008: Any
|
||||
W009: Any
|
||||
W018: Any
|
||||
W019: Any
|
||||
W020: Any
|
||||
W021: Any
|
||||
|
||||
def check_security_middleware(
|
||||
app_configs: None, **kwargs: Any
|
||||
) -> List[Warning]: ...
|
||||
def check_xframe_options_middleware(
|
||||
app_configs: None, **kwargs: Any
|
||||
) -> List[Warning]: ...
|
||||
def check_sts(app_configs: None, **kwargs: Any) -> List[Warning]: ...
|
||||
def check_sts_include_subdomains(
|
||||
app_configs: None, **kwargs: Any
|
||||
) -> List[Warning]: ...
|
||||
def check_sts_preload(app_configs: None, **kwargs: Any) -> List[Warning]: ...
|
||||
def check_content_type_nosniff(
|
||||
app_configs: None, **kwargs: Any
|
||||
) -> List[Warning]: ...
|
||||
def check_xss_filter(app_configs: None, **kwargs: Any) -> List[Warning]: ...
|
||||
def check_ssl_redirect(app_configs: None, **kwargs: Any) -> List[Warning]: ...
|
||||
def check_secret_key(app_configs: None, **kwargs: Any) -> List[Warning]: ...
|
||||
def check_debug(app_configs: None, **kwargs: Any) -> List[Warning]: ...
|
||||
def check_xframe_deny(app_configs: None, **kwargs: Any) -> List[Warning]: ...
|
||||
def check_allowed_hosts(app_configs: None, **kwargs: Any) -> List[Warning]: ...
|
||||
13
django-stubs-generated/core/checks/security/csrf.pyi
Normal file
13
django-stubs-generated/core/checks/security/csrf.pyi
Normal file
@@ -0,0 +1,13 @@
|
||||
from typing import Any, List, Optional
|
||||
|
||||
from django.core.checks.messages import Warning
|
||||
|
||||
W003: Any
|
||||
W016: Any
|
||||
|
||||
def check_csrf_middleware(
|
||||
app_configs: None, **kwargs: Any
|
||||
) -> List[Warning]: ...
|
||||
def check_csrf_cookie_secure(
|
||||
app_configs: None, **kwargs: Any
|
||||
) -> List[Warning]: ...
|
||||
23
django-stubs-generated/core/checks/security/sessions.pyi
Normal file
23
django-stubs-generated/core/checks/security/sessions.pyi
Normal file
@@ -0,0 +1,23 @@
|
||||
from typing import Any, List, Optional
|
||||
|
||||
from django.core.checks.messages import Warning
|
||||
|
||||
|
||||
def add_session_cookie_message(message: Any): ...
|
||||
|
||||
W010: Any
|
||||
W011: Any
|
||||
W012: Any
|
||||
|
||||
def add_httponly_message(message: Any): ...
|
||||
|
||||
W013: Any
|
||||
W014: Any
|
||||
W015: Any
|
||||
|
||||
def check_session_cookie_secure(
|
||||
app_configs: None, **kwargs: Any
|
||||
) -> List[Warning]: ...
|
||||
def check_session_cookie_httponly(
|
||||
app_configs: None, **kwargs: Any
|
||||
) -> List[Warning]: ...
|
||||
Reference in New Issue
Block a user