diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3396ec9..6b48392 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -18,12 +18,12 @@ repos: - requirements-dev.txt - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.4.3 + rev: v0.4.4 hooks: - id: ruff - repo: https://github.com/tox-dev/pyproject-fmt - rev: "1.8.0" + rev: "2.0.4" hooks: - id: pyproject-fmt diff --git a/pyproject.toml b/pyproject.toml index 30ea868..fd44d88 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,7 +2,7 @@ build-backend = "setuptools.build_meta" requires = [ "setuptools>=42", - "setuptools_scm[toml]>=3.4", + "setuptools-scm[toml]>=3.4", "wheel", ] @@ -10,9 +10,9 @@ requires = [ name = "pocean-core" description = "A python framework for working with met-ocean data" readme = "README.md" -license = {file = "LICENSE.txt"} +license = { file = "LICENSE.txt" } authors = [ - {name = "Kyle Wilcox", email = "kyle@axds.co"}, + { name = "Kyle Wilcox", email = "kyle@axds.co" }, ] requires-python = ">=3.8" classifiers = [ @@ -36,13 +36,14 @@ dependencies = [ "shapely>=1.8", "simplejson", ] -[project.urls] -documentation = "https://pyoceans.github.io/pocean-core" -homepage = "https://pypi.org/project/pocean-core/" -repository = "https://github.com/pyoceans/pocean-core" +urls.documentation = "https://pyoceans.github.io/pocean-core" +urls.homepage = "https://pypi.org/project/pocean-core/" +urls.repository = "https://github.com/pyoceans/pocean-core" [tool.setuptools] -packages = ["pocean"] +packages = [ + "pocean", +] [tool.setuptools_scm] write_to = "pocean/_version.py" @@ -67,7 +68,6 @@ exclude = [ line-length = 100 - lint.ignore = [ #"E265", #"E221",