-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
80 lines (61 loc) · 1.98 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
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "samaware"
description = "pretalx plugin with enhanced features for speaker care during a conference"
keywords = ["pretalx"]
dynamic = ["version"]
authors = [
{name = "Felix Dreissig", email = "[email protected]"},
]
license = {text = "ISC"}
readme = "README.md"
dependencies = ["django-context-decorator", "django-csp<4.0", "django-scopes", "requests"]
[project.optional-dependencies]
dev = ["ruff", "pylint"]
[project.urls]
homepage = "https://github.com/f30/samaware"
repository = "https://github.com/f30/samaware.git"
Issues = "https://github.com/f30/spam/issues"
[options.packages.find]
where = "src"
[tool.setuptools.package-data]
"*" = ["*.html", "*.css", "*.js"]
[tool.setuptools.dynamic]
version = {attr = "samaware.__version__"}
[project.entry-points."pretalx.plugin"]
samaware = "samaware:PretalxPluginMeta"
[tool.ruff]
line-length = 109
exclude = ["migrations"]
[tool.ruff.lint]
select = ["ALL"]
ignore = [
"ANN", "C90", "COM", "D1", "D200", "D202", "D203", "D205", "D212", "DJ006", "DJ007", "E741", "EM", "FBT",
"FIX", "N818", "PERF203", "PLR", "PLW0603", "PT", "PTH", "RET", "RUF012", "RSE", "S308", "S311", "S603",
"T20", "TD", "TRY"
]
[tool.ruff.lint.flake8-quotes]
inline-quotes = "single"
multiline-quotes = "single"
docstring-quotes = "double"
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.pylint.main]
# Use as many jobs as available CPU cores
jobs = 0
ignore = ["migrations"]
[tool.pylint.reports]
reports = false
[tool.pylint."messages control"]
disable = [
"design", "too-many-nested-blocks", "fixme", "global-statement", "missing-docstring", "no-else-return",
"duplicate-code", "consider-using-with", "broad-exception-raised", "locally-disabled"
]
good-names = ["e", "f", "fd", "i", "ip", "j", "k", "_"]
[tool.pylint.format]
max-line-length = 109
expected-line-ending-format = "LF"
[tool.pylint.spelling]
generated-members = ["objects", "id", "request", "DoesNotExist"]