-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
114 lines (84 loc) · 2.32 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
[build-system]
requires = ["setuptools", "setuptools-scm[toml]"]
build-backend = "setuptools.build_meta"
[project]
authors = [{ email = "[email protected]" }, { name = "Jungkook Park" }]
description = "Publish your local server to public via rabbit-tunnel"
name = "rabbit-tunnel"
readme = "README.md"
classifiers = [
'Development Status :: 5 - Production/Stable',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: Implementation :: CPython',
'Operating System :: POSIX',
'Operating System :: MacOS :: MacOS X',
]
requires-python = ">=3.7,<3.11"
dependencies = [
'async-timeout==4.0.2',
'msgpack==1.0.4',
'setuptools-scm==7.0.5',
'uvloop==0.16.0; platform_system != "Windows"',
'websockets==10.3',
]
dynamic = ["version"]
[project.optional-dependencies]
dev = [
"autopep8==1.6.0",
"bandit==1.7.4",
"flake8-bugbear==22.7.1",
"flake8-datetimez==20.10.0",
"flake8-isort==4.1.2.post0",
"flake8-logging-format==0.6.0",
"flake8==4.0.1",
"mypy==0.971",
"pip-tools", # do not pin
"pytest-cov==3.0.0",
"pytest-env==0.6.2",
"pytest==7.1.2",
"safety==2.1.1",
]
[project.scripts]
rt = "rabbit_tunnel.__main__:main"
[tool.black]
line-length = 80
[tool.coverage.run]
source = "rabbit_tunnel/*"
[tool.coverage.report]
precision = 2
exclude_lines = ["pragma: no cover", "if TYPE_CHECKING:"]
[tool.isort]
profile = "black"
line_length = 80
virtual_env = "python-env"
[tool.mypy]
python_version = "3.10"
disallow_untyped_defs = true
check_untyped_defs = true
warn_return_any = true
warn_unused_configs = true
warn_redundant_casts = true
warn_unused_ignores = true
[[tool.mypy.overrides]]
module = "msgpack"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "pytest"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "_pytest.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "setuptools_scm"
ignore_missing_imports = true
[tool.pytest.ini_options]
addopts = "--cov-report html --cov=rabbit_tunnel"
asyncio_mode = "strict"
testpaths = ["tests"]
[tool.setuptools]
packages = ["rabbit_tunnel"]
[tool.setuptools_scm]
write_to = "rabbit_tunnel/_version.py"