Browse Source

pep8 fix

pull/8/head
Daniel Gyulai 3 years ago
parent
commit
8fb20cc42e
  1. 1
      alice-ci/src/alice/__init__.py
  2. 2
      alice-ci/src/alice/__main__.py
  3. 2
      alice-ci/src/alice/cli.py

1
alice-ci/src/alice/__init__.py

@ -1,3 +1,4 @@
# flake8: noqa F401
from .cli import App
from .jobparser import Job, JobParser
from .exceptions import NonZeroRetcode

2
alice-ci/src/alice/__main__.py

@ -1,3 +1,3 @@
from .cli import main
main()
main()

2
alice-ci/src/alice/cli.py

@ -71,6 +71,7 @@ class App:
print(f"Step {step} not found in {args.input}")
exit(1)
def main():
pathToScriptDir = os.path.dirname(os.path.realpath(__file__))
repoDir = os.path.join(pathToScriptDir, "..")
@ -86,5 +87,6 @@ def main():
exit(1)
app.run(args, repoDir)
if __name__ == "__main__":
main()

Loading…
Cancel
Save