mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 12:44:28 +08:00
Mark passlib as completed (#9302)
This commit is contained in:
@@ -34,3 +34,20 @@ passlib.utils.handlers.GenericHandler.setting_kwds
|
||||
# set to None on class level, but initialized in __init__
|
||||
passlib.utils.handlers.HasManyIdents.ident
|
||||
passlib.utils.handlers.HasRounds.rounds
|
||||
|
||||
# Errors in `__all__` at runtime:
|
||||
# TODO: change after https://github.com/python/mypy/pull/14217 is released
|
||||
passlib.handlers.oracle
|
||||
passlib.handlers.oracle.oracle11g
|
||||
passlib.handlers.oracle.oracle10g
|
||||
passlib.handlers.mysql
|
||||
passlib.handlers.mysql.mysq41
|
||||
|
||||
# Mutable state because of the warnigns:
|
||||
passlib.utils.des.__warningregistry__
|
||||
|
||||
# Compat tools are ignored:
|
||||
passlib.utils.compat.*
|
||||
|
||||
# Tests are not included:
|
||||
passlib.tests.*
|
||||
|
||||
@@ -1 +1,4 @@
|
||||
version = "1.7.*"
|
||||
|
||||
[tool.stubtest]
|
||||
ignore_missing_stub = false
|
||||
|
||||
@@ -17,6 +17,8 @@ hex_sha512: Any
|
||||
class htdigest(uh.MinimalHandler):
|
||||
name: ClassVar[str]
|
||||
default_encoding: ClassVar[str]
|
||||
setting_kwds: ClassVar[tuple[str, ...]]
|
||||
context_kwds: ClassVar[tuple[str, ...]]
|
||||
@classmethod
|
||||
def hash(cls, secret, user, realm, encoding: Any | None = ...): ... # type: ignore[override]
|
||||
@classmethod
|
||||
|
||||
@@ -15,6 +15,8 @@ class unix_fallback(DisabledHash, uh.StaticHandler):
|
||||
class unix_disabled(DisabledHash, uh.MinimalHandler):
|
||||
name: ClassVar[str]
|
||||
default_marker: ClassVar[str]
|
||||
setting_kwds: ClassVar[tuple[str, ...]]
|
||||
context_kwds: ClassVar[tuple[str, ...]]
|
||||
@classmethod
|
||||
def using(cls, marker: Any | None = ..., **kwds): ... # type: ignore[override]
|
||||
@classmethod
|
||||
@@ -33,6 +35,8 @@ class unix_disabled(DisabledHash, uh.MinimalHandler):
|
||||
class plaintext(uh.MinimalHandler):
|
||||
name: ClassVar[str]
|
||||
default_encoding: ClassVar[str]
|
||||
setting_kwds: ClassVar[tuple[str, ...]]
|
||||
context_kwds: ClassVar[tuple[str, ...]]
|
||||
@classmethod
|
||||
def identify(cls, hash: str | bytes): ...
|
||||
@classmethod
|
||||
|
||||
Reference in New Issue
Block a user