1
+ [build-system ]
2
+ requires = [" setuptools>=61.0.0" , " wheel" , " setuptools-git-versioning<2" ]
3
+ build-backend = " setuptools.build_meta"
4
+
5
+ [project ]
6
+ name = " bellows"
7
+ dynamic = [" version" ]
8
+ description = " Library implementing EZSP"
9
+ urls = {repository = " https://github.com/zigpy/bellows" }
10
+ authors = [
11
+ {
name =
" Russell Cloran" ,
email =
" [email protected] " }
12
+ ]
13
+ readme = " README.md"
14
+ license = {text = " GPL-3.0" }
15
+ requires-python = " >=3.8"
16
+ dependencies = [
17
+ " click" ,
18
+ " click-log>=0.2.1" ,
19
+ " pure_pcapy3==1.0.1" ,
20
+ " voluptuous" ,
21
+ " zigpy>=0.54.1" ,
22
+ ' async-timeout; python_version<"3.11"' ,
23
+ ]
24
+
25
+ [tool .setuptools .packages .find ]
26
+ exclude = [" tests" , " tests.*" ]
27
+
28
+ [project .optional-dependencies ]
29
+ testing = [
30
+ " pytest>=7.1.2" ,
31
+ " pytest-asyncio>=0.19.0" ,
32
+ " pytest-timeout>=2.1.0" ,
33
+ " pytest-mock>=3.8.2" ,
34
+ " pytest-cov>=3.0.0" ,
35
+ ]
36
+
37
+ [tool .setuptools-git-versioning ]
38
+ enabled = true
39
+
40
+ [project .scripts ]
41
+ bellows = " bellows.cli.main:main"
42
+
43
+ [tool .isort ]
44
+ profile = " black"
45
+ # will group `import x` and `from x import` of the same module.
46
+ force_sort_within_sections = true
47
+ known_first_party = [" bellows" , " tests" ]
48
+ forced_separate = " tests"
49
+ combine_as_imports = true
50
+
51
+ [tool .mypy ]
52
+ ignore_errors = true
53
+
54
+ [tool .pytest .ini_options ]
55
+ asyncio_mode = " auto"
56
+
57
+ [tool .flake8 ]
58
+ exclude = [" .venv" , " .git" , " .tox" , " docs" , " venv" , " bin" , " lib" , " deps" , " build" ]
59
+ # To work with Black
60
+ max-line-length = 88
61
+ # W503: Line break occurred before a binary operator
62
+ # E203: Whitespace before ':'
63
+ # E501: line too long
64
+ # D202 No blank lines allowed after function docstring
65
+ ignore = [" W503" , " E203" , " E501" , " D202" ]
66
+ per-file-ignores = [" tests/*:F811,F401,F403" ]
0 commit comments