Skip to content

Commit f7a9013

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent c06eb3a commit f7a9013

File tree

17 files changed

+96
-85
lines changed

17 files changed

+96
-85
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ repos:
2626
- repo: https://github.com/psf/black
2727
rev: "21.12b0"
2828
hooks:
29-
- id: black
29+
- id: black

.tx/config

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,3 @@ host = https://www.transifex.com
55
file_filter = src/robots/locale/<lang>/LC_MESSAGES/django.po
66
source_file = src/robots/locale/en/LC_MESSAGES/django.po
77
source_lang = en
8-

LICENSE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
2525
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
2626
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
2727
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28-
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

docs/conf.py

Lines changed: 71 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -18,32 +18,32 @@
1818
# If extensions (or modules to document with autodoc) are in another directory,
1919
# add these directories to sys.path here. If the directory is relative to the
2020
# documentation root, use os.path.abspath to make it absolute, like shown here.
21-
sys.path.insert(0, os.path.abspath(os.path.join('..', 'src')))
21+
sys.path.insert(0, os.path.abspath(os.path.join("..", "src")))
2222

2323
# -- General configuration -----------------------------------------------------
2424

2525
# If your documentation needs a minimal Sphinx version, state it here.
26-
#needs_sphinx = '1.0'
26+
# needs_sphinx = '1.0'
2727

2828
# Add any Sphinx extension module names here, as strings. They can be extensions
2929
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
3030
extensions = []
3131

3232
# Add any paths that contain templates here, relative to this directory.
33-
templates_path = ['_templates']
33+
templates_path = ["_templates"]
3434

3535
# The suffix of source filenames.
36-
source_suffix = '.rst'
36+
source_suffix = ".rst"
3737

3838
# The encoding of source files.
39-
#source_encoding = 'utf-8-sig'
39+
# source_encoding = 'utf-8-sig'
4040

4141
# The master toctree document.
42-
master_doc = 'index'
42+
master_doc = "index"
4343

4444
# General information about the project.
45-
project = u'django-robots'
46-
copyright = u'2008-2016, Jannis Leidel'
45+
project = u"django-robots"
46+
copyright = u"2008-2016, Jannis Leidel"
4747

4848
# The version info for the project you're documenting, acts as replacement for
4949
# |version| and |release|, also used in various other places throughout the
@@ -57,37 +57,37 @@
5757

5858
# The language for content autogenerated by Sphinx. Refer to documentation
5959
# for a list of supported languages.
60-
#language = None
60+
# language = None
6161

6262
# There are two options for replacing |today|: either, you set today to some
6363
# non-false value, then it is used:
64-
#today = ''
64+
# today = ''
6565
# Else, today_fmt is used as the format for a strftime call.
66-
#today_fmt = '%B %d, %Y'
66+
# today_fmt = '%B %d, %Y'
6767

6868
# List of patterns, relative to source directory, that match files and
6969
# directories to ignore when looking for source files.
70-
exclude_patterns = ['_build']
70+
exclude_patterns = ["_build"]
7171

7272
# The reST default role (used for this markup: `text`) to use for all documents.
73-
#default_role = None
73+
# default_role = None
7474

7575
# If true, '()' will be appended to :func: etc. cross-reference text.
76-
#add_function_parentheses = True
76+
# add_function_parentheses = True
7777

7878
# If true, the current module name will be prepended to all description
7979
# unit titles (such as .. function::).
80-
#add_module_names = True
80+
# add_module_names = True
8181

8282
# If true, sectionauthor and moduleauthor directives will be shown in the
8383
# output. They are ignored by default.
84-
#show_authors = False
84+
# show_authors = False
8585

8686
# The name of the Pygments (syntax highlighting) style to use.
87-
pygments_style = 'sphinx'
87+
pygments_style = "sphinx"
8888

8989
# A list of ignored prefixes for module index sorting.
90-
#modindex_common_prefix = []
90+
# modindex_common_prefix = []
9191

9292

9393
# -- Options for HTML output ---------------------------------------------------
@@ -99,129 +99,131 @@
9999
# Theme options are theme-specific and customize the look and feel of a theme
100100
# further. For a list of options available for each theme, see the
101101
# documentation.
102-
#html_theme_options = {}
102+
# html_theme_options = {}
103103

104104
# Add any paths that contain custom themes here, relative to this directory.
105-
#html_theme_path = []
105+
# html_theme_path = []
106106

107107
# The name for this set of Sphinx documents. If None, it defaults to
108108
# "<project> v<release> documentation".
109-
#html_title = None
109+
# html_title = None
110110

111111
# A shorter title for the navigation bar. Default is the same as html_title.
112-
#html_short_title = None
112+
# html_short_title = None
113113

