WIP merged up uv ports branches #618
Annotations
7 errors and 2 warnings
|
Run tests:
docs/conf.py#L1
isort-check
"""Sphinx configuration."""
from __future__ import print_function
-
from invenio_cli import __version__
|
Run tests:
invenio_cli/cli/cli.py#L1
Black format check
--- /home/runner/work/invenio-cli/invenio-cli/invenio_cli/cli/cli.py 2025-01-18 19:54:55.858688+00:00
+++ /home/runner/work/invenio-cli/invenio-cli/invenio_cli/cli/cli.py 2025-01-18 19:55:46.338309+00:00
@@ -234,11 +234,13 @@
response = cmds.ensure_containers_running()
# fail and exit if containers are not running
handle_process_response(response)
commands = LocalCommands(cli_config)
- processes = commands.run_worker(celery_log_file=celery_log_file, celery_log_level=celery_log_level)
+ processes = commands.run_worker(
+ celery_log_file=celery_log_file, celery_log_level=celery_log_level
+ )
for proc in processes:
proc.wait()
@run_group.command("all")
|
Run tests:
invenio_cli/commands/local.py#L1
pydocstyle-check
/home/runner/work/invenio-cli/invenio-cli/invenio_cli/commands/local.py:117 in public method `update_statics_and_assets`:
D202: No blank lines allowed after function docstring (found 1)
|
Run tests:
invenio_cli/commands/local.py#L1
Black format check
--- /home/runner/work/invenio-cli/invenio-cli/invenio_cli/commands/local.py 2025-01-18 19:54:55.859688+00:00
+++ /home/runner/work/invenio-cli/invenio-cli/invenio_cli/commands/local.py 2025-01-18 19:55:52.034844+00:00
@@ -260,11 +260,19 @@
proc = popen(celery_command)
self._handle_sigint("Celery worker", proc)
click.secho("Worker running!", fg="green")
return [proc]
- def run_all(self, host, port, debug=True, services=True, celery_log_file=None, celery_log_level="INFO"):
+ def run_all(
+ self,
+ host,
+ port,
+ debug=True,
+ services=True,
+ celery_log_file=None,
+ celery_log_level="INFO",
+ ):
"""Run all services."""
return [
*self.run_web(host, port, debug),
*self.run_worker(celery_log_file, celery_log_level),
]
|
Run tests:
invenio_cli/commands/packages.py#L1
pydocstyle-check
/home/runner/work/invenio-cli/invenio-cli/invenio_cli/commands/packages.py:53 in public method `outdated_packages`:
D202: No blank lines allowed after function docstring (found 1)
/home/runner/work/invenio-cli/invenio-cli/invenio_cli/commands/packages.py:172 in public method `is_locked`:
D202: No blank lines allowed after function docstring (found 1)
|
Run tests
The operation was canceled.
|
Run tests:
tests/commands/test_containers.py#L19
Marks applied to fixtures have no effect
See docs: https://docs.pytest.org/en/stable/deprecations.html#applying-a-mark-to-a-fixture-function
|
Run tests:
tests/commands/test_containers.py#L40
Marks applied to fixtures have no effect
See docs: https://docs.pytest.org/en/stable/deprecations.html#applying-a-mark-to-a-fixture-function
|
Loading