Skip to content

Commit be7bb86

Browse files
committed
Rmv with_metclass() shim again
1 parent 6d6aae1 commit be7bb86

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

git/config.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
defenc,
2121
force_text,
2222
is_win,
23-
with_metaclass,
2423
)
2524

2625
from git.util import LockFile
@@ -238,7 +237,7 @@ def get_config_path(config_level: Lit_config_levels) -> str:
238237
assert_never(config_level, ValueError(f"Invalid configuration level: {config_level!r}"))
239238

240239

241-
class GitConfigParser(with_metaclass(MetaParserBuilder, cp.RawConfigParser)): # type: ignore ## mypy does not understand dynamic class creation # noqa: E501
240+
class GitConfigParser(cp.RawConfigParser, metaclass=MetaParserBuilder):
242241

243242
"""Implements specifics required to read git style configuration files.
244243

0 commit comments

Comments
 (0)