Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
91 lines (73 loc) · 1.87 KB
/
Copy pathpyproject.toml
File metadata and controls
91 lines (73 loc) · 1.87 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
[build-system]
requires = ["setuptools>=77"]
build-backend = "setuptools.build_meta"
[project]
name = "python-slugify"
dynamic = ["version"]
description = "A Python slugify application that also handles Unicode"
readme = "README.md"
requires-python = ">=3.10"
license = "MIT"
license-files = ["LICENSE"]
authors = [{name = "Val Neekman", email = "info@neekware.com"}]
dependencies = ["text-unidecode>=1.3"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"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",
]
[project.optional-dependencies]
unidecode = ["Unidecode>=1.1.1"]
anyascii = ["anyascii>=0.3.2"]
[project.scripts]
slugify = "slugify.__main__:main"
[project.urls]
Homepage = "https://github.com/un33k/python-slugify"
Issues = "https://github.com/un33k/python-slugify/issues"
Changelog = "https://github.com/un33k/python-slugify/blob/master/CHANGELOG.md"
[tool.setuptools]
packages = ["slugify"]
include-package-data = true
[tool.setuptools.dynamic]
version = {attr = "slugify.__version__.__version__"}
[tool.setuptools.package-data]
slugify = ["py.typed"]
# coverage
# --------
[tool.coverage.run]
relative_files = true
parallel = true
branch = true
source = [
"slugify",
"test",
]
[tool.coverage.paths]
source = [
"src",
"*/site-packages",
]
[tool.coverage.report]
skip_covered = true
fail_under = 97
# mypy
# ----
[tool.mypy]
packages = "slugify"
strict = true
sqlite_cache = true
# pytest
# ------
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "--color=yes"
filterwarnings = [
"error",
]