This repository was archived by the owner on Oct 9, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
115 lines (102 loc) · 2.77 KB
/
pyproject.toml
File metadata and controls
115 lines (102 loc) · 2.77 KB
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
[tool]
[tool.poetry]
name = "solvis-store"
version = "2.0.5"
homepage = "https://github.com/GNS-Science/solvis-store"
description = "Solvis Store."
authors = ["Oakley Jurgens <nshm@gns.cri.nz>", "Chris Chamberlain <chrisbc@artisan.co.nz>"]
readme = "README.md"
license = "GPL-3.0-only"
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Natural Language :: English',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
]
packages = [
{ include = "solvis_store" },
{ include = "tests", format = "sdist" },
]
[tool.poetry.scripts]
cli = 'scripts.cli:cli'
[tool.poetry.dependencies]
python = ">=3.9,<4.0"
solvis = ">=0.11.1"
# see https://github.com/orgs/python-poetry/discussions/7937
urllib3 = "<2"
numpy = "<1.25"
pynamodb = "^6.0.1"
[tool.poetry.group.dev.dependencies]
black = { version = "^22.3"}
bump2version = {version = "^1.0.1"}
flake8 = { version = "^3.9.2"}
flake8-docstrings = { version = "^1.6.0", optional = true }
isort = { version = "^5.8.0"}
moto = "^4.1.7"
mypy = {version = "^0.900"}
pip = { version = "^20.3.1", optional = true}
pre-commit = {version = "^2.12.0", optional = true}
pymdown-extensions = {version = "^10.2"}
pytest = { version = "^6.2.4"}
pytest-cov = { version = "^2.12.0"}
toml = {version = "^0.10.2", optional = true}
tox = { version = "^4.4.12"}
virtualenv = { version = "^20.2.2", optional = true}
[tool.poetry.group.doc]
optional = true
[tool.poetry.group.doc.dependencies]
mkdocs = "^1.6.0"
mkdocstrings = {version = "^0.25.1", extras = ["python"]}
mkdocs-autorefs = "^1.0.1"
mkdocs-include-markdown-plugin = "^6.0.6"
mkdocs-material = "^9.5.21"
mkdocs-material-extensions = "^1.3.1"
mkdocs-pymdownx-material-extras = "^2.5.6"
mkdocs-with-pdf = "^0.9.3"
mkdocs-click = "^0.8.1"
[tool.poetry.group.scripts]
optional = true
[tool.poetry.group.scripts.dependencies]
ipython = "^8.12.0"
nshm-toshi-client = "^1.0.0"
nzshm-common = ">=0.8.1"
nzshm-model = ">=0.10.6"
pyvista = "^0.38.5"
click = "^8.1.7"
[tool.poetry.extras]
[tool.black]
line-length = 120
skip-string-normalization = true
target-version = ['py39', 'py310', 'py311']
include = '\.pyi?$'
exclude = '''
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
'''
[tool.isort]
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
ensure_newline_before_comments = true
line_length = 120
skip_gitignore = true
# you can skip files as below
#skip_glob = docs/conf.py
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"