summaryrefslogtreecommitdiff
path: root/cli.py
diff options
context:
space:
mode:
authorDominik Holland <dominik.holland@qt.io>2021-07-05 16:30:32 +0200
committerDominik Holland <dominik.holland@googlemail.com>2022-01-27 13:50:04 +0100
commit73da49d5914dad7a5334a48f937d02b52000cff6 (patch)
tree8f0d2353405b22dd1c697f47074aaa9e39c877ec /cli.py
parent0ad45a6f0a5d113ed04f71a1499d8f7741475ce0 (diff)
downloadqtivi-qface-73da49d5914dad7a5334a48f937d02b52000cff6.tar.gz
Fix deprecated API usage
In addition fix all warnings found by flake. Also enable flake8 checks and more verbose test output on the CI.
Diffstat (limited to 'cli.py')
-rwxr-xr-xcli.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/cli.py b/cli.py
index ba31cc4..b7dc56f 100755
--- a/cli.py
+++ b/cli.py
@@ -15,7 +15,7 @@ import logging.config
here = Path(__file__).abspath().dirname()
-logging.config.dictConfig(yaml.load((here / 'log.yaml').open()))
+logging.config.dictConfig(yaml.load((here / 'log.yaml').open(), Loader=yaml.FullLoader))
logger = logging.getLogger(__name__)
@@ -84,11 +84,11 @@ def pack():
sh('unzip -l dist/*.whl')
-@cli.command()
-def docs_serve():
- server = Server()
- server.watch('docs/*.rst', shell('make html', cwd='docs'))
- server.serve(root='docs/_build/html', open_url=True)
+#@cli.command()
+#def docs_serve():
+# server = Server()
+# server.watch('docs/*.rst', shell('make html', cwd='docs'))
+# server.serve(root='docs/_build/html', open_url=True)
@cli.command()