Jelmer Vernooij il y a 3 ans
Parent
commit
36b951c386
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      dulwich/config.py

+ 1 - 1
dulwich/config.py

@@ -387,7 +387,7 @@ class ConfigFile(ConfigDict):
         super(ConfigFile, self).__init__(values=values, encoding=encoding)
         self.path = None
 
-    @classmethod
+    @classmethod  # noqa: C901
     def from_file(cls, f: BinaryIO) -> "ConfigFile":  # noqa: C901
         """Read configuration from a file-like object."""
         ret = cls()