From 5e1d466a96cd1dc1078b666bdc7819ced992ea37 Mon Sep 17 00:00:00 2001 From: Alexander Date: Thu, 9 Jan 2025 14:36:40 +0100 Subject: [PATCH] U --- .github/workflows/ci-capacity-settlement.yml | 3 +++ source/capacity_settlement/src/capacity_settlement/__init__.py | 1 + .../capacity_settlement/src/capacity_settlement/entry_point.py | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci-capacity-settlement.yml b/.github/workflows/ci-capacity-settlement.yml index be9c0897..ed61e9de 100644 --- a/.github/workflows/ci-capacity-settlement.yml +++ b/.github/workflows/ci-capacity-settlement.yml @@ -29,7 +29,10 @@ jobs: with: job_name: ${{ matrix.tests_filter_expression.name }} operating_system: dh3-ubuntu-20.04-4core + + # The path_static_checks parameter specifies the directory where static code analysis tools (such as linters or formatters) should be run. path_static_checks: ./source/capacity_settlement + # documented here: https://github.com/Energinet-DataHub/opengeh-wholesale/tree/main/source/databricks#styling-and-formatting ignore_errors_and_warning_flake8: E501,F401,E402,E203,W503 tests_folder_path: ./source/capacity_settlement/tests diff --git a/source/capacity_settlement/src/capacity_settlement/__init__.py b/source/capacity_settlement/src/capacity_settlement/__init__.py index e69de29b..20ce06c5 100644 --- a/source/capacity_settlement/src/capacity_settlement/__init__.py +++ b/source/capacity_settlement/src/capacity_settlement/__init__.py @@ -0,0 +1 @@ +from application.execute_with_deps import execute_with_deps diff --git a/source/capacity_settlement/src/capacity_settlement/entry_point.py b/source/capacity_settlement/src/capacity_settlement/entry_point.py index d23023a1..f6119e9d 100644 --- a/source/capacity_settlement/src/capacity_settlement/entry_point.py +++ b/source/capacity_settlement/src/capacity_settlement/entry_point.py @@ -1,6 +1,6 @@ import os -from .application.execute_with_deps import ( +from application.execute_with_deps import ( execute_with_deps, )