-
Notifications
You must be signed in to change notification settings - Fork 133
/
pyproject.toml
122 lines (114 loc) · 2.61 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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
[build-system]
build-backend = "setuptools.build_meta"
requires = [
"setuptools>=41.2",
"setuptools-scm",
"wheel",
]
[project]
name = "windrose"
description = "Python Matplotlib, Numpy library to manage wind data, draw windrose (also known as a polar rose plot)"
readme = "README.md"
license = { text = "BSD-3-Clause OR BCeCILL-B" }
maintainers = [
{ name = "Sebastien Celles" },
{ name = "Filipe Fernandes", email = "[email protected]" },
]
authors = [
{ name = "Lionel Roubeyrie", email = "[email protected]" },
]
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 = [
"matplotlib>=3",
"numpy>=1.21",
]
optional-dependencies.extras = [
"pandas",
"scipy",
]
urls.documentation = "https://python-windrose.github.io/windrose"
urls.homepage = "https://github.com/python-windrose/windrose"
urls.repository = "https://github.com/python-windrose/windrose"
[tool.setuptools]
packages = [ "windrose" ]
include-package-data = true
license-files = [
"LICENSE.txt",
"LICENCE_BSD-3-Clause.txt",
"LICENCE_CECILL-B.txt",
]
[tool.setuptools.dynamic]
dependencies = { file = [ "requirements.txt" ] }
readme = { file = "README.md", content-type = "text/markdown" }
[tool.setuptools_scm]
write_to = "windrose/_version.py"
write_to_template = "__version__ = '{version}'"
tag_regex = "^(?P<prefix>v)?(?P<version>[^\\+]+)(?P<suffix>.*)?$"
[tool.ruff]
target-version = "py38"
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.per-file-ignores."docs/conf.py" = [
"A001",
]
lint.per-file-ignores."notebooks/usage.ipynb" = [
"T201",
]
lint.per-file-ignores."samples/example_by.py" = [
"T201",
]
lint.per-file-ignores."samples/example_pdf_by.py" = [
"T201",
]
[tool.check-manifest]
ignore = [
"*.yaml",
".coveragerc",
"docs",
"docs/*",
"notebooks",
"notebooks/*",
"tests",
"tests/*",
"paper",
"paper/*",
"*.pyc",
".binder/",
".binder/*",
]
[tool.interrogate]
ignore-init-method = true
ignore-init-module = false
ignore-magic = false
ignore-semiprivate = false
ignore-private = false
ignore-module = false
fail-under = 70
exclude = [
"setup.py",
"docs",
"tests",
]
verbose = 1
quiet = false
color = true