From 62eae43efbf73c4d27bb70d5db00fbdbb6c10c5c Mon Sep 17 00:00:00 2001 From: "clemens.fricke" Date: Tue, 21 Nov 2023 15:09:48 +0100 Subject: [PATCH 1/3] Ft: add urls to the project definition, version bump --- pyproject.toml | 6 ++++++ releso/__version__.py | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 6e4f61d..5d142f5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -29,6 +29,12 @@ dynamic = [ file = "README.md" content-type = "text/markdown" +[project.urls] +homepage = "https://github.com/clemens-fricke/releso" +documentation = "https://releso.readthedocs.io/en/latest/" +issues = "https://github.com/clemens-fricke/releso/issues" +repository = "https://github.com/clemens-fricke/releso.git" + [project.optional-dependencies] all = [ "splinepy[all]" diff --git a/releso/__version__.py b/releso/__version__.py index 9006334..3379219 100644 --- a/releso/__version__.py +++ b/releso/__version__.py @@ -2,4 +2,4 @@ Current version. """ -version = "0.1.0" +version = "0.1.1" From 4c4744f459ca3c432140907012a67a4991d6c1c8 Mon Sep 17 00:00:00 2001 From: "clemens.fricke" Date: Tue, 21 Nov 2023 15:16:05 +0100 Subject: [PATCH 2/3] Ft: update git workflows --- .github/workflows/build_and_upload_wheels.yml | 2 +- .github/workflows/pre_commit.yml | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/pre_commit.yml diff --git a/.github/workflows/build_and_upload_wheels.yml b/.github/workflows/build_and_upload_wheels.yml index d03e723..952f266 100644 --- a/.github/workflows/build_and_upload_wheels.yml +++ b/.github/workflows/build_and_upload_wheels.yml @@ -2,7 +2,7 @@ name: pypi upload on: push: - branches: ["main", "ft-packaging"] + branches: ["main"] jobs: wheel_build_full: diff --git a/.github/workflows/pre_commit.yml b/.github/workflows/pre_commit.yml new file mode 100644 index 0000000..c2f7e71 --- /dev/null +++ b/.github/workflows/pre_commit.yml @@ -0,0 +1,14 @@ +name: pre-commit + +on: + pull_request: + push: + branches: [main] + +jobs: + pre-commit: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-python@v3 + - uses: pre-commit/action@v3.0.0 From f1eb591551839fd60f9f1c771d0029fb159061d6 Mon Sep 17 00:00:00 2001 From: "clemens.fricke" Date: Tue, 21 Nov 2023 15:19:38 +0100 Subject: [PATCH 3/3] Fix: format error in example file --- examples/poiseuille_flow_channel_shear_thinning.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/poiseuille_flow_channel_shear_thinning.py b/examples/poiseuille_flow_channel_shear_thinning.py index 23cc508..f9068f0 100644 --- a/examples/poiseuille_flow_channel_shear_thinning.py +++ b/examples/poiseuille_flow_channel_shear_thinning.py @@ -288,7 +288,7 @@ def compute_quality_criterion( def calculate_reward( quality_criterions: np.ndarray, last_quality_criterions: np.ndarray, - **kwargs + **kwargs, ) -> float: """Function that actually calculates the reward.