-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
69 lines (59 loc) · 1.53 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
[build-system]
requires = ["setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
exclude = ["htmlcov"] # Exclude the coverage report file from setuptools package finder
[project]
name = "wsimod"
description = "WSIMOD is for simulating water quality and quantity"
readme = "README.md"
version = "0.2.0"
license = {file = "LICENSE"}
authors = [
{ name = "Barnaby Dobson", email = "[email protected]" },
{ name = "Imperial College London RSE Team", email = "[email protected]" }
]
requires-python = ">=3.9"
dependencies = [
"PyYAML",
"tqdm",
"dill",
"pandas"
]
[project.scripts]
wsimod = "wsimod.__main__:run"
[project.optional-dependencies]
dev = [
"pytest",
"pre-commit",
"black",
"ruff",
"pip-tools",
"pytest-cov",
]
demos = [
"geopandas",
"matplotlib",
"shapely"
]
doc = [
"mkdocs",
"mkdocstrings[python]",
"mkdocs-material",
"mkdocs-autorefs",
"mkdocs-bibtex",
"mkdocs-coverage",
"mkdocs-jupyter",
"mkdocs-material-extensions",
"pypandoc",
"wsimod[demos]"
]
[tool.pytest.ini_options]
addopts = "-v -p no:warnings --cov=wsimod --cov-report=html"
[tool.ruff]
select = ["E", "F", "I"] # pycodestyle, Pyflakes, isort. Ignoring pydocstyle (D), for now
exclude = ["docs", "tests"] # Let's ignore tests and docs folders, for now
[tool.ruff.per-file-ignores]
"wsimod/*" = ["E501"] # 176 lines (all comments) are too long (>88). Ignoring, for now
[tool.ruff.pydocstyle]
convention = "google"