Skip to content
Prev Previous commit
Rmv with_metclass() shim again
  • Loading branch information
Yobmod committed Jul 24, 2021
commit be7bb868279f61d55594059690904baabe30503c
3 changes: 1 addition & 2 deletions git/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
defenc,
force_text,
is_win,
with_metaclass,
)

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


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

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

Expand Down