Skip to content

Commit eb840a4

Browse files
committed
Merge branch 'release/4.5.0'
2 parents 90bfd06 + 32b7097 commit eb840a4

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+952
-793
lines changed

docs/conf.py

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
from __future__ import annotations
2+
13
#
24
# Progress Bar documentation build configuration file, created by
35
# sphinx-quickstart on Tue Aug 20 11:47:33 2013.
@@ -9,7 +11,6 @@
911
#
1012
# All configuration values have a default; values that are commented out
1113
# serve to show the default.
12-
1314
import datetime
1415
import os
1516
import sys
@@ -59,17 +60,17 @@
5960

6061
# General information about the project.
6162
project = 'Progress Bar'
62-
project_slug = ''.join(project.capitalize().split())
63+
project_slug: str = ''.join(project.capitalize().split())
6364
copyright = f'{datetime.date.today().year}, <a href="http://wol.ph/">{metadata.__author__}</a>'
6465

6566
# The version info for the project you're documenting, acts as replacement for
6667
# |version| and |release|, also used in various other places throughout the
6768
# built documents.
6869
#
6970
# The short X.Y version.
70-
version = metadata.__version__
71+
version: str = metadata.__version__
7172
# The full version, including alpha/beta/rc tags.
72-
release = metadata.__version__
73+
release: str = metadata.__version__
7374

7475
# The language for content autogenerated by Sphinx. Refer to documentation
7576
# for a list of supported languages.
@@ -202,7 +203,7 @@
202203

203204
# Grouping the document tree into LaTeX files. List of tuples
204205
# (source start file, target name, title, author, documentclass [howto/manual]).
205-
latex_documents = [
206+
latex_documents: list[tuple[str, ...]] = [
206207
(
207208
'index',
208209
f'{project_slug}.tex',
@@ -237,7 +238,7 @@
237238

238239
# One entry per manual page. List of tuples
239240
# (source start file, name, description, authors, manual section).
240-
man_pages = [
241+
man_pages: list[tuple[str, str, str, list[str], int]] = [
241242
(
242243
'index',
243244
project_slug.lower(),
@@ -256,7 +257,7 @@
256257
# Grouping the document tree into Texinfo files. List of tuples
257258
# (source start file, target name, title, author,
258259
# dir menu entry, description, category)
259-
texinfo_documents = [
260+
texinfo_documents: list[tuple[str, ...]] = [
260261
(
261262
'index',
262263
project_slug,
@@ -284,10 +285,10 @@
284285
# -- Options for Epub output ---------------------------------------------
285286

286287
# Bibliographic Dublin Core info.
287-
epub_title = project
288-
epub_author = metadata.__author__
289-
epub_publisher = metadata.__author__
290-
epub_copyright = copyright
288+
epub_title: str = project
289+
epub_author: str = metadata.__author__
290+
epub_publisher: str = metadata.__author__
291+
epub_copyright: str = copyright
291292

292293
# The language of the text. It defaults to the language option
293294
# or en if the language is not set.
@@ -340,4 +341,6 @@
340341

341342

342343
# Example configuration for intersphinx: refer to the Python standard library.
343-
intersphinx_mapping = {'python': ('https://docs.python.org/3', None)}
344+
intersphinx_mapping: dict[str, tuple[str, None]] = {
345+
'python': ('https://docs.python.org/3', None)
346+
}

docs/progressbar.terminal.os_specific.rst

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)