-
Notifications
You must be signed in to change notification settings - Fork 18
/
pyproject.toml
58 lines (53 loc) · 1.46 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
[build-system]
# NOTE: `pip install build` to build with `python -m build`
requires = [
"setuptools >= 40.9.0",
"wheel"
]
build-backend = "setuptools.build_meta"
[tool.towncrier]
directory = "changes.d"
name = "Cylc UI Server"
package = "cylc.uiserver"
filename = "CHANGES.md"
template = "changes.d/changelog-template.jinja"
underlines = ["", "", ""]
title_format = "## cylc-uiserver-{version} (Released {project_date})"
issue_format = "[#{issue}](https://github.com/cylc/cylc-uiserver/pull/{issue})"
ignore = ["changelog-template.jinja"]
# These changelog sections will be shown in the defined order:
[[tool.towncrier.type]]
directory = "break" # NB this is just the filename not directory e.g. 123.break.md
name = "⚠ Breaking Changes"
showcontent = true
[[tool.towncrier.type]]
directory = "feat"
name = "🚀 Enhancements"
showcontent = true
[[tool.towncrier.type]]
directory = "fix"
name = "🔧 Fixes"
showcontent = true
[[tool.towncrier.type]]
directory = "ui-version"
name = "UI version"
showcontent = true
[tool.pytest.ini_options]
addopts = """
--doctest-modules
--doctest-continue-on-failure
-p no:asyncio
"""
# Note: disabled pytest-asyncio to avoid conflict with pytest-tornasync
# The latter should be capable of running the async tests anyway
doctest_optionflags = """
NORMALIZE_WHITESPACE
IGNORE_EXCEPTION_DETAIL
ELLIPSIS
"""
testpaths = [
'cylc/uiserver'
]
markers = [
'integration: tests which run servers and try to connect to them'
]