Skip to content

Commit

Permalink
Update expected test output for new yapf-isort version.
Browse files Browse the repository at this point in the history
  • Loading branch information
domdfcoding committed Nov 12, 2020
1 parent f2c7af9 commit 5d48ffc
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 46 deletions.
84 changes: 42 additions & 42 deletions tests/test_files/test_docs_/test_make_conf._py_
Expand Up @@ -8,7 +8,7 @@ import re
import sys

sys.path.append(os.path.abspath('.'))
sys.path.append(os.path.abspath('..'))
sys.path.append(os.path.abspath(".."))

# this package
from __pkginfo__ import __version__
Expand All @@ -27,56 +27,56 @@ project = "hello-world"
slug = re.sub(r'\W+', '-', project.lower())
release = version = __version__
copyright = "2020-2021 E. Xample" # pylint: disable=redefined-builtin
language = 'en'
language = "en"
package_root = "hello_world"

extensions = [
'sphinx_toolbox',
'sphinx_toolbox.more_autodoc',
'sphinx_toolbox.more_autosummary',
'sphinx_toolbox.tweaks.param_dash',
'sphinx.ext.intersphinx',
'sphinx.ext.mathjax',
'sphinxcontrib.httpdomain',
'sphinxcontrib.extras_require',
'sphinx.ext.todo',
'sphinxemoji.sphinxemoji',
'notfound.extension',
'sphinx_copybutton',
'sphinxcontrib.default_values',
'sphinxcontrib.toctree_plus',
'seed_intersphinx_mapping',
"sphinx_toolbox",
"sphinx_toolbox.more_autodoc",
"sphinx_toolbox.more_autosummary",
"sphinx_toolbox.tweaks.param_dash",
"sphinx.ext.intersphinx",
"sphinx.ext.mathjax",
"sphinxcontrib.httpdomain",
"sphinxcontrib.extras_require",
"sphinx.ext.todo",
"sphinxemoji.sphinxemoji",
"notfound.extension",
"sphinx_copybutton",
"sphinxcontrib.default_values",
"sphinxcontrib.toctree_plus",
"seed_intersphinx_mapping",
]

sphinxemoji_style = 'twemoji'
sphinxemoji_style = "twemoji"
todo_include_todos = bool(os.environ.get("SHOW_TODOS", 0))
gitstamp_fmt = "%d %b %Y"

templates_path = ['_templates']
html_static_path = ['_static']
source_suffix = '.rst'
templates_path = ["_templates"]
html_static_path = ["_static"]
source_suffix = ".rst"
exclude_patterns = []

master_doc = 'index'
suppress_warnings = ['image.nonlocal_uri']
pygments_style = 'default'
master_doc = "index"
suppress_warnings = ["image.nonlocal_uri"]
pygments_style = "default"

intersphinx_mapping = {
'python': ('https://docs.python.org/3/', None),
'sphinx': ('https://www.sphinx-doc.org/en/stable/', None),
"python": ("https://docs.python.org/3/", None),
"sphinx": ("https://www.sphinx-doc.org/en/stable/", None),
}

html_theme = 'alabaster'
html_theme = "alabaster"
html_theme_options = {
'page_width': '1200px',
'logo_name': 'true',
'github_user': 'octocat',
'github_repo': 'hello-world',
'description': 'a short description',
'github_banner': 'true',
'github_type': 'star',
'badge_branch': 'master',
'fixed_sidebar': 'true',
"page_width": "1200px",
"logo_name": "true",
"github_user": "octocat",
"github_repo": "hello-world",
"description": "a short description",
"github_banner": "true",
"github_type": "star",
"badge_branch": "master",
"fixed_sidebar": "true",
}
html_theme_path = ["../.."]
html_show_sourcelink = True # True will show link to source
Expand All @@ -85,9 +85,9 @@ html_context = {}

htmlhelp_basename = slug

latex_documents = [('index', f'{slug}.tex', project, author, 'manual')]
man_pages = [('index', slug, project, [author], 1)]
texinfo_documents = [('index', slug, project, author, slug, project, 'Miscellaneous')]
latex_documents = [("index", f'{slug}.tex', project, author, "manual")]
man_pages = [("index", slug, project, [author], 1)]
texinfo_documents = [("index", slug, project, author, slug, project, "Miscellaneous")]

toctree_plus_types = {
"class",
Expand Down Expand Up @@ -131,9 +131,9 @@ autodoc_exclude_members = [ # Exclude "standard" methods.
"__hash__",
]
autodoc_default_options = {
'members': None, # Include all members (methods).
'special-members': None,
"members": None, # Include all members (methods).
"special-members": None,
"autosummary": None,
"show-inheritance": None,
'exclude-members': ','.join(autodoc_exclude_members),
"exclude-members": ','.join(autodoc_exclude_members),
}
Expand Up @@ -13,7 +13,7 @@ sys.path.append('.')
from __pkginfo__ import * # pylint: disable=wildcard-import

setup(
description='a short description',
description="a short description",
extras_require=extras_require,
install_requires=install_requires,
py_modules=[],
Expand Down
6 changes: 3 additions & 3 deletions tests/test_files/test_packaging_/test_make_setup_case_2._py_
Expand Up @@ -18,11 +18,11 @@ from __pkginfo__ import * # pylint: disable=wildcard-import
print(datetime.datetime.now)

setup(
alice='19',
alice="19",
bob=22,
description='a short description',
description="a short description",
extras_require=extras_require,
foo='bar',
foo="bar",
install_requires=install_requires,
py_modules=[],
version=__version__,
Expand Down

0 comments on commit 5d48ffc

Please sign in to comment.