Stricter pyright checks for inifile (#10382)

This commit is contained in:
Nikita Sobolev
2023-06-29 00:57:25 +03:00
committed by GitHub
parent aab9fdd86a
commit ae5b28ff37
2 changed files with 1 additions and 2 deletions

View File

@@ -52,7 +52,6 @@
"stubs/protobuf",
"stubs/google-cloud-ndb",
"stubs/influxdb-client",
"stubs/inifile",
"stubs/passlib",
"stubs/peewee",
"stubs/pexpect",

View File

@@ -45,7 +45,7 @@ class Dialect:
def linesep(self) -> str | None: ...
def get_actual_linesep(self) -> str: ...
def get_strippable_lineseps(self) -> str: ...
def kv_serialize(self, key, val: str | None) -> str | None: ...
def kv_serialize(self, key: str, val: str | None) -> str | None: ...
def escape(self, value: str, quote: str | None = ...) -> str: ...
def unescape(self, value: str) -> str: ...
def to_string(self, value: bool | float | str) -> str: ...