-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
131 lines (120 loc) · 3.12 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
123
124
125
126
127
128
129
130
131
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "growatt_monitor"
version = "1.0.0"
description = "Growatt inverter monitor from Modbus and API server and parse data to different output sources"
authors = ["Zaharia Constantin <layout.webdesign@gmail.com>"]
license = "LICENSE.md"
readme = "README.md"
repository = "https://github.com/soulraven/growatt-monitor"
documentation = "https://soulraven.github.io/growatt-monitor/"
keywords = [
'roundbox',
'template',
'poetry',
'modbus',
'influxdb',
'mqtt',
'proxy'
]
classifiers = [
"Intended Audience :: Developers",
"Topic :: Home Automation",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
packages = [
{include = "growatt_monitor"}
]
include = [
]
[tool.poetry.dependencies]
python = ">=3.10,<4.0"
slugify = "^0.0.1"
[tool.poetry.dev-dependencies]
isort = "^5.10.1"
black = "^22.3.0"
pytest = "^7.1.1"
pytest-cookies = "^0.6.1"
tox = "^3.25.0"
toml = "^0.10.2"
coverage = "^6.4.1"
mkdocs = "^1.3.0"
mkdocs-material = ">=8.2.16"
mkdocs-coverage = "^0.2.5"
mkdocs-literate-nav = "^0.4.1"
mkdocs-gen-files = "^0.3.4"
mkdocs-material-extensions = "^1.0.3"
mkdocs-awesome-pages-plugin = ">=2.7.0"
mkdocs-autolinks-plugin = ">=0.5.0"
mkdocs-pagenav-generator = {git = "https://github.com/Andre601/mkdocs-pagenav-generator", branch = "main"}
pre-commit = "^2.19.0"
[tool.poetry.extras]
mkdocs = [
"toml",
"mkdocs",
"mkdocs-material",
"mkdocs-coverage",
"mkdocs-literate-nav",
"mkdocs-gen-files",
"mkdocs-material-extensions",
"mkdocs-awesome-pages-plugin",
"mkdocs-autolinks-plugin",
"mkdocs-pagenav-generator"
]
lint = ["black", "isort"]
test = ["pytest", "pytest-cookies", "tox"]
[tool.poetry.plugins]
[tool.poetry.scripts]
roundbox-admin = "RoundBox.core.cliparser:exec_from_cli"
[tool.poetry.urls]
"Source" = "https://github.com/soulraven/growatt-monitor"
"Issues" = "https://github.com/soulraven/growatt-monitor/issues"
"Discussions" = "https://github.com/soulraven/growatt-monitor/discussions"
"Documentation" = "https://soulraven.github.io/growatt-monitor/"
"Releases" = "https://soulraven.github.io/growatt-monitor/releases"
[tool.black]
line_length = 88
target_version = ['py310']
skip-string-normalization = true
include = '\.pyi?$'
exclude = '''
(
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.github
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| \notebooks
| .ipynb_checkpoints
| __pycache__
| data
| logs
| _build
| buck-out
| build
| dist
| snapshots
)/
)
'''
[tool.isort]
py_version = 310
profile = "black"
[tool.flake8]
ignore = ['E231', 'E241']
per-file-ignores = [
'__init__.py:F401',
]
max-line-length = 88
count = true