diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index f45d5c6..0779eef 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -2,10 +2,10 @@ name: Tests on: push: branches: - - '*' + - "*" pull_request: branches: - - '*' + - "*" jobs: tests: name: ${{ matrix.name }} diff --git a/pyproject.toml b/pyproject.toml index 4b511dc..85cdc61 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,7 @@ [build-system] -build-backend = "flit_core.buildapi" -requires = ["flit_core >=3.5,<4"] +build-backend = "hatchling.build" +requires = ["hatchling"] + [project] authors = [ @@ -34,12 +35,9 @@ dependencies = [ [project.optional-dependencies] dev = [ "black", - "isort", "mypy", "pandas-stubs", - "pip-tools", "pre-commit", - "pylint", "pytest", "pytest-cov", "ruff", @@ -49,6 +47,9 @@ dev = [ [tool.flit.module] name = "pte_stats" +[tool.hatch.version] +path = "src/pte_stats/__init__.py" + [project.urls] bugtracker = "https://github.com/richardkoehler/pte-stats/issues" changelog = "https://github.com/richardkoehler/pte-stats/blob/main/doc/CHANGELOG.md" diff --git a/requirements/requirements.in b/requirements/requirements.in deleted file mode 100644 index 101aab6..0000000 --- a/requirements/requirements.in +++ /dev/null @@ -1,4 +0,0 @@ - numba - numpy - scikit-image - statsmodels diff --git a/requirements/requirements_deploy.in b/requirements/requirements_deploy.in deleted file mode 100644 index 7585f75..0000000 --- a/requirements/requirements_deploy.in +++ /dev/null @@ -1,3 +0,0 @@ --c requirements.txt --c requirements_dev.txt -flit diff --git a/requirements/requirements_dev.in b/requirements/requirements_dev.in deleted file mode 100644 index 045b963..0000000 --- a/requirements/requirements_dev.in +++ /dev/null @@ -1,9 +0,0 @@ --c requirements.txt -black -isort -mypy -pip-tools -pylint -pytest -pytest-cov -tox diff --git a/src/pte_stats/__init__.py b/src/pte_stats/__init__.py index 655b7f8..5200890 100644 --- a/src/pte_stats/__init__.py +++ b/src/pte_stats/__init__.py @@ -1,6 +1,6 @@ """An open-source software package for statistics with time series. """ -__version__ = "0.3.0.dev1" +__version__ = "0.3.0" from .cluster import ( cluster_analysis_1d,