Skip to content

Commit

Permalink
docs: add .readthedocs.yaml to migrate to RTD v2
Browse files Browse the repository at this point in the history
Reformats tests to comply with black code style.

Closes reanahub/reana#710
  • Loading branch information
giuseppe-steduto committed Jun 27, 2023
1 parent 34d4be9 commit 6524827
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 2 deletions.
19 changes: 19 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# This file is part of REANA.
# Copyright (C) 2023 CERN.
#
# REANA is free software; you can redistribute it and/or modify it
# under the terms of the MIT License; see LICENSE file for more details.

version: 2

build:
os: ubuntu-22.04
tools:
python: "3.8"

sphinx:
configuration: docs/conf.py

python:
install:
- requirements: docs/requirements.txt
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ include *.sh
include *.yaml
include .flake8
include pytest.ini
exclude .readthedocs.yaml
recursive-include reana_db *.py
recursive-include reana_db *.mako
recursive-include reana_db .gitkeep
Expand Down
1 change: 0 additions & 1 deletion tests/test_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,6 @@ def test_workflow_termination_user_quota_usage(
"reana_db.utils.WORKFLOW_TERMINATION_QUOTA_UPDATE_POLICY",
workflow_termination_quota_update_policy,
):

time_elapsed_seconds = 0.5
num_workflows = 2
for n in range(num_workflows):
Expand Down
1 change: 0 additions & 1 deletion tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
def test_build_workspace_path(
user_id, workflow_id, workspace_root_path, workspace_path
):

"""Tests for build_workspace_path()."""
from reana_db.utils import build_workspace_path

Expand Down

0 comments on commit 6524827

Please sign in to comment.