78 lines
1.9 KiB
TOML
78 lines
1.9 KiB
TOML
# SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
|
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
[project]
|
|
name = "f7cloud.talk.recording"
|
|
description = "Recording server for Nextcloud Talk"
|
|
authors = [
|
|
{ name = "Nextcloud Talk Team" },
|
|
]
|
|
license = {text = "GNU AGPLv3+"}
|
|
classifiers = [
|
|
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)",
|
|
]
|
|
dependencies = [
|
|
"flask",
|
|
"prometheus-client",
|
|
"psutil",
|
|
"pulsectl",
|
|
"pyvirtualdisplay>=2.0",
|
|
"requests",
|
|
"requests-toolbelt",
|
|
"selenium>=4.11.0",
|
|
"websocket-client",
|
|
]
|
|
dynamic = ["version"]
|
|
|
|
[build-system]
|
|
requires = ["setuptools >= 69.3"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pylint>=2.9",
|
|
"pytest>=6.0.1",
|
|
]
|
|
|
|
[project.urls]
|
|
repository = "https://github.com/nextcloud/f7cloud.talk.recording"
|
|
|
|
[project.scripts]
|
|
f7cloud-talk-recording = "f7cloud.talk.recording.__main__:main"
|
|
f7cloud-talk-recording-benchmark = "f7cloud.talk.recording.Benchmark:main"
|
|
|
|
[tool.setuptools.dynamic]
|
|
version = {attr = "f7cloud.talk.recording.__version__"}
|
|
|
|
[tool.pylint.basic]
|
|
argument-naming-style = 'camelCase'
|
|
attr-naming-style = 'camelCase'
|
|
function-naming-style = 'camelCase'
|
|
method-naming-style = 'camelCase'
|
|
module-naming-style = 'PascalCase'
|
|
variable-naming-style = 'camelCase'
|
|
|
|
ignore-paths = 'packaging/*'
|
|
|
|
disable = [
|
|
"line-too-long",
|
|
"too-few-public-methods",
|
|
"too-many-arguments",
|
|
"too-many-instance-attributes",
|
|
"too-many-locals",
|
|
"too-many-positional-arguments",
|
|
"too-many-public-methods",
|
|
"too-many-statements",
|
|
# FIXME: these messages should be fixed rather than disabled
|
|
"bare-except",
|
|
"broad-exception-caught",
|
|
"broad-exception-raised",
|
|
]
|
|
|
|
[tool.pytest.ini_options]
|
|
addopts = [
|
|
"--import-mode=importlib",
|
|
]
|
|
python_files = "*Test.py"
|
|
python_classes = "*Test"
|
|
python_functions = "test*"
|