-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
74 lines (63 loc) · 1.8 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
[build-system]
requires = ["hatchling>=1.8.0"]
build-backend = "hatchling.build"
[project]
name = "wind-stats"
version = "0.3.0"
description = "Statistics tools to evaluate your wind energy projects"
maintainers = [{ name = "Jules Chéron", email = "[email protected]" }]
license = "MIT"
readme = "README.md"
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"Operating System :: OS Independent",
"Natural Language :: English",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Physics",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
]
keywords = ["wind", "energy", "renewables", "statistics"]
requires-python = ">=3.8"
dependencies = ["numpy>=1.21", "scipy", "xarray", "pandas", "pint"]
[project.urls]
Homepage = "https://github.com/jules-ch/wind-stats"
Documentation = "https://wind-stats.readthedocs.io/"
[project.optional-dependencies]
test = ["pytest>=7.0.0", "pytest-cov", "httpretty>=1.0.5", "requests"]
dev = ["isort>=5.6.4", "black>=23.1.0", "mypy>=1.0.0", "ruff", "types-requests"]
[tool.hatch.build]
include = ["wind_stats/*"]
[tool.isort]
profile = "black"
known_first_party = "wind_stats"
[tool.black]
line-length = 88
target-version = ['py37', 'py38', 'py39']
exclude = '''
/(
\.eggs
| \.git
| \.mypy_cache
| \.venv
| build
| dist
)/
'''
[tool.ruff]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
# "I", # isort
"C", # flake8-comprehensions
# "B", # flake8-bugbear
]
ignore = [
"E501", # line too long, handled by black
"B008", # do not perform function calls in argument defaults
"C901", # too complex
]