-
Notifications
You must be signed in to change notification settings - Fork 71
Expand file tree
/
Copy pathpyproject.toml
More file actions
168 lines (155 loc) · 4.02 KB
/
pyproject.toml
File metadata and controls
168 lines (155 loc) · 4.02 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
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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
[tool.poetry]
name = "OpenTAKServer"
version = "0.0.0"
description = "A server for ATAK, WinTAK, and iTAK"
authors = ["OpenTAKServer <opentakserver@gmail.com>"]
readme = "README.md"
license = "GPL-3.0-or-later"
repository = "https://github.com/brian7704/OpenTAKServer"
documentation = "https://docs.opentakserver.io"
include = [{path = "opentakserver/translations/**/*", format = ["sdist", "wheel"]}]
[tool.poetry.dependencies]
adsbxcot = "6.0.4"
androguard = "4.1.3"
aiscot = "7.0.10"
beautifulsoup4 = "4.14.2"
colorlog = "6.10.1"
datetime = "5.5"
# Keep dulwich at 0.24.1 or run into dependency hell with lastversion
dulwich = "0.24.1"
eventlet = "0.40.3"
flask = "3.1.2"
flask-apscheduler = "1.13.1"
flask-babel = "4.0.0"
flask-cors = "6.0.1"
flask-ldap3-login = "1.0.2"
flask-mailman = "1.1.1"
flask-migrate = "4.1.0"
Flask-Security-Too = {version="5.7.1", extras=["common", "mfa"]}
flask-socketio = "5.5.1"
flask-sqlalchemy = "3.1.1"
gevent = "25.5.1"
httpx = {version = "0.28.1", extras = ["http2"]}
kombu = "5.6.0"
lastversion = "*"
lxml = "6.0.2"
meshtastic = "2.7.6"
pika = "1.3.2"
poetry = "2.2.1"
poetry-dynamic-versioning = {version = "1.9.1", extras = ["plugin"]}
protobuf = "6.33.1"
psutil = "7.1.3"
psycopg = "3.2.12"
pyfiglet = "1.0.2"
pygc = "2.0.0"
PyJWT = "2.10.0"
pytak = "7.0.2"
python = ">=3.10, <3.15"
python-ffmpeg = "2.0.12"
python-socketio = {extras = ["client", "websocket_client", "asyncio_client"], version = "5.14.3"}
pyOpenSSL = "25.3.0"
pyotp = "2.9.0"
PyYAML = "6.0.3"
semver = "3.0.4"
sqlalchemy = "2.0.44"
simplekml = "1.3.6"
sqlalchemy-utils = "0.42.0"
tldextract = "5.3.0"
unishox2-py3 = "1.0.0"
yt-dlp = "*"
# Keep zope-event at 5.1.1, DO NOT UPGRADE
zope-event = "5.1.1"
zope-interface = "8.1.1"
[tool.poetry.group.dev.dependencies]
isort = "^7.0.0"
black = "^26.0.0"
flake8 = "^7.3.0"
flake8-pyproject = "^1.2.4"
pytest = "^9.0.0"
pytest-cov = "^7.0.0"
[tool.poetry-dynamic-versioning]
enable = true
vcs = "git"
style = "semver"
dirty = false
pattern = "((?P<epoch>\\d+)!)?(?P<base>\\d+(\\.\\d+)*)"
[tool.poetry-dynamic-versioning.files."opentakserver/__init__.py"]
persistent-substitution = true
initial-content = """
# These version placeholders will be replaced later during substitution.
__version__ = "0.0.0"
__version_tuple__ = (0, 0, 0)
"""
[build-system]
requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning>=1.0.0,<2.0.0"]
build-backend = "poetry_dynamic_versioning.backend"
[tool.poetry.scripts]
opentakserver = "opentakserver.app:start"
eud_handler = "opentakserver.eud_handler.eud_handler:main"
cot_parser = "opentakserver.cot_parser.cot_parser:main"
[tool.black]
line_length = 100
target-version = ["py311"]
src = ["opentakserver/", "tests/"]
[tool.isort]
known_first_party = "opentakserver"
profile = "black"
line_length = 100
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
ensure_newline_before_comments = true
combine_as_imports = false
skip = [".git", "venv"]
[tool.flake8]
max-line-length = 100
extend-ignore = [
"E203", # whitespace before ':'
"E266", # too many leading '#' for block comment
"E501", # line too long (handled by black)
"W503", # line break before binary operator
"W504", # line break after binary operator
]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = [
"--verbose",
"--cov=opentakserver",
"--cov-report=term-missing",
"--cov-report=term",
"--cov-report=html",
"--cov-report=xml",
]
[tool.coverage.run]
source = ["opentakserver"]
omit = [
"*/tests/*",
"*/test_*",
]
branch = true
parallel = true
relative_files = true
[tool.coverage.report]
exclude_lines = [
"pragma: nocover",
"def __repr__",
"raise AssertionError",
"raise NotImplementedError",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
"@abstractmethod",
"pass",
]
[tool.mypy]
check_untyped_defs = true
show_error_codes = true
pretty = true
ignore_missing_imports = true
files = ["opentakserver/", "tests/"]
exclude = [
"__pycache__",
".pytest_cache",
".mypy_cache",
"htmlcov",
]