-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
68 lines (56 loc) · 1.61 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
[build-system]
requires = ["poetry>=0.12", "grpcio-tools"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "bfportal_grpc"
version = "0.1.4"
description = " bf2042 portal web grpc as python package "
readme = "Readme.md"
authors = ["iiTzArcur <[email protected]>"]
# license = { file = "LICENSE" }
classifiers = [
# "License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
]
keywords = ["bfportal", "grpc", "Battlefield portal"]
repository = "https://github.com/community-network/bfportal-grpc"
packages = [{ include = "bfportal_grpc" }]
[tool.poetry.dependencies]
aiohttp = "^3.8.5"
protobuf = "^4.24.3"
grpcio = "^1.58"
python = "^3.10"
proto-compile = "^0.1.7"
python-dotenv = "^1.0.0"
[tool.poetry.urls]
"Bug Tracker" = "https://github.com/community-network/bfportal-grpc/issues"
[tool.poetry.scripts]
compile-proto = "bfportal_grpc.helpers.compile:compile_proto"
[tool.poetry.group.dev.dependencies]
pytest = "*"
sonora = "*"
black = "*"
isort = "*"
grpcio-tools = "^1.59.0"
pytest-xdist = {extras = ["psutil"], version = "^3.3.1"}
pytest-asyncio = "^0.21.1"
[tool.poetry.build]
generate-setup-file = false
script = "bfportal_grpc/helpers/compile.py"
[tool.isort]
profile = "black"
import_heading_stdlib = "Standard library imports"
import_heading_thirdparty = "Third party imports"
import_heading_firstparty = "Reader imports"
[tool.mypy]
strict = true
[[tool.mypy.overrides]]
module = "feedparser"
ignore_missing_imports = true
[tool.pytest.ini_options]
asyncio_mode="auto"
testpaths = ["tests"]
addopts = [
"--import-mode=importlib",
]