-
Notifications
You must be signed in to change notification settings - Fork 54
/
pyproject.toml
94 lines (80 loc) · 2.1 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
[build-system]
requires = ["setuptools>=64", "setuptools_scm>=8"]
build-backend = "setuptools.build_meta"
[project]
name="powerplantmatching"
dynamic = ["version"]
description="Toolset for generating and managing Power Plant Data"
readme="README.md"
authors = [{ name = "Fabian Hofmann (FIAS)", email = "fabianmarikhofmann@gmail.com" },
{ name = "Jonas Hoersch (KIT)" },
{ name = "Fabian Gotzens (FZ Jülich)" }]
license = { file = "LICENSE" }
classifiers=[
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Environment :: Console",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Natural Language :: English",
"Operating System :: OS Independent",
]
requires-python = ">=3.9"
dependencies = [
"numpy",
"scipy",
"pandas>=0.24.0",
"networkx>=1.10",
"pycountry",
"country_converter",
"xlrd",
"seaborn",
"pyyaml >=5.1.0",
"requests",
"matplotlib",
"geopy",
"xlrd",
"unidecode",
"entsoe-py >=0.3.1",
"deprecation",
"tqdm",
"openpyxl",
]
[project.urls]
Homepage = "https://github.com/PyPSA/powerplantmatching"
Source = "https://github.com/PyPSA/powerplantmatching"
[project.optional-dependencies]
docs= [
"numpydoc",
"sphinx",
"sphinx-book-theme",
"nbsphinx",
"sphinx-automodapi",
]
dev= ["pre-commit", "pytest", "pytest-cov"]
# setuptools_scm settings
[tool.setuptools_scm]
version_scheme = "post-release"
[tool.setuptools.packages.find]
include = ["powerplantmatching"]
# Pytest settings
[tool.pytest.ini_options]
filterwarnings = [
"error::FutureWarning", # Raise all FutureWarnings as errors
]
# Formatter and linter settings
[tool.ruff]
extend-include = ['*.ipynb']
[tool.ruff.lint]
select = [
'F', # pyflakes
# 'E', # pycodestyle: Error
# 'W', # pycodestyle: Warning
'I', # isort
# 'D', # pydocstyle
'UP', # pyupgrade
'TID', # flake8-tidy-imports
'NPY', # numpy
]