forked from frequenz-floss/frequenz-sdk-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
93 lines (81 loc) · 2.43 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 >= 65.3.0, < 66",
"setuptools_scm[toml] >= 7.0.5, < 8",
"wheel"
]
build-backend = "setuptools.build_meta"
[project]
name = "frequenz-sdk"
description = "Frequenz Python SDK"
readme = "README.md"
license = { text = "MIT" }
keywords = [ "frequenz", "sdk", "microgrid", "actor" ]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Topic :: Software Development :: Libraries",
]
requires-python = ">= 3.8, < 4"
dependencies = [
"frequenz-api-microgrid >= 0.11.0, < 0.12.0",
"frequenz-channels >= 0.10.0, < 0.11.0",
"google-api-python-client >= 2.15, < 3",
"grpcio >= 1.47, < 2",
"grpcio-tools >= 1.47, < 2",
"networkx >= 2.8, < 3",
"pandas >= 1.3.5, < 2",
"protobuf >= 3.20, < 4",
"pyarrow >= 6.0.0, < 6.1",
"pydantic >= 1.9",
"pytz >= 2021.3",
"sympy >= 1.10.1, < 2",
"toml >= 0.10",
"tqdm >= 4.38.0, < 5",
"watchfiles >= 0.15.0",
]
dynamic = [ "version" ]
[[project.authors]]
name ="Frequenz Energy-as-a-Service GmbH"
email = "[email protected]"
[project.urls]
Changelog = "https://github.com/frequenz-floss/frequenz-sdk-python/releases"
Repository = "https://github.com/frequenz-floss/frequenz-sdk-python"
Issues = "https://github.com/frequenz-floss/frequenz-sdk-python/issues"
Support = "https://github.com/frequenz-floss/frequenz-sdk-python/discussions/categories/support"
[tool.setuptools]
include-package-data = true
[tool.setuptools_scm]
version_scheme = "post-release"
[tool.black]
line-length = 88
target-version = ['py38']
include = '\.pyi?$'
[tool.pylint]
[tool.pylint.'SIMILARITIES']
ignore-comments=['yes']
ignore-docstrings=['yes']
ignore-imports=['no']
min-similarity-lines=40
[tool.pylint.messages_control]
disable = [
"too-few-public-methods",
# disabled because it conflicts with isort
"wrong-import-order",
"ungrouped-imports"
]
[tool.pylint.'DESIGN']
max-attributes=12
[tool.isort]
profile = "black"
line_length = 88
src_paths = ["src", "examples", "tests"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
required_plugins = [ "pytest-asyncio", "pytest-mock" ]