-
Notifications
You must be signed in to change notification settings - Fork 18
/
pyproject.toml
55 lines (47 loc) · 1.38 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
[build-system]
requires = ["setuptools>=61.0.0", "wheel", "setuptools-git-versioning<2"]
build-backend = "setuptools.build_meta"
[project]
name = "zigpy-xbee"
dynamic = ["version"]
description = "A library which communicates with XBee radios for zigpy"
urls = {repository = "https://github.com/zigpy/zigpy-xbee"}
authors = [
{name = "Russell Cloran", email = "[email protected]"}
]
readme = "README.md"
license = {text = "GPL-3.0"}
requires-python = ">=3.8"
dependencies = [
"zigpy>=0.70.0",
]
[tool.setuptools.packages.find]
exclude = ["tests", "tests.*"]
[project.optional-dependencies]
testing = [
"pytest>=7.1.2",
"asynctest>=0.13.0",
"pytest-asyncio>=0.19.0",
]
[tool.setuptools-git-versioning]
enabled = true
[tool.isort]
profile = "black"
# will group `import x` and `from x import` of the same module.
force_sort_within_sections = true
known_first_party = ["zigpy_xbee", "tests"]
forced_separate = "tests"
combine_as_imports = true
[tool.mypy]
ignore_errors = true
[tool.pytest.ini_options]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
[tool.flake8]
exclude = [".venv", ".git", ".tox", "docs", "venv", "bin", "lib", "deps", "build"]
# To work with Black
max-line-length = 88
# W503: Line break occurred before a binary operator
# E203: Whitespace before ':'
# D202 No blank lines allowed after function docstring
ignore = ["W503", "E203", "D202"]