114114
# The name of an image file (relative to this directory) to place at the top
115115
# of the sidebar.
116-
#html_logo = None
116+
# html_logo = None
117117

118118
# The name of an image file (within the static path) to use as favicon of the
119119
# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
120120
# pixels large.
121-
#html_favicon = None
121+
# html_favicon = None
122122

123123
# Add any paths that contain custom static files (such as style sheets) here,
124124
# relative to this directory. They are copied after the builtin static files,
125125
# so a file named "default.css" will overwrite the builtin "default.css".
126-
html_static_path = ['_static']
126+
html_static_path = ["_static"]
127127

128128
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
129129
# using the given strftime format.
130-
#html_last_updated_fmt = '%b %d, %Y'
130+
# html_last_updated_fmt = '%b %d, %Y'
131131

132132
# If true, SmartyPants will be used to convert quotes and dashes to
133133
# typographically correct entities.
134-
#html_use_smartypants = True
134+
# html_use_smartypants = True
135135

136136
# Custom sidebar templates, maps document names to template names.
137-
#html_sidebars = {}
137+
# html_sidebars = {}
138138

139139
# Additional templates that should be rendered to pages, maps page names to
140140
# template names.
141-
#html_additional_pages = {}
141+
# html_additional_pages = {}
142142

143143
# If false, no module index is generated.
144-
#html_domain_indices = True
144+
# html_domain_indices = True
145145

146146
# If false, no index is generated.
147-
#html_use_index = True
147+
# html_use_index = True
148148

149149
# If true, the index is split into individual pages for each letter.
150-
#html_split_index = False
150+
# html_split_index = False
151151

152152
# If true, links to the reST sources are added to the pages.
153-
#html_show_sourcelink = True
153+
# html_show_sourcelink = True
154154

155155
# If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
156-
#html_show_sphinx = True
156+
# html_show_sphinx = True
157157

158158
# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
159-
#html_show_copyright = True
159+
# html_show_copyright = True
160160

161161
# If true, an OpenSearch description file will be output, and all pages will
162162
# contain a <link> tag referring to it. The value of this option must be the
163163
# base URL from which the finished HTML is served.
164-
#html_use_opensearch = ''
164+
# html_use_opensearch = ''
165165

166166
# This is the file name suffix for HTML files (e.g. ".xhtml").
167-
#html_file_suffix = None
167+
# html_file_suffix = None
168168

169169
# Output file base name for HTML help builder.
170-
htmlhelp_basename = 'django-robotsdoc'
170+
htmlhelp_basename = "django-robotsdoc"
171171

172172

173173
# -- Options for LaTeX output --------------------------------------------------
174174

175175
latex_elements = {
176-
# The paper size ('letterpaper' or 'a4paper').
177-
#'papersize': 'letterpaper',
178-
179-
# The font size ('10pt', '11pt' or '12pt').
180-
#'pointsize': '10pt',
181-
182-
# Additional stuff for the LaTeX preamble.
183-
#'preamble': '',
176+
# The paper size ('letterpaper' or 'a4paper').
177+
#'papersize': 'letterpaper',
178+
# The font size ('10pt', '11pt' or '12pt').
179+
#'pointsize': '10pt',
180+
# Additional stuff for the LaTeX preamble.
181+
#'preamble': '',
184182
}
185183

186184
# Grouping the document tree into LaTeX files. List of tuples
187185
# (source start file, target name, title, author, documentclass [howto/manual]).
188186
latex_documents = [
189-
('index', 'django-robots.tex', u'django-robots Documentation',
190-
u'Jannis Leidel', 'manual'),
187+
(
188+
"index",
189+
"django-robots.tex",
190+
u"django-robots Documentation",
191+
u"Jannis Leidel",
192+
"manual",
193+
),
191194
]
192195

193196
# The name of an image file (relative to this directory) to place at the top of
194197
# the title page.
195-
#latex_logo = None
198+
# latex_logo = None
196199

197200
# For "manual" documents, if this is true, then toplevel headings are parts,
198201
# not chapters.
199-
#latex_use_parts = False
202+
# latex_use_parts = False
200203

201204
# If true, show page references after internal links.
202-
#latex_show_pagerefs = False
205+
# latex_show_pagerefs = False
203206

204207
# If true, show URL addresses after external links.
205-
#latex_show_urls = False
208+
# latex_show_urls = False
206209

207210
# Documents to append as an appendix to all manuals.
208-
#latex_appendices = []
211+
# latex_appendices = []
209212

210213
# If false, no module index is generated.
211-
#latex_domain_indices = True
214+
# latex_domain_indices = True
212215

213216

214217
# -- Options for manual page output --------------------------------------------
215218

