forked from csacca/uhoo-homeassistant
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
52 lines (46 loc) · 1.25 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
[tool.poetry]
name = "uhoo-homeassistant"
version = "0.0.4"
description = "uHoo integration for Home Assistant"
authors = ["Christopher Sacca <csacca@csacca.net>"]
repository = "https://github.com/csacca/uhoo-homeassistant"
license = "MIT"
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.8"
pyuhoo = "^0.0.5"
[tool.poetry.dev-dependencies]
homeassistant = "^2021.8.0b0"
flake8 = "^3.9.2"
black = "^21.9b0"
isort = "^5.9.3"
mypy = "^0.910"
pre-commit = "^2.15.0"
pytest = "^6.2.4"
pytest-homeassistant-custom-component = "^0.4.3"
flake8-docstrings = "^1.6.0"
pylint = "^2.11.1"
pydocstyle = "^6.1.1"
[tool.isort]
profile = "black"
indent = " "
force_sort_within_sections = true
sections = ["FUTURE", "STDLIB", "THIRDPARTY", "FIRSTPARTY", "LOCALFOLDER"]
default_section = "THIRDPARTY"
known_first_party = ["custom_components", "tests" , "homeassistant"]
forced_separate = "tests"
combine_as_imports = true
[tool.mypy]
pretty = true
warn_return_any = true
warn_unused_configs = true
ignore_missing_imports = true
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "--cov custom_components.uhoo"
console_output_style = "count"
timeout = "9"
testpaths = ["tests"]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"