-
Notifications
You must be signed in to change notification settings - Fork 9
/
pyproject.toml
87 lines (79 loc) · 1.73 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "onc"
version = "2.4.1"
description = "Oceans 3.0 API Python Client Library"
readme = "README.md"
authors = [
{ name = "ONC Data Team", email = "[email protected]" },
]
license = { file = 'LICENSE.txt' }
requires-python = ">=3.9"
dependencies = [
"requests",
'python-dateutil',
"humanize",
]
classifiers = [
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Topic :: Scientific/Engineering',
]
[project.urls]
Homepage = "https://data.oceannetworks.ca/OpenAPI"
Documentation = "https://oceannetworkscanada.github.io/api-python-client/"
Source = "https://github.com/OceanNetworksCanada/api-python-client"
[project.optional-dependencies]
dev = [
"ipykernel",
"python-dotenv",
"tox",
"black",
"isort",
"pytest",
"pytest-cov",
"ruff",
]
doc = [
"myst-nb",
"sphinx-autoapi",
"sphinx-rtd-theme",
"sphinx-autobuild",
"sphinx_copybutton",
"pandas",
"python-dotenv",
"black[jupyter]",
"ipykernel",
"tox",
"jupytext",
]
regression = [
"jupytext",
"pytest",
"python-dotenv",
"pandas",
]
[tool.isort]
profile = "black"
src_paths = ["onc", "tests"]
[tool.ruff.lint]
# Reference for the rules https://docs.astral.sh/ruff/rules/
select = [
"E", "W", # pycodestyle
"F", # pyflakes
"UP", # pyupgrade
"B", # flake8-bugbear
"SIM", # flake8-simplify
]
[tool.pytest.ini_options]
testpaths = [
"tests",
]
addopts = [
"--import-mode=importlib",
]