Skip to content

Commit

Permalink
update black in tox.ini to match pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
josh-marshall-amp committed Jul 22, 2024
1 parent b62ef01 commit 0d8600b
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 29 deletions.
1 change: 0 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,3 @@ repos:
rev: 24.4.2
hooks:
- id: black

52 changes: 24 additions & 28 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,18 @@
import os
import sys

sys.path.append(
os.path.join(os.path.dirname(__file__), '..', '..', 'src')
)
sys.path.append(os.path.join(os.path.dirname(__file__), "..", "..", "src"))

# -- Project information -----------------------------------------------------

project = 'Fixate'
copyright = '2018, Clint Lawrence, Ryan Parry-Jones'
author = 'Clint Lawrence'
project = "Fixate"
copyright = "2018, Clint Lawrence, Ryan Parry-Jones"
author = "Clint Lawrence"

# The short X.Y version
version = ''
version = ""
# The full version, including alpha/beta/rc tags
release = ''
release = ""


# -- General configuration ---------------------------------------------------
Expand All @@ -40,20 +38,19 @@
# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = ['sphinx.ext.autodoc'
]
extensions = ["sphinx.ext.autodoc"]

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

# The suffix(es) of source filenames.
# You can specify multiple suffix as a list of string:
#
# source_suffix = ['.rst', '.md']
source_suffix = '.rst'
source_suffix = ".rst"

# The master toctree document.
master_doc = 'index'
master_doc = "index"

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand All @@ -76,7 +73,7 @@
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
#
html_theme = 'alabaster'
html_theme = "alabaster"

# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
Expand Down Expand Up @@ -104,7 +101,7 @@
# -- Options for HTMLHelp output ---------------------------------------------

# Output file base name for HTML help builder.
htmlhelp_basename = 'Fixatedoc'
htmlhelp_basename = "Fixatedoc"


# -- Options for LaTeX output ------------------------------------------------
Expand All @@ -113,15 +110,12 @@
# The paper size ('letterpaper' or 'a4paper').
#
# 'papersize': 'letterpaper',

# The font size ('10pt', '11pt' or '12pt').
#
# 'pointsize': '10pt',

# Additional stuff for the LaTeX preamble.
#
# 'preamble': '',

# Latex figure (float) alignment
#
# 'figure_align': 'htbp',
Expand All @@ -131,19 +125,15 @@
# (source start file, target name, title,
# author, documentclass [howto, manual, or own class]).
latex_documents = [
(master_doc, 'Fixate.tex', 'Fixate Documentation',
'Clint Lawrence', 'manual'),
(master_doc, "Fixate.tex", "Fixate Documentation", "Clint Lawrence", "manual"),
]


# -- Options for manual page output ------------------------------------------

# One entry per manual page. List of tuples
# (source start file, name, description, authors, manual section).
man_pages = [
(master_doc, 'fixate', 'Fixate Documentation',
[author], 1)
]
man_pages = [(master_doc, "fixate", "Fixate Documentation", [author], 1)]


# -- Options for Texinfo output ----------------------------------------------
Expand All @@ -152,9 +142,15 @@
# (source start file, target name, title, author,
# dir menu entry, description, category)
texinfo_documents = [
(master_doc, 'Fixate', 'Fixate Documentation',
author, 'Fixate', 'One line description of project.',
'Miscellaneous'),
(
master_doc,
"Fixate",
"Fixate Documentation",
author,
"Fixate",
"One line description of project.",
"Miscellaneous",
),
]


Expand All @@ -173,4 +169,4 @@
# epub_uid = ''

# A list of files that should not be packed into the epub file.
epub_exclude_files = ['search.html']
epub_exclude_files = ["search.html"]

0 comments on commit 0d8600b

Please sign in to comment.