-
-
Notifications
You must be signed in to change notification settings - Fork 140
Expand file tree
/
Copy pathpyproject.toml
More file actions
131 lines (120 loc) · 3.83 KB
/
pyproject.toml
File metadata and controls
131 lines (120 loc) · 3.83 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
[build-system]
requires = [
"setuptools==82.0.1",
"setuptools_scm==10.0.5",
]
build-backend = "setuptools.build_meta"
[project]
dynamic = ["version"]
name = "colosseum"
description = "An independent implementation of the CSS layout algorithm"
readme = "README.md"
requires-python = ">= 3.10"
license.text = "New BSD"
authors = [
{name="Russell Keith-Magee", email="russell@keith-magee.com"}
]
maintainers = [
{name="BeeWare Team", email="team@beeware.org"}
]
keywords = [
"CSS",
]
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: 3.15",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Software Development",
"Topic :: Software Development :: User Interfaces",
]
[dependency-groups]
# Extras used by developers *of* colosseum are pinned to specific versions to
# ensure environment consistency.
pre-commit = [
"pre-commit == 4.5.1",
]
test = [
"pytest == 9.0.2",
]
towncrier = [
"towncrier==25.8.0",
]
tox-uv = [
"tox-uv == 1.34.0",
]
dev = [
"setuptools_scm == 9.2.2",
{include-group = "pre-commit"},
{include-group = "test"},
{include-group = "tox-uv"},
]
docs = [
"pyenchant == 3.3.0",
"sphinx == 9.1.0",
"sphinx-autobuild == 2025.8.25",
"sphinx-rtd-theme == 3.1.0",
"sphinxcontrib-spelling == 8.0.2",
]
[project.urls]
Homepage = "https://github.com/beeware/colosseum"
Funding = "https://beeware.org/contributing/membership/"
Tracker = "https://github.com/beeware/colosseum/issues"
Source = "https://github.com/beeware/colosseum"
[tool.ruff.lint]
extend-select = [
"E", # pycodestyle
"W", # pycodestyle
"F", # pyflakes
"UP", # pyupgrade
"B", # flake8-bugbear
"YTT", # flake8-2020
"ASYNC", # flake8-async
"C4", # flake8-comprehensions
"I", # isort
# The SIM rules are *very* opinionated, and don't necessarily make for better code.
# They may be worth occasionally turning on just to see if something could actually
# use improvement.
# "SIM", # flake8-simplify
]
ignore = [
"E501", # line length
"B007", # loop control variable not used
"B018", # useless expression
"B019", # memory leaks from functools.lru_cache / functools.cache
"B024", # abstract base class without abstract methods / properties
"B027", # empty method in abstract base class
"B904", # use raise ... from ...
"C400", # unnecessary generator
"C408", # use dict literal instead of dict()
"C414", # unnecessary list() use within sorted()
"C416", # unnecessary list comprehension
]
[tool.ruff.lint.per-file-ignores]
"docs/conf.py" = ["F401"]
[tool.setuptools_scm]
# To enable SCM versioning, we need an empty tool configuration for setuptools_scm
[tool.towncrier]
directory = "changes"
package = "colosseum"
package_dir = "src"
filename = "docs/background/releases.rst"
title_format = "{version} ({project_date})"
issue_format = "`#{issue} <https://github.com/beeware/colosseum/issues/{issue}>`_"
template = "changes/template.rst"
underlines = ["-", "^", "\""]
type = [
{ directory = "feature", name = "Features", showcontent = true },
{ directory = "bugfix", name = "Bugfixes", showcontent = true },
{ directory = "removal", name = "Backward Incompatible Changes", showcontent = true },
{ directory = "doc", name = "Documentation", showcontent = true },
{ directory = "misc", name = "Misc", showcontent = false },
]