-
Notifications
You must be signed in to change notification settings - Fork 4
/
pyproject.toml
85 lines (77 loc) · 2.51 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
81
82
83
84
85
[project]
name = "kolibri_explore_plugin"
authors = [
{ name="Endless OS Foundation", email="[email protected]" },
]
description = "Kolibri plugin for Endless custom presentation"
readme = "README.md"
requires-python = ">=3.3"
dynamic = ["version"]
license={file = "LICENSE"}
keywords=["kolibri"]
classifiers = [
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: Implementation :: PyPy",
]
[project.entry-points."kolibri.plugins"]
kolibri_explore_plugin = "kolibri_explore_plugin"
[project.urls]
"Homepage" = "https://github.com/endlessm/kolibri-explore-plugin"
"Bug Tracker" = "https://github.com/endlessm/kolibri-explore-plugin/issues/"
[build-system]
# As per https://peps.python.org/pep-0518, list only the minimal dependencies
# needed here to get the build started. All other dependencies and built
# dependencies should be listed in [packages]/[dev-packages] in Pipfile.
# If changing the requires list here, please also update it in [dev-packages]
# in Pipfile.
requires = ["build", "setuptools>=45", "setuptools_scm[toml]>=6.2"]
[tool.black]
line-length = 79
include = '\.pyi?$'
exclude = '''
/(
\.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| static
| dist
| node_modules
)/
'''
[tool.setuptools_scm]
write_to = "kolibri_explore_plugin/_version.py"
[tool.setuptools]
include-package-data = true
packages = ["kolibri_explore_plugin"]
zip-safe = false
# Pytest options
[tool.pytest.ini_options]
# Run in verbose mode by default and always enable our pytest plugin.
addopts = '-v -p kolibri_explore_plugin.test.plugin'
# Tell our plugin to use our test settings module.
DJANGO_SETTINGS_MODULE = 'kolibri_explore_plugin.test.settings'
django_find_project = false
testpaths = 'kolibri_explore_plugin/test'
# Kolibri triggers many Django deprecation warnings since it uses a very
# old version.
#
# FIXME: Try to narrow the deprecation warnings to only those caused by
# Kolibri.
filterwarnings = 'ignore::DeprecationWarning'
# Logging configuration. By default set the log level to INFO so there's
# useful information on failures. Task handling is multithreaded, so add
# the thread name to help debugging.
log_level = 'INFO'
log_format = '%(levelname)-8s %(name)s %(threadName)s %(message)s'