-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
74 lines (64 loc) · 1.52 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
[project]
name = "indico-plugin-event-countdown"
version = "3.3"
description = "A countdown timer for indico events"
readme = "README.md"
requires-python = ">=3.9.0"
license = { file = "LICENSE" }
keywords = ["indico", "events", "countdown"]
authors = [
{ name = "Philipp Kewisch", email = "[email protected]" },
{ name = "Alastair Flynn", email = "[email protected]" }
]
classifiers = [
"Environment :: Plugins",
"Environment :: Web Environment",
"License :: OSI Approved :: GNU Affero General Public License v3",
]
[project.urls]
repository = "https://github.com/canonical/indico-plugin-event-countdown"
[project.optional-dependencies]
dev = [
"black",
"isort",
"flake8",
"pyproject-flake8",
"tox"
]
[project.entry-points."indico.plugins"]
countdown = "indico_countdown_plugin.plugin:CountdownPlugin"
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[tool.flake8]
ignore = ["E203", "E266", "E501", "W503"]
max-line-length = 100
max-complexity = 18
select = ["B","C","E","F","W","T4"]
[tool.isort]
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
line_length = 100
[tool.tox]
legacy_tox_ini = """
[tox]
envlist = lint
skipsdist = true
[testenv:lint]
description = Check code against coding style standards
deps =
black
isort
flake8
pyproject-flake8
allowlist_externals =
npm
commands_pre = npm ci
commands =
black indico_countdown_plugin
isort indico_countdown_plugin
pflake8 indico_countdown_plugin
npm run lint
"""