Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2024 O.N. Ebbens, D.A. Brakenhoff, R. Calje
Copyright (c) 2025 O.N. Ebbens, D.A. Brakenhoff, R. Calje

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
# -- Project information -----------------------------------------------------

project = "nlmod"
copyright = "2024, O.N. Ebbens, D.A. Brakenhoff, R. Caljé"
copyright = "2025, O.N. Ebbens, D.A. Brakenhoff, R. Caljé"
author = "O.N. Ebbens, D.A. Brakenhoff, R. Caljé"

# The short X.Y version
Expand Down
51 changes: 24 additions & 27 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,23 @@
requires = ["setuptools>=64.0.0", "wheel"]
build-backend = "setuptools.build_meta"


[project]
name = "nlmod"
dynamic = ["version"]
description = "Python package to build, run and visualize MODFLOW 6 groundwater models in the Netherlands."
license = { file = "LICENSE" }
readme = "README.md"
authors = [{ name = "O. Ebbens" }, { name = "R. Caljé" }, { name = "D.A. Brakenhoff" }]
authors = [
{ name = "O.N. Ebbens" },
{ name = "R. Caljé" },
{ name = "D.A. Brakenhoff" },
]
maintainers = [
{ name = "O. Ebbens", email = "[email protected]" },
{ name = "O.N. Ebbens", email = "[email protected]" },
{ name = "R. Calje", email = "[email protected]" },
{ name = "D.A. Brakenhoff", email = "[email protected]" },
]
requires-python = ">= 3.8"
requires-python = ">= 3.10"
dependencies = [
"flopy>=3.3.6",
"xarray>=0.16.1",
Expand All @@ -34,23 +37,25 @@ dependencies = [
"joblib",
"bottleneck",
]
keywords = ["hydrology", "groundwater", "modeling", "Modflow 6", "flopy"]
keywords = ["hydrology", "groundwater", "modeling", "MODFLOW", "flopy"]
classifiers = [
'Development Status :: 4 - Beta',
'Intended Audience :: Science/Research',
'Intended Audience :: Other Audience',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Topic :: Scientific/Engineering :: Hydrology',
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"Intended Audience :: Other Audience",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering :: Hydrology",
]

[project.urls]
homepage = "https://github.com/gwmod/nlmod"
repository = "https://github.com/gwmod/nlmod"
documentation = "https://nlmod.readthedocs.io/en/latest/"
installation = "https://pypi.org/project/nlmod/"

[project.optional-dependencies]
full = [
Expand All @@ -66,7 +71,7 @@ knmi = ["h5netcdf", "nlmod[grib]"]
grib = ["cfgrib", "ecmwflibs"]
test = ["pytest>=7", "pytest-cov", "pytest-dependency"]
nbtest = ["nbformat", "nbconvert>6.4.5"]
lint = ["flake8", "isort", "black[jupyter]"]
lint = ["ruff"]
ci = ["nlmod[full,lint,test,nbtest]", "numpy==1.26.4"]
rtd = [
"nlmod[full]",
Expand Down Expand Up @@ -100,18 +105,13 @@ include-package-data = true
"nlmod.data.bofek" = ["*"]
"nlmod.bin" = ["mp7_2_002_provisional"]

[tool.black]
line-length = 88

[tool.isort]
profile = "black"

[tool.ruff]
line-length = 88
extend-include = ["*.ipynb"]
show-fixes = true
fix = true

[tool.ruff.lint]
# See: https://docs.astral.sh/ruff/rules/
select = [
"C4", # flake8-comprehensions
"E", # pycodestyle
Expand All @@ -127,11 +127,8 @@ ignore = [
"D100", # Missing docstring in module.
"D104", # Missing docstring in public package.
]

[tool.ruff.format]

[tool.ruff.lint.pydocstyle]
convention = "numpy"
extend-select = ["I"]
pydocstyle.convention = "numpy"

[tool.pytest.ini_options]
addopts = "--strict-markers --durations=0 --cov-report xml:coverage.xml --cov nlmod -v"
Expand Down