diff options
author | Dominik Holland <dominik.holland@qt.io> | 2021-07-05 16:30:32 +0200 |
---|---|---|
committer | Dominik Holland <dominik.holland@googlemail.com> | 2022-01-27 13:50:04 +0100 |
commit | 73da49d5914dad7a5334a48f937d02b52000cff6 (patch) | |
tree | 8f0d2353405b22dd1c697f47074aaa9e39c877ec /cli.py | |
parent | 0ad45a6f0a5d113ed04f71a1499d8f7741475ce0 (diff) | |
download | qtivi-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-x | cli.py | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -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() |