Commit 3ad622f2 authored by Joseph Siddons's avatar Joseph Siddons
Browse files

deps: update dependency min version

parent e9576751
This commit is part of merge request !21. Comments created here will be created in the context of that merge request.
[build-system] [build-system]
requires = [ requires = [
"setuptools>=42", "setuptools>=42",
"wheel", "wheel",
"setuptools_scm[toml]>=3.4", "setuptools_scm[toml]>=3.4",
"setuptools_scm_git_archive" "setuptools_scm_git_archive",
] ]
build-backend = "setuptools.build_meta" build-backend = "setuptools.build_meta"
...@@ -13,90 +13,73 @@ packages = ["GeoSpatialTools"] ...@@ -13,90 +13,73 @@ packages = ["GeoSpatialTools"]
[project] [project]
name = "GeoSpatialTools" name = "GeoSpatialTools"
version = "0.11.0" version = "0.11.0"
dependencies = [ dependencies = ["numpy"]
"numpy",
]
requires-python = ">=3.9" requires-python = ">=3.9"
authors = [ authors = [
{name = "Joseph Siddons", email = "josidd@noc.ac.uk"}, { name = "Joseph Siddons", email = "josidd@noc.ac.uk" },
{name = "Richard Cornes", email = "rcornes@noc.ac.uk"}, { name = "Richard Cornes", email = "rcornes@noc.ac.uk" },
]
maintainers = [
{name = "Joseph Siddons", email = "josidd@noc.ac.uk"},
] ]
maintainers = [{ name = "Joseph Siddons", email = "josidd@noc.ac.uk" }]
description = "Tools for processing geo spatial data." description = "Tools for processing geo spatial data."
readme = "README.md" readme = "README.md"
license = {file = "LICENSE"} license = { file = "LICENSE" }
keywords = [ keywords = ["spatial", "geospatial", "quadtree", "octtree", "nearest neighbour"]
"spatial", "geospatial", "quadtree", "octtree", "nearest neighbour",
]
classifiers = [ classifiers = [
"Development Status :: 1 - PreAlpha", "Development Status :: 1 - PreAlpha",
"Intended Audience :: Science/Research", "Intended Audience :: Science/Research",
"Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.11",
"Operating System :: OS Independent", "Operating System :: OS Independent",
] ]
[project.optional-dependencies] [project.optional-dependencies]
notebooks = [ notebooks = ["ipykernel", "polars"]
"ipykernel", test = ["pytest>=8.3.4"]
"polars"
]
test = [
"pytest",
]
docs = [ docs = [
"sphinx>=7.4.7", "sphinx>=8.2.1",
"sphinx-autodoc-typehints>=2.3.0", "sphinx-autodoc-typehints>=3.1.0",
"sphinx-rtd-theme>=3.0.2", "sphinx-rtd-theme>=3.0.2",
] ]
all = [ all = [
"ipykernel", "ipykernel",
"polars", "polars",
"pytest", "pytest",
"sphinx>=7.4.7", "sphinx>=8.2.1",
"sphinx-autodoc-typehints>=2.3.0", "sphinx-autodoc-typehints>=3.1.0",
"sphinx-rtd-theme>=3.0.2", "sphinx-rtd-theme>=3.0.2",
] ]
[tool.ruff] [tool.ruff]
line-length = 80 line-length = 80
indent-width = 4 indent-width = 4
target-version = "py311" target-version = "py311"
exclude = [ exclude = [".eggs", ".git", ".venv", "build", "venv"]
".eggs",
".git",
".venv",
"build",
"venv",
]
[tool.ruff.lint] [tool.ruff.lint]
extend-select = [ extend-select = [
"RUF022" # unsorted-dunder-all "RUF022", # unsorted-dunder-all
] ]
ignore = [ ignore = [
"D205", # blank-line-after-summary "D205", # blank-line-after-summary
"D400", # ends-in-period "D400", # ends-in-period
"D401", # non-imperative-mood "D401", # non-imperative-mood
"D105" # missing docstring in magic method "D105", # missing docstring in magic method
] ]
preview = true preview = true
select = [ select = [
"C90", # mccabe-complexity "C90", # mccabe-complexity
"D", # docstrings "D", # docstrings
"E", # pycodestyle errors "E", # pycodestyle errors
"F", # pyflakes "F", # pyflakes
"N802", # invalid-function-name "N802", # invalid-function-name
"S", # bandit "S", # bandit
"W" # pycodestyle warnings "W", # pycodestyle warnings
] ]
[tool.ruff.format] [tool.ruff.format]
quote-style = "double" # Like Black, use double quotes for strings. quote-style = "double" # Like Black, use double quotes for strings.
indent-style = "space" # Like Black, indent with spaces, rather than tabs. indent-style = "space" # Like Black, indent with spaces, rather than tabs.
skip-magic-trailing-comma = false # Like Black, respect magic trailing commas. skip-magic-trailing-comma = false # Like Black, respect magic trailing commas.
line-ending = "auto" # Like Black, automatically detect the appropriate line ending. line-ending = "auto" # Like Black, automatically detect the appropriate line ending.
[tool.ruff.lint.pydocstyle] [tool.ruff.lint.pydocstyle]
convention = "numpy" convention = "numpy"
...@@ -113,6 +96,4 @@ xarray = "xr" ...@@ -113,6 +96,4 @@ xarray = "xr"
Repository = "https://git.noc.ac.uk/nocsurfaceprocesses/geospatialtools" Repository = "https://git.noc.ac.uk/nocsurfaceprocesses/geospatialtools"
[dependency-groups] [dependency-groups]
dev = [ dev = ["bpython>=0.25"]
"bpython>=0.25",
]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment