Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
88 lines (73 loc) · 1.74 KB
/
Copy pathpyproject.toml
File metadata and controls
88 lines (73 loc) · 1.74 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
[project]
name = "eventyay-veditor"
dynamic = ["version"]
requires-python = ">=3.12"
description = "Video review and transcode plugin for eventyay"
readme = "README.md"
license = "Apache-2.0"
license-files = ["LICENSE"]
keywords = ["Eventyay"]
authors = [
{name = "FOSSASIA", email = "contact@fossasia.org"},
]
maintainers = [
{name = "FOSSASIA", email = "contact@fossasia.org"},
]
dependencies = [
]
[project.optional-dependencies]
test = [
"pytest>=9.1.1",
"pytest-django>=4.12.0",
"pytest-env>=1.6.0",
"pytest-rerunfailures>=16.4",
"responses>=0.25.0",
]
[dependency-groups]
dev = [
"ruff",
"pre-commit",
]
[project.entry-points."pretix.plugin"]
veditor = "veditor"
[build-system]
requires = [
"setuptools",
]
[project.urls]
homepage = "https://github.com/fossasia/eventyay-veditor"
repository = "https://github.com/fossasia/eventyay-veditor"
[tool.setuptools]
include-package-data = true
[tool.setuptools.package-data]
"veditor" = [
"templates/**/*",
"static/**/*",
"locale/**/*",
]
[tool.setuptools.dynamic]
version = {attr = "veditor.__version__"}
[tool.setuptools.packages.find]
include = ["veditor*"]
namespaces = false
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "eventyay.config.settings"
testpaths = ["tests"]
addopts = "--nomigrations"
[tool.pytest_env]
EVY_RUNNING_ENVIRONMENT = "testing"
EVY_POSTGRES_HOST = "127.0.0.1"
EVY_POSTGRES_PORT = "5432"
EVY_POSTGRES_USER = "postgres"
EVY_POSTGRES_PASSWORD = "postgres"
EVY_POSTGRES_DB = "eventyay-db"
[tool.ruff]
line-length = 160
target-version = "py312"
[tool.ruff.lint]
select = ["E", "F", "I", "B", "UP"]
ignore = ["N802", "E402"]
[tool.ruff.lint.isort]
combine-as-imports = true
known-first-party = ["veditor"]
known-third-party = ["eventyay"]