Skip to content

Commit

Permalink
Reformat with black.
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmtroffaes committed Mar 26, 2024
1 parent b64a847 commit f0fa941
Show file tree
Hide file tree
Showing 10 changed files with 622 additions and 679 deletions.
5 changes: 5 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[flake8]
exclude = .git,.mypy_cache,.pytest_cache,__pycache__,build,data,dist,htmlcov,venv*
max-complexity = 10
max-line-length = 88
extend-ignore = E203
3 changes: 3 additions & 0 deletions .isort.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[settings]
skip_gitignore=true
profile=black
60 changes: 35 additions & 25 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,38 +4,48 @@
# sphinx-quickstart on Wed Aug 3 15:45:22 2011.

extensions = [
'sphinx.ext.autodoc',
'sphinx.ext.doctest',
'sphinx.ext.intersphinx',
'sphinx.ext.todo',
'sphinx.ext.coverage',
'sphinx.ext.imgmath',
'sphinx.ext.viewcode']
source_suffix = '.rst'
master_doc = 'index'
project = 'latexcodec'
copyright = '2011-2014, Matthias C. M. Troffaes'
"sphinx.ext.autodoc",
"sphinx.ext.doctest",
"sphinx.ext.intersphinx",
"sphinx.ext.todo",
"sphinx.ext.coverage",
"sphinx.ext.imgmath",
"sphinx.ext.viewcode",
]
source_suffix = ".rst"
master_doc = "index"
project = "latexcodec"
copyright = "2011-2014, Matthias C. M. Troffaes"
with open("../VERSION") as version_file:
release = version_file.read().strip()
version = '.'.join(release.split('.')[:2])
exclude_patterns = ['_build']
pygments_style = 'sphinx'
html_theme = 'default'
htmlhelp_basename = 'latexcodecdoc'
version = ".".join(release.split(".")[:2])
exclude_patterns = ["_build"]
pygments_style = "sphinx"
html_theme = "default"
htmlhelp_basename = "latexcodecdoc"
latex_documents = [
('index', 'latexcodec.tex',
'latexcodec Documentation',
'Matthias C. M. Troffaes', 'manual'),
(
"index",
"latexcodec.tex",
"latexcodec Documentation",
"Matthias C. M. Troffaes",
"manual",
),
]
man_pages = [
('index', 'latexcodec', 'latexcodec Documentation',
['Matthias C. M. Troffaes'], 1)
("index", "latexcodec", "latexcodec Documentation", ["Matthias C. M. Troffaes"], 1)
]
texinfo_documents = [
('index', 'latexcodec', 'latexcodec Documentation',
'Matthias C. M. Troffaes',
'latexcodec', 'One line description of project.', 'Miscellaneous'),
(
"index",
"latexcodec",
"latexcodec Documentation",
"Matthias C. M. Troffaes",
"latexcodec",
"One line description of project.",
"Miscellaneous",
),
]
intersphinx_mapping = {
'python': ('http://docs.python.org/', None),
"python": ("http://docs.python.org/", None),
}
1 change: 1 addition & 0 deletions latexcodec/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
import latexcodec.codec

latexcodec.codec.register()
Loading

0 comments on commit f0fa941

Please sign in to comment.