-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
141 lines (127 loc) · 3.41 KB
/
pyproject.toml
File metadata and controls
141 lines (127 loc) · 3.41 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
132
133
134
135
136
137
138
139
140
141
[build-system]
build-backend = "uv_build"
requires = ["uv_build>=0.8.3,<0.12.0"]
[dependency-groups]
dev = [
"mypy-extensions>=1.0.0",
"mypy>=1.0.0",
"pre-commit>=3.0.0",
"pytest-cov>=4.0.0",
"pytest>=7.0.0",
"ruff>=0.1.0",
"types-setuptools>=80.9.0.20250529",
"typing-extensions>=4.1.0"
]
[project]
authors = [{name = "Mike Macpherson"}]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"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",
"Topic :: Software Development :: Libraries :: Python Modules"
]
dependencies = []
description = "A Python package for working with Lucide icons"
keywords = ["lucide", "icons", "svg", "sqlite"]
license = {text = "MIT"}
name = "python-lucide"
readme = "README.md"
requires-python = ">=3.10"
version = "0.2.25"
[project.scripts]
check-lucide-version = "lucide.dev_utils:print_version_status"
lucide-db = "lucide.cli:main"
[project.urls]
"Bug Tracker" = "https://github.com/mmacpherson/python-lucide/issues"
"Homepage" = "https://github.com/mmacpherson/python-lucide"
"Source Code" = "https://github.com/mmacpherson/python-lucide"
[tool.mypy]
check_untyped_defs = true
disallow_incomplete_defs = true
disallow_untyped_calls = false
disallow_untyped_decorators = true
disallow_untyped_defs = true
ignore_missing_imports = true
no_implicit_optional = true
python_version = "3.10"
show_column_numbers = true
show_error_context = true
strict_optional = true
warn_no_return = true
warn_redundant_casts = true
warn_return_any = true
warn_unreachable = true
warn_unused_configs = true
warn_unused_ignores = true
[[tool.mypy.overrides]]
check_untyped_defs = true
disallow_incomplete_defs = false
disallow_untyped_defs = false
module = "tests.*"
[tool.pytest.ini_options]
addopts = "--cov=lucide --cov-report=term-missing --cov-report=xml --cov-report=html"
pythonpath = ["src"]
testpaths = ["tests"]
xfail_strict = true
[tool.ruff]
line-length = 88
target-version = "py310"
[tool.ruff.format]
docstring-code-format = true
indent-style = "space"
line-ending = "lf"
quote-style = "double"
[tool.ruff.lint]
ignore = [
"D203", # one-blank-line-before-class
"D213" # multi-line-summary-second-line
]
select = [
"E", # pycodestyle errors
"F", # pyflakes
"I", # isort
"N", # pep8-naming
"UP", # pyupgrade
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"SIM", # flake8-simplify
"ARG", # flake8-unused-arguments
"ERA", # eradicate
"PL", # pylint
"RET", # flake8-return
"SLF", # flake8-self
"RUF", # ruff-specific rules
"D" # pydocstyle
]
unfixable = [
"F401", # Don't automatically remove unused imports
"F841" # Don't automatically remove unused variables
]
[tool.ruff.lint.isort]
known-first-party = ["lucide"]
section-order = [
"future",
"standard-library",
"third-party",
"first-party",
"local-folder"
]
[tool.ruff.lint.per-file-ignores]
"**/__init__.py" = ["F401"]
"tests/**/*.py" = ["D", "SLF001"]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.uv.build-backend]
# The module name differs from the normalized package name
module-name = "lucide"
# Include tests and database files in source distribution
source-include = [
"tests/**",
"src/lucide/data/*.db"
]