generated from 12rambau/pypackage
-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
108 lines (93 loc) · 2.55 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
[build-system]
requires = ["setuptools>=61.2", "wheel", "pynpm>=0.2.0"]
build-backend = "setuptools.build_meta"
[project]
name = "sphinx-icon"
version = "0.2.2"
description = "A sphinx custom role to embed inline fontawesome incon in the latex and html outputs"
requires-python = ">=3.6.9"
dependencies = ["sphinx", "pyyaml"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Framework :: Sphinx :: Extension",
"Intended Audience :: Developers",
"Topic :: Software Development :: Build Tools",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Topic :: Documentation",
"Topic :: Utilities",
]
keywords = ["python", "fontawesome", "sphinx", "extention"]
[[project.authors]]
name = "Pierrick Rambaud"
email = "[email protected]"
[project.license]
text = "BSD 2-Clause"
[project.readme]
file = "README.rst"
content-type = "text/x-rst"
[project.urls]
repository = "https://github.com/sphinx-contrib/icon"
[project.optional-dependencies]
dev = [
"nox",
"pre-commit",
]
test = [
"pytest",
"beautifulsoup4",
"pytest-regressions",
"pytest-cov"
]
doc = [
"pydata-sphinx-theme",
"sphinx-design",
"sphinx-copybutton"
]
[tool.setuptools]
include-package-data = false
license-files = ["LICENSE"]
packages = ["sphinxcontrib.icon"]
[tool.setuptools.package-data]
"sphinxcontrib.icon" = [
"node_modules/**/all.min.css",
"node_modules/**/all.min.js",
"node_modules/**/icons.yml",
"node_modules/**/*.ttf",
"node_modules/**/*.woff2",
"package.json",
"package-lock.json"
]
[tool.ruff]
ignore-init-module-imports = true
fix = true
select = ["E", "F", "W", "I", "D", "RUF"]
ignore = ["E501"] # line too long | Black take care of it
[tool.ruff.flake8-quotes]
docstring-quotes = "double"
[tool.ruff.pydocstyle]
convention = "google"
[tool.ruff.per-file-ignores]
"setup.py" = ["D100"] # nothing to see there
[tool.coverage.run]
source = ["sphinxcontrib.icon"]
[tool.mypy]
scripts_are_modules = true
ignore_missing_imports = true
install_types = true
non_interactive = true
warn_redundant_casts = true
[tool.commitizen]
changelog_file = "CHANGELOG.md"
tag_format = "v$major.$minor.$patch$prerelease"
update_changelog_on_bump = true
version = "0.2.2"
version_files = [
"pyproject.toml:version",
"sphinxcontrib/icon/__init__.py:__version__"
]