-
Notifications
You must be signed in to change notification settings - Fork 42
/
pyproject.toml
107 lines (97 loc) · 2.22 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
100
101
102
103
104
105
106
107
[build-system]
build-backend = "setuptools.build_meta"
requires = [
"setuptools>=42",
"setuptools-scm[toml]>=3.4",
"wheel",
]
[project]
name = "oceans"
description = "Misc functions for oceanographic data analysis"
readme = "README.md"
license = { file = "LICENSE.txt" }
maintainers = [
{ name = "André Palóczy" },
{ name = "Arnaldo Russo" },
{ name = "Filipe Fernandes", email = "[email protected]" },
]
requires-python = ">=3.10"
classifiers = [
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dynamic = [
"dependencies",
"version",
]
optional-dependencies.extras = [
"cartopy",
"iris",
"netcdf4",
"pandas",
"scipy",
]
urls.documentation = "https://pyoceans.github.io/python-oceans/"
urls.homepage = "https://pypi.python.org/pypi/oceans/"
urls.repository = "https://github.com/pyoceans/python-oceans"
[tool.setuptools]
packages = [ "oceans" ]
zip-safe = false
include-package-data = true
[tool.setuptools.dynamic]
dependencies = { file = [ "requirements.txt" ] }
[tool.setuptools.package-data]
oceans = [ "colormaps/cmap_data/*.dat" ]
[tool.setuptools_scm]
write_to = "oceans/_version.py"
write_to_template = "__version__ = '{version}'"
[tool.ruff]
target-version = "py311"
line-length = 79
lint.select = [
"A", # flake8-builtins
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"F", # flakes
"I", # import sorting
"T20", # flake8-print
"UP", # upgrade
]
lint.ignore = [
"B905", # zip ztrict arg, enable only for py310
]
lint.per-file-ignores."docs/source/conf.py" = [
"A001",
"E402",
]
lint.per-file-ignores."oceans/plotting.py" = [
"T201",
] # `print` found
[tool.check-manifest]
ignore = [
".coveragerc",
"docs",
"docs/*",
"notebooks",
"notebooks/*",
"tests",
"tests/*",
]
[tool.pytest.ini_options]
markers = [
"web: marks tests require connection (deselect with '-m \"not web\"')",
]
[tool.interrogate]
ignore-init-method = true
ignore-init-module = false
ignore-magic = false
ignore-semiprivate = false
ignore-private = false
ignore-module = false
fail-under = 95
exclude = [ "docs", "tests" ]
verbose = 1
quiet = false
color = true