Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d6aae1 commit be7bb86Copy full SHA for be7bb86
git/config.py
@@ -20,7 +20,6 @@
20
defenc,
21
force_text,
22
is_win,
23
- with_metaclass,
24
)
25
26
from git.util import LockFile
@@ -238,7 +237,7 @@ def get_config_path(config_level: Lit_config_levels) -> str:
238
237
assert_never(config_level, ValueError(f"Invalid configuration level: {config_level!r}"))
239
240
241
-class GitConfigParser(with_metaclass(MetaParserBuilder, cp.RawConfigParser)): # type: ignore ## mypy does not understand dynamic class creation # noqa: E501
+class GitConfigParser(cp.RawConfigParser, metaclass=MetaParserBuilder):
242
243
"""Implements specifics required to read git style configuration files.
244
0 commit comments