-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
70 lines (62 loc) · 1.54 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
[tool.pylint.MASTER]
py-version = "3.10"
load-plugins = [
"pylint.extensions.code_style",
"pylint.extensions.typing",
]
[tool.pylint."MESSAGES CONTROL"]
# Reasons disabled:
# duplicate-code - unavoidable
disable = [
"duplicate-code",
]
[tool.mypy]
ignore_missing_imports = true
[tool.isort]
# https://github.com/PyCQA/isort/wiki/isort-Settings
profile = "black"
# will group `import x` and `from x import` of the same module.
force_sort_within_sections = true
known_first_party = [
"aiopyarr",
"tests",
]
forced_separate = [
"tests",
]
combine_as_imports = true
[tool.poetry]
name = "pyefergy"
version = "0.0.0"
description = "An API library for Efergy energy meters."
authors = ["Robert Hillis <[email protected]>"]
license = "MIT"
readme = "README.md"
homepage = "https://github.com/tkdrob/pyefergy"
repository = "https://github.com/tkdrob/pyefergy"
keywords = ["pyefergy", "efergy", "energy"]
include = ["pyefergy/py.typed"]
[tool.poetry.dependencies]
python = ">=3.8,<4"
aiohttp = ">=3.6.1"
iso4217 = ">=1.2.20150619"
types-pytz = ">=2021.3.1"
codecov = "^2.1.13"
[tool.poetry.group.dev.dependencies]
aresponses = ">=2.1.4"
black = ">=21.11b1"
mypy = ">=0.910"
pylint = ">=3.1.0"
pytest-cov = ">=3.0.0"
pytest-asyncio = ">=0.16.0"
pytest-freezer = ">=0.4.8"
pytest-timeout = "^2.3.1"
pytest = ">=6.2.4"
ruff = "^0.4.4"
[tool.poetry-dynamic-versioning]
enable = true
vcs = "git"
style = "semver"
[build-system]
requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning>=1.0.0,<2.0.0"]
build-backend = "poetry_dynamic_versioning.backend"