-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
138 lines (122 loc) · 3.15 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
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
[tool.poetry]
name = "docker-tag-updater"
version = "1.1.1"
description = "Update to the latest Docker image semver tag."
authors = ["Arif Er <[email protected]>"]
license = "GPLv3"
readme = "README.org"
packages = [{include = "docker_tag_updater"}]
[tool.poetry.dependencies]
python = "^3.11"
semver = "^3.0.2"
PyYAML = "^6.0.1"
[tool.poetry.group.dev.dependencies]
epc = "^0.0.5"
sexpdata = "1.0.0"
importmagic = "^0.1.7"
pytest = "^8.0.0"
mypy = "^1.8.0"
pylint = "^3.0.3"
pytest-cov = "^4.1.0"
isort = "^5.13.2"
autoflake = "^2.2.1"
[tool.poetry.group.docs.dependencies]
sphinx = "^7.2.6"
sphinx-pyproject = "^0.3.0"
sphinx-toolbox = "^3.5.0"
sphinx-notfound-page = "^1.0.0"
sphinx-copybutton = "^0.5.2"
default-values = "^0.6.0"
sphinx-debuginfo = "^0.2.2.post1"
seed-intersphinx-mapping = "^1.2.2"
furo = "^2024.1.29"
html-section = "^0.3.0"
sphinx-autodoc-typehints = "^1.25.3"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.mypy]
packages = "docker_tag_updater"
[tool.pylint]
[tool.isort]
profile = "black"
src_paths = ["test", "docker_tag_updater"]
line_length = 88 # follow black formatter
[tool.pyright]
disableOrganizeImports = true
[tool.sphinx-pyproject]
## GitHub
github_username = "arifer612"
github_repository = "docker-tag-updater"
## Boilerplate
copyright = "2024 Arif Er"
project = "docker-tag-updater"
package_root = "docker_tag_updater"
release = "0.1.0"
language = "en"
## Extensions
extensions = [
"sphinx_toolbox.more_autosummary",
"sphinx_toolbox.shields",
"sphinx_toolbox.installation",
"sphinx_toolbox.documentation_summary",
"sphinx_toolbox.tweaks.param_dash",
"sphinx_toolbox.tweaks.latex_layout",
"sphinx_toolbox.tweaks.latex_toc",
"html_section",
"sphinx.ext.intersphinx",
"sphinx.ext.autodoc",
"sphinx.ext.napoleon",
"sphinx_autodoc_typehints",
"notfound.extension",
"sphinx_copybutton",
"sphinxcontrib.default_values",
"sphinx_debuginfo",
"sphinx_toolbox.more_autosummary.column_widths",
]
## Templating
gitstamp_fmt = "%d %b %Y"
templates_path = [ "_templates",]
html_static_path = [ "_static",]
source_suffix = ".rst"
master_doc = "index"
suppress_warnings = [ "image.nonlocal_uri",]
pygments_style = "default"
## Configuration
add_module_names = false
hide_none_rtype = true
all_typevars = true
overloads_location = "bottom"
autodoc_exclude_members = [
"__dict__",
"__class__",
"__dir__",
"__weakref__",
"__module__",
"__annotations__",
"__orig_bases__",
"__parameters__",
"__subclasshook__",
"__init_subclass__",
"__attrs_attrs__",
"__init__",
"__new__",
"__getnewargs__",
"__abstractmethods__",
"__hash__",
]
napoleon_use_param = true
napoleon_numpy_docstring = true
## HTML theming
html_theme = "furo"
html_theme_path = [ "../..",]
html_show_sourcelink = true
html_codeblock_linenos_style = "table"
[tool.sphinx-pyproject.html_theme_options.light_css_variables]
toc-title-font-size = "12pt"
toc-font-size = "12pt"
admonition-font-size = "12pt"
[tool.sphinx-pyproject.html_theme_options.dark_css_variables]
toc-title-font-size = "12pt"
toc-font-size = "12pt"
admonition-font-size = "12pt"