-
Notifications
You must be signed in to change notification settings - Fork 32
Expand file tree
/
Copy pathpyproject.toml
More file actions
112 lines (99 loc) · 2.9 KB
/
pyproject.toml
File metadata and controls
112 lines (99 loc) · 2.9 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
[project]
name = "cloudnetpy"
description = "Python package for Cloudnet processing"
authors = [{name = "Simo Tukiainen"}]
readme = "README.md"
license = {file = "LICENSE"}
requires-python = ">=3.10"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering :: Atmospheric Science",
]
dependencies = [
"ceilopyter>=0.2.0",
"cloudnet-api-client",
"doppy>=0.5.0",
"matplotlib",
"mwrpy>=1.3.5",
"netCDF4",
"requests",
"rpgpy>=0.14.5",
"scipy",
"typing-extensions",
]
dynamic = ["version"]
[project.optional-dependencies]
test = [
"cloudnetpy_qc",
"mypy",
"pytest",
"pytest-flakefinder",
"ruff",
"types-requests",
]
dev = ["pre-commit", "release-version"]
extras = ["voodoonet>=0.1.7"]
[project.scripts]
cloudnetpy = "cloudnetpy.cli:main"
[project.urls]
Homepage = "https://github.com/actris-cloudnet/cloudnetpy"
Documentation = "https://actris-cloudnet.github.io/cloudnetpy/"
Repository = "https://github.com/actris-cloudnet/cloudnetpy"
Changelog = "https://github.com/actris-cloudnet/cloudnetpy/blob/main/CHANGELOG.md"
[tool.mypy]
check_untyped_defs = true
[[tool.mypy.overrides]]
module = ["cftime.*", "mpl_toolkits.*", "scipy.*", "voodoonet.*"]
ignore_missing_imports = true
[tool.pytest.ini_options]
filterwarnings = [
"ignore::scipy.stats.ConstantInputWarning",
]
[tool.release-version]
filename = "cloudnetpy/version.py"
pattern = ["MAJOR = (?P<major>\\d+)", "MINOR = (?P<minor>\\d+)", "PATCH = (?P<patch>\\d+)"]
changelog = "CHANGELOG.md"
[tool.ruff.lint]
exclude = ["cloudnetpy/model_evaluation/tests/*", "tests/*"]
select = ["ALL"]
ignore = [
"C9", # too complex, fix me later
"COM812", # Formatting
"D100", # allow missing documentation
"D101", # allow missing documentation
"D102", # allow missing documentation
"D103", # allow missing documentation
"D104", # allow missing documentation
"D105", # allow missing documentation
"D106", # allow missing documentation
"D107", # allow missing documentation
"D205", # allow long multi-line summary
"D211", # conflicting documentation rule
"D213", # conflicting documentation rule
"DTZ00", # do not check timezone info
"FIX002", # TODOs
"LOG015", # call on root logger
"N8", # uppercase variable names
"PERF", # try except in loop
"PLC0206", # dict.items not used
"PLR", # too many arguments etc.
"PTH", # use pathlib, fix me later
"TD002", # TODOs
"TD003", # TODOs
]
allowed-confusables = ["–", "’"]
[tool.ruff.lint.extend-per-file-ignores]
"__init__.py" = ["F401"]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.setuptools.dynamic]
version = {attr = "cloudnetpy.version.__version__"}
[tool.setuptools.packages]
find = {}
[tool.tomlsort]
trailing_comma_inline_array = true
sort_inline_arrays = true