Fix formatting.

This commit is contained in:
Jelmer Vernooij 2021-02-10 01:33:35 +00:00
parent 8aae9c93d8
commit 73e47483ff
No known key found for this signature in database
GPG key ID: 579C160D4C9E23E8
2 changed files with 2 additions and 2 deletions

View file

@ -62,7 +62,7 @@ STAGE_MAP = {
} }
def main(): def main(): # noqa: C901
import argparse import argparse
parser = argparse.ArgumentParser() parser = argparse.ArgumentParser()

View file

@ -479,7 +479,7 @@ class Cabal(BuildSystem):
self.path = path self.path = path
def detect_buildsystems(path, trust_package=False): def detect_buildsystems(path, trust_package=False): # noqa: C901
"""Detect build systems.""" """Detect build systems."""
if os.path.exists(os.path.join(path, "package.xml")): if os.path.exists(os.path.join(path, "package.xml")):
logging.info("Found package.xml, assuming pear package.") logging.info("Found package.xml, assuming pear package.")