Skip to content

Commit ae5b28f

Browse files
authored
Stricter pyright checks for inifile (#10382)
1 parent aab9fdd commit ae5b28f

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

pyrightconfig.stricter.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@
5252
"stubs/protobuf",
5353
"stubs/google-cloud-ndb",
5454
"stubs/influxdb-client",
55-
"stubs/inifile",
5655
"stubs/passlib",
5756
"stubs/peewee",
5857
"stubs/pexpect",

stubs/inifile/inifile.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class Dialect:
4545
def linesep(self) -> str | None: ...
4646
def get_actual_linesep(self) -> str: ...
4747
def get_strippable_lineseps(self) -> str: ...
48-
def kv_serialize(self, key, val: str | None) -> str | None: ...
48+
def kv_serialize(self, key: str, val: str | None) -> str | None: ...
4949
def escape(self, value: str, quote: str | None = ...) -> str: ...
5050
def unescape(self, value: str) -> str: ...
5151
def to_string(self, value: bool | float | str) -> str: ...

0 commit comments

Comments
 (0)