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 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. 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"