diff --git a/pyrightconfig.stricter.json b/pyrightconfig.stricter.json index 2fe331589..110f559be 100644 --- a/pyrightconfig.stricter.json +++ b/pyrightconfig.stricter.json @@ -52,7 +52,6 @@ "stubs/protobuf", "stubs/google-cloud-ndb", "stubs/influxdb-client", - "stubs/inifile", "stubs/passlib", "stubs/peewee", "stubs/pexpect", diff --git a/stubs/inifile/inifile.pyi b/stubs/inifile/inifile.pyi index ec8c93226..a4cf997e8 100644 --- a/stubs/inifile/inifile.pyi +++ b/stubs/inifile/inifile.pyi @@ -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: ...