Skip to content

Commit

Permalink
applying formatting, attempting more path shenanigans to get docs wor…
Browse files Browse the repository at this point in the history
…king
  • Loading branch information
AndroxxTraxxon committed Oct 10, 2023
1 parent abda276 commit e5917ae
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 5 deletions.
1 change: 1 addition & 0 deletions bin/orquesta-generate-schemas
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import json
import os
import six
import sys
from pathlib import Path

from orquesta.specs import native

Expand Down
1 change: 0 additions & 1 deletion orquesta/conducting.py
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,6 @@ def log_entry(
result=None,
data=None,
):

# Check entry type.
if entry_type not in ["info", "warn", "error"]:
raise exc.WorkflowLogEntryError('The log entry type "%s" is not valid.' % entry_type)
Expand Down
2 changes: 0 additions & 2 deletions orquesta/tests/hacking/import_aliases_rule.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@


def get_alias(logical_line):

parts = logical_line.split()

if (
Expand All @@ -68,7 +67,6 @@ def get_alias(logical_line):
and parts[1] != "__future__"
and not core.is_import_exception(parts[1])
):

# from path.to.module import module
if len(parts) == 4:
return ".".join([parts[1], parts[3]]), None
Expand Down
2 changes: 0 additions & 2 deletions orquesta/tests/unit/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,6 @@ def format_task_item(
items_count=None,
items_concurrency=None,
):

if not actions and items_count is None:
actions = [{"action": spec.action, "input": spec.input}]

Expand Down Expand Up @@ -285,7 +284,6 @@ def assert_task_items(
concurrency=None,
mock_ac_ex_results=None,
):

# Set up test cases.
tests = list(zip(mock_ac_ex_statuses, expected_task_statuses, expected_workflow_statuses))
tk_ex_result = [None] * len(items)
Expand Down
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ usedevelop = True
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/requirements-docs.txt
-e .
commands =
python {toxinidir}/bin/orquesta-generate-schemas
sphinx-build -W -b html docs/source docs/build/html

0 comments on commit e5917ae

Please sign in to comment.