Add a mypy run to the pipeline

This commit is contained in:
Benedikt Brückmann 2021-03-12 08:49:40 +01:00 committed by Hans-Christoph Steiner
parent 7e60acb259
commit 8f0712e89b
4 changed files with 27 additions and 5 deletions

View file

@ -34,7 +34,7 @@ from .exception import BuildException, VCSException
config = None
options = None
DEFAULT_JSON_PER_BUILD = {'errors': [], 'warnings': [], 'infos': []}
DEFAULT_JSON_PER_BUILD = {'errors': [], 'warnings': [], 'infos': []} # type: ignore
json_per_build = DEFAULT_JSON_PER_BUILD
MAVEN_URL_REGEX = re.compile(r"""\smaven\s*{.*?(?:setUrl|url)\s*=?\s*(?:uri)?\(?\s*["']?([^\s"']+)["']?[^}]*}""",