-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathpyproject.toml
More file actions
80 lines (72 loc) · 1.93 KB
/
pyproject.toml
File metadata and controls
80 lines (72 loc) · 1.93 KB
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
[tool.poetry]
name = "python-awair"
version = "0.2.5"
description = "asyncio client for the Awair GraphQL and Local APIs"
authors = ["Andrew Hayworth <ahayworth@gmail.com>"]
license = "MIT"
readme = "README.md"
homepage = "https://github.com/ahayworth/python_awair"
repository = "https://github.com/ahayworth/python_awair"
keywords = ["awair", "getawair", "api", "async", "asyncio"]
classifiers = [
"Development Status :: 4 - Beta",
"Framework :: AsyncIO",
"Intended Audience :: Developers",
"Topic :: Home Automation",
"Topic :: Software Development :: Libraries",
"Typing :: Typed"
]
[tool.poetry.dependencies]
python = ">=3.9"
aiohttp = ">=3.6.1"
voluptuous = ">=0.11.7"
[tool.poetry.group.dev.dependencies]
black = ">=19.10b0"
codecov = ">=2.1"
coverage = ">=5.0.4"
flake8 = ">=3.7.9"
flake8-docstrings = ">=1.5.0"
isort = ">=4.3.21"
mypy = ">=0.770"
pydocstyle = ">=5.0.2"
pylint = ">=2.4.4"
pytest = ">=5.2"
pytest-aiohttp = ">=0.3.0"
pytest-cov = ">=2.8.1"
python-language-server = ">=0.31.9"
sphinx = ">=3.0.1"
sphinx-readable-theme = ">=1.3.0"
tox = ">=4"
vcrpy = ">=4.0.2"
[tool.pytest.ini_options]
asyncio_mode = "auto"
[tool.tox]
legacy_tox_ini = """
[tox]
envlist = py39, py310, py311, py312, py313
isolated_build = True
skipsdist = True
skip_missing_interpreters = True
[testenv]
allowlist_externals = poetry
commands = poetry run pytest {posargs}
[testenv:lint]
allowlist_externals = poetry
commands =
poetry run black . --check
poetry run isort --check python_awair/ tests/
poetry run flake8 python_awair/ tests/
poetry run pylint python_awair/ tests/
poetry run mypy python_awair/ tests/
[testenv:coverage]
allowlist_externals =
poetry
codecov
passenv = CI,CODECOV*,GITHUB_ACTION,GITHUB_REF,GITHUB_REPOSITORY,GITHUB_HEAD_REF,GITHUB_SHA,GITHUB_RUN_ID
commands =
poetry run pytest --cov=python_awair {posargs}
codecov
"""
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"