216219
# One entry per manual page. List of tuples
217220
# (source start file, name, description, authors, manual section).
218221
man_pages = [
219-
('index', 'django-robots', u'django-robots Documentation',
220-
[u'Jannis Leidel'], 1)
222+
("index", "django-robots", u"django-robots Documentation", [u"Jannis Leidel"], 1)
221223
]
222224

223225
# If true, show URL addresses after external links.
224-
#man_show_urls = False
226+
# man_show_urls = False
225227

226228

227229
# -- Options for Texinfo output ------------------------------------------------
@@ -230,16 +232,22 @@
230232
# (source start file, target name, title, author,
231233
# dir menu entry, description, category)
232234
texinfo_documents = [
233-
('index', 'django-robots', u'django-robots Documentation',
234-
u'Jannis Leidel', 'django-robots', 'One line description of project.',
235-
'Miscellaneous'),
235+
(
236+
"index",
237+
"django-robots",
238+
u"django-robots Documentation",
239+
u"Jannis Leidel",
240+
"django-robots",
241+
"One line description of project.",
242+
"Miscellaneous",
243+
),
236244
]
237245

238246
# Documents to append as an appendix to all manuals.
239-
#texinfo_appendices = []
247+
# texinfo_appendices = []
240248

241249
# If false, no module index is generated.
242-
#texinfo_domain_indices = True
250+
# texinfo_domain_indices = True
243251

244252
# How to display URL addresses: 'footnote', 'no', or 'inline'.
245-
#texinfo_show_urls = 'footnote'
253+
# texinfo_show_urls = 'footnote'

src/robots/locale/da/LC_MESSAGES/django.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SOME DESCRIPTIVE TITLE.
22
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
33
# This file is distributed under the same license as the PACKAGE package.
4-
#
4+
#
55
# Translators:
66
msgid ""
77
msgstr ""

src/robots/locale/de/LC_MESSAGES/django.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SOME DESCRIPTIVE TITLE.
22
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
33
# This file is distributed under the same license as the PACKAGE package.
4-
#
4+
#
55
# Translators:
66
# Jannis Leidel <[email protected]>, 2011
77
msgid ""

src/robots/locale/el/LC_MESSAGES/django.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SOME DESCRIPTIVE TITLE.
22
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
33
# This file is distributed under the same license as the PACKAGE package.
4-
#
4+
#
55
# Translators:
66
# Dimitris Glezos <[email protected]>, 2011
77
msgid ""

src/robots/locale/es_ES/LC_MESSAGES/django.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SOME DESCRIPTIVE TITLE.
22
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
33
# This file is distributed under the same license as the PACKAGE package.
4-
#
4+
#
55
# Translators:
66
# javisantana <[email protected]>, 2011
77
# strel, 2013

src/robots/locale/fr/LC_MESSAGES/django.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SOME DESCRIPTIVE TITLE.
22
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
33
# This file is distributed under the same license as the PACKAGE package.
4-
#
4+
#
55
# Translators:
66
# tim <[email protected]>, 2011
77
# tim <[email protected]>, 2012

src/robots/locale/it/LC_MESSAGES/django.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SOME DESCRIPTIVE TITLE.
22
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
33
# This file is distributed under the same license as the PACKAGE package.
4-
#
4+
#
55
# Translators:
66
# yakky <[email protected]>, 2016
77
msgid ""

src/robots/locale/ja/LC_MESSAGES/django.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SOME DESCRIPTIVE TITLE.
22
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
33
# This file is distributed under the same license as the PACKAGE package.
4-
#
4+
#
55
# Translators:
66
# Jonas Obrist <[email protected]>, 2011
77
msgid ""

src/robots/locale/nl/LC_MESSAGES/django.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SOME DESCRIPTIVE TITLE.
22
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
33
# This file is distributed under the same license as the PACKAGE package.
4-
#
4+
#
55
# Translators:
66
# Vincent Driessen <[email protected]>, 2011
77
msgid ""

src/robots/locale/pt_BR/LC_MESSAGES/django.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SOME DESCRIPTIVE TITLE.
22
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
33
# This file is distributed under the same license as the PACKAGE package.
4-
#
4+
#
55
# Translators:
66
# Herson Hersonls <[email protected]>, 2011
77
# viniciuscainelli <[email protected]>, 2011

src/robots/locale/ru/LC_MESSAGES/django.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SOME DESCRIPTIVE TITLE.
22
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
33
# This file is distributed under the same license as the PACKAGE package.
4-
#
4+
#
55
# Translators:
66
# alekam <[email protected]>, 2011
77
# Jannis Leidel <[email protected]>, 2011

0 commit comments

Comments
 (0)