-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
177 lines (157 loc) · 4.32 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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
[build-system]
requires = [ "whey",]
build-backend = "whey"
[project]
name = "formate"
version = "0.7.0"
description = "Python formatting mate."
readme = "README.rst"
keywords = [ "formatting", "linting",]
dynamic = [ "requires-python", "classifiers", "dependencies",]
[project.license]
file = "LICENSE"
[[project.authors]]
name = "Dominic Davis-Foster"
email = "[email protected]"
[project.urls]
Homepage = "https://github.com/python-formate/formate"
"Issue Tracker" = "https://github.com/python-formate/formate/issues"
"Source Code" = "https://github.com/python-formate/formate"
Documentation = "https://formate.readthedocs.io/en/latest"
[project.scripts]
formate = "formate.__main__:main"
[project.entry-points.formate_hooks]
reformat-generics = "formate.reformat_generics:reformat_generics"
dynamic_quotes = "formate.dynamic_quotes:dynamic_quotes"
noqa_reformat = "formate.mini_hooks:noqa_reformat"
squish_stubs = "formate.mini_hooks:squish_stubs"
ellipsis_reformat = "formate.ellipses:ellipsis_reformat"
collections-import-rewrite = "formate.imports:rewrite_collections_abc_imports"
isort = "formate:isort_hook"
yapf = "formate:yapf_hook"
[tool.whey]
base-classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"Typing :: Typed",
]
python-versions = [ "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12",]
python-implementations = [ "CPython", "PyPy",]
platforms = [ "Windows", "macOS", "Linux",]
license-key = "MIT"
[tool.mkrecipe]
conda-channels = [ "conda-forge", "domdfcoding",]
extras = "all"
[tool.dep_checker]
allowed_unused = [ "prettyprinter",]
[tool.dep_checker.name_mapping]
attrs = "attr"
[tool.sphinx-pyproject]
github_username = "python-formate"
github_repository = "formate"
author = "Dominic Davis-Foster"
project = "formate"
copyright = "2020-2022 Dominic Davis-Foster"
language = "en"
package_root = "formate"
extensions = [
"sphinx_toolbox",
"sphinx_toolbox.more_autodoc",
"sphinx_toolbox.more_autosummary",
"sphinx_toolbox.documentation_summary",
"sphinx_toolbox.tweaks.param_dash",
"sphinxcontrib.toctree_plus",
"sphinx_toolbox.tweaks.latex_layout",
"sphinx_toolbox.tweaks.latex_toc",
"sphinx.ext.intersphinx",
"sphinx.ext.mathjax",
"sphinxcontrib.extras_require",
"sphinx.ext.todo",
"notfound.extension",
"sphinx_copybutton",
"sphinxcontrib.default_values",
"sphinx_debuginfo",
"sphinx_licenseinfo",
"seed_intersphinx_mapping",
"html_section",
"attr_utils.autoattrs",
"sphinx_click",
"sphinx_toolbox.pre_commit",
"sphinx_toolbox.more_autosummary.column_widths",
"sphinx_favicon",
"sphinx_toolbox_experimental.changelog",
"sphinx_toolbox_experimental.missing_xref",
"local_extension",
]
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"
html_theme = "furo"
html_theme_path = [ "../..",]
html_show_sourcelink = true
toctree_plus_types = [
"class",
"confval",
"data",
"directive",
"enum",
"exception",
"flag",
"function",
"namedtuple",
"protocol",
"role",
"typeddict",
]
add_module_names = false
hide_none_rtype = true
all_typevars = true
overloads_location = "bottom"
html_codeblock_linenos_style = "table"
autodoc_exclude_members = [
"__dict__",
"__class__",
"__dir__",
"__weakref__",
"__module__",
"__annotations__",
"__orig_bases__",
"__parameters__",
"__subclasshook__",
"__init_subclass__",
"__attrs_attrs__",
"__init__",
"__new__",
"__getnewargs__",
"__abstractmethods__",
"__hash__",
]
[tool.mypy]
python_version = "3.8"
namespace_packages = true
check_untyped_defs = true
warn_unused_ignores = true
no_implicit_optional = true
plugins = [ "attr_utils.mypy_plugin",]
show_error_codes = true
[tool.snippet-fmt]
directives = [ "code-block",]
[tool.snippet-fmt.languages.python]
reformat = true
[tool.snippet-fmt.languages.TOML]
reformat = true
[tool.snippet-fmt.languages.ini]
[tool.snippet-fmt.languages.json]
[tool.dependency-dash."requirements.txt"]
order = 10
[tool.dependency-dash."tests/requirements.txt"]
order = 20
include = false
[tool.dependency-dash."doc-source/requirements.txt"]
order = 30
include = false