From 540319370a0a46cbf304ee77a583fb406ff5dfe5 Mon Sep 17 00:00:00 2001 From: Dennis Jabs Date: Wed, 15 Nov 2023 11:46:50 +0100 Subject: [PATCH] D. Jabs: - Updated workflow file - Fixed typo in documentation --- .github/workflows/PyHyperparameterSpace.yml | 9 +++------ PyHyperparameterSpace/hp/abstract_hp.py | 2 +- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/PyHyperparameterSpace.yml b/.github/workflows/PyHyperparameterSpace.yml index d57e3f3..43d116d 100644 --- a/.github/workflows/PyHyperparameterSpace.yml +++ b/.github/workflows/PyHyperparameterSpace.yml @@ -2,12 +2,9 @@ name: Build & Test PyHyperparameterSpace on: push: - paths: [ - "PyHyperparameterSpace", - "PyHyperparameterSpace/*", - "tests", - "tests/*" - ] + paths: + - "PyHyperparameterSpace/**" + - "tests/**" jobs: job: diff --git a/PyHyperparameterSpace/hp/abstract_hp.py b/PyHyperparameterSpace/hp/abstract_hp.py index df5f1e6..6b0fcef 100644 --- a/PyHyperparameterSpace/hp/abstract_hp.py +++ b/PyHyperparameterSpace/hp/abstract_hp.py @@ -15,7 +15,7 @@ class Hyperparameter(ABC): default (Any): Default value of the hyperparameter - shape (Union[int, tuple[int, ...], None]): + shape (Union[tuple[int, ...], None]): Shape of the hyperparameter """