Fix formatting.
This commit is contained in:
parent
8aae9c93d8
commit
73e47483ff
2 changed files with 2 additions and 2 deletions
|
@ -62,7 +62,7 @@ STAGE_MAP = {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main(): # noqa: C901
|
||||||
import argparse
|
import argparse
|
||||||
|
|
||||||
parser = argparse.ArgumentParser()
|
parser = argparse.ArgumentParser()
|
||||||
|
|
|
@ -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.")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue