diff --git a/docs/source/conf.py b/docs/source/conf.py index f86f89a..20a20b5 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # # Configuration file for the Sphinx documentation builder. # @@ -135,9 +134,11 @@ # (source start file, target name, title, # author, documentclass [howto, manual, or own class]). latex_documents = [ - (master_doc, 'p3-analysis-library.tex', - 'P3 Analysis Library Documentation', - 'Intel Corporation', 'manual'), + ( + master_doc, 'p3-analysis-library.tex', + 'P3 Analysis Library Documentation', + 'Intel Corporation', 'manual', + ), ] @@ -146,8 +147,10 @@ # One entry per manual page. List of tuples # (source start file, name, description, authors, manual section). man_pages = [ - (master_doc, 'p3-analysis-library', 'P3 Analysis Library Documentation', - [author], 1) + ( + master_doc, 'p3-analysis-library', 'P3 Analysis Library Documentation', + [author], 1, + ), ] @@ -157,10 +160,12 @@ # (source start file, target name, title, author, # dir menu entry, description, category) texinfo_documents = [ - (master_doc, 'p3-analysis-library', 'P3 Analysis Library Documentation', - author, 'p3-analysis-library', - 'A library simplifying the collection and interpretation of P3 data.', - 'Miscellaneous'), + ( + master_doc, 'p3-analysis-library', 'P3 Analysis Library Documentation', + author, 'p3-analysis-library', + 'A library simplifying the collection and interpretation of P3 data.', + 'Miscellaneous', + ), ] @@ -186,7 +191,8 @@ from sphinx_gallery.scrapers import matplotlib_scraper -class tight_scraper(object): + +class tight_scraper: def __repr__(self): return self.__class__.__name__ @@ -197,7 +203,7 @@ def __call__(self, *args, **kwargs): sphinx_gallery_conf = { 'examples_dirs': ['../../examples','../../case-studies'], 'gallery_dirs': ['examples','case-studies'], - 'image_scrapers': (tight_scraper(), ), + 'image_scrapers': (tight_scraper(),), } intersphinx_mapping = {