From 76ba0924be14d55d01db0506b3e6a930cc72bf0d Mon Sep 17 00:00:00 2001 From: Giel van Schijndel Date: Fri, 23 Apr 2021 12:24:53 +0200 Subject: improvement(mypy): ignore false positives --- git/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'git/config.py') diff --git a/git/config.py b/git/config.py index aadb0aac..1cb80475 100644 --- a/git/config.py +++ b/git/config.py @@ -216,7 +216,7 @@ def get_config_path(config_level: Literal['system', 'global', 'user', 'repositor raise ValueError("Invalid configuration level: %r" % config_level) -class GitConfigParser(with_metaclass(MetaParserBuilder, cp.RawConfigParser, object)): +class GitConfigParser(with_metaclass(MetaParserBuilder, cp.RawConfigParser, object)): # type: ignore ## mypy does not understand dynamic class creation # noqa: E501 """Implements specifics required to read git style configuration files. -- cgit v1.2.1