-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
70 lines (59 loc) 路 1.91 KB
/
Copy pathpyproject.toml
File metadata and controls
70 lines (59 loc) 路 1.91 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
[project]
name = "ui-avatars"
version = "1.2.14"
description = "Deterministic avatar URLs: Gravatar photos with a colorful initials fallback."
authors = [{ name = "Steve Lacey", email = "steve@steve.ly" }]
license = "MIT"
readme = "README.md"
requires-python = ">=3.10,<4.0"
keywords = ["avatar", "gravatar", "libravatar", "initials", "placeholder", "ui-avatars"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries :: Python Modules",
"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",
]
dependencies = ["tailwind_colors>=1.4.1,<2.0.0"]
[project.urls]
Homepage = "https://github.com/stevelacey/ui-avatars-python"
Repository = "https://github.com/stevelacey/ui-avatars-python"
Issues = "https://github.com/stevelacey/ui-avatars-python/issues"
[tool.poetry]
packages = [{ include = "ui_avatars", from = "src" }]
[tool.poetry.group.lint.dependencies]
ruff = "*"
[tool.poetry.group.test.dependencies]
pytest = "^9.0"
pytest-cov = "^5.0"
pytest-randomly = "^4.1.0"
[tool.pytest.ini_options]
addopts = [
"--cov=ui_avatars",
"--cov-report=term-missing",
"--cov-report=xml",
"--strict-markers",
]
python_files = ["tests.py", "*_tests.py"]
testpaths = ["tests"]
[tool.coverage.run]
source = ["src"]
[tool.coverage.report]
fail_under = 100
show_missing = true
skip_covered = true
[tool.ruff.lint]
select = ["B", "C4", "E", "F", "I", "N", "S", "UP", "W"]
ignore = ["E501"]
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["S101"]
[tool.ruff.lint.isort]
known-first-party = ["ui_avatars"]
[build-system]
requires = ["poetry-core>=2.0"]
build-backend = "poetry.core.masonry.api"