-
Notifications
You must be signed in to change notification settings - Fork 16
/
pyproject.toml
99 lines (88 loc) · 1.76 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
88
89
90
91
92
93
94
95
96
97
98
99
[build-system]
build-backend = "setuptools.build_meta"
requires = [
"setuptools>=42",
"setuptools-scm[toml]>=3.4",
"wheel",
]
[project]
name = "pocean-core"
description = "A python framework for working with met-ocean data"
readme = "README.md"
license = { file = "LICENSE.txt" }
authors = [
{ name = "Kyle Wilcox", email = "kyle@axds.co" },
]
requires-python = ">=3.8"
classifiers = [
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
dynamic = [
"version",
]
dependencies = [
"cftime>=1.2.1",
"netcdf4",
"numpy>=1.20",
"pandas>=1.0.5",
"python-dateutil",
"pytz",
"shapely>=1.8",
"simplejson",
]
urls.documentation = "https://pyoceans.github.io/pocean-core"
urls.homepage = "https://pypi.org/project/pocean-core/"
urls.repository = "https://github.com/pyoceans/pocean-core"
[tool.setuptools]
packages = [
"pocean",
]
[tool.setuptools_scm]
write_to = "pocean/_version.py"
write_to_template = "__version__ = '{version}'"
[tool.ruff]
line-length = 100
exclude = [
".git",
".git/",
"__pycache__",
"dist",
"docs/",
]
lint.select = [
"E", # pycodecstyle
"F", # flakes
"I", # import sorting
"W", # pydocstyle
]
lint.ignore = [
#"E265",
#"E221",
#"E203",
#"E201",
#"E124",
#"E202",
#"E241",
#"E251",
#"W504",
"E501",
"W291",
"W293",
]
lint.per-file-ignores."pocean/tests/*.py" = [
"F403",
"F405",
]
lint.isort.order-by-type = false
[tool.pytest.ini_options]
addopts = "-s -rxs -v"
filterwarnings = [
"ignore::DeprecationWarning",
"ignore::UserWarning",
]