-
Notifications
You must be signed in to change notification settings - Fork 27
/
pyproject.toml
86 lines (73 loc) · 1.82 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
86
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[project]
authors = [
{name = "James Bennett"}
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Utilities",
]
name = "webcolors"
description = "A library for working with the color formats defined by HTML and CSS."
keywords = ["color", "css", "html", "web"]
license = {text = "BSD-3-Clause"}
readme = "README.rst"
requires-python = ">=3.9"
version = "24.11.1"
[project.urls]
"Documentation" = "https://webcolors.readthedocs.io"
"Source Code" = "https://github.com/ubernostrum/webcolors"
[dependency-groups]
tests = ["nox"]
[tool.bandit]
skips = ["B101"]
[tool.black]
target-version = ["py39", "py310", "py311", "py312", "py313"]
[tool.coverage.paths]
source = ["src", ".nox/tests_with_coverage*/**/site-packages"]
[tool.coverage.report]
fail_under = 100
[tool.coverage.run]
branch = true
parallel = true
source = ["webcolors"]
[tool.interrogate]
fail-under = 100
ignore-init-method = true
ignore-init-module = true
[tool.isort]
profile = "black"
[tool.pdm]
distribution = true
[tool.pdm.build]
source-includes = [
".editorconfig",
".flake8",
".pre-commit-config.yaml",
".readthedocs.yaml",
"AUTHORS",
"CONTRIBUTING.rst",
"docs/",
"noxfile.py",
"pdm.lock",
"runtests.py",
"tests/",
]
[tool.pylint]
disable = [
"duplicate-code",
"protected-access",
]