diff options
| author | Anthony Sottile <asottile@umich.edu> | 2021-03-29 17:43:42 -0700 |
|---|---|---|
| committer | Anthony Sottile <asottile@umich.edu> | 2021-03-30 17:37:13 -0700 |
| commit | 358ae85120b5336f6abf574688b1f7290b3c8cc4 (patch) | |
| tree | b19e95f7eac533e223fd20950c99f67f92f9df10 /docs/source/conf.py | |
| parent | 8cc3fc01e8d06b2eb6fa59332b598b2c638a4d40 (diff) | |
| download | flake8-358ae85120b5336f6abf574688b1f7290b3c8cc4.tar.gz | |
automatic: pyupgrade --py36-plus
Diffstat (limited to 'docs/source/conf.py')
| -rw-r--r-- | docs/source/conf.py | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/docs/source/conf.py b/docs/source/conf.py index dd2003f..97860c9 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # # flake8 documentation build configuration file, created by # sphinx-quickstart on Tue Jan 19 07:14:10 2016. @@ -11,9 +10,8 @@ # # All configuration values have a default; values that are commented out # serve to show the default. - -import sys import os +import sys # If extensions (or modules to document with autodoc) are in another directory, # add these directories to sys.path here. If the directory is relative to the @@ -53,11 +51,12 @@ source_suffix = '.rst' master_doc = 'index' # General information about the project. -project = u'flake8' -copyright = u'2016, Ian Stapleton Cordasco' -author = u'Ian Stapleton Cordasco' +project = 'flake8' +copyright = '2016, Ian Stapleton Cordasco' +author = 'Ian Stapleton Cordasco' import flake8 + # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the # built documents. @@ -234,8 +233,8 @@ latex_elements = { # (source start file, target name, title, # author, documentclass [howto, manual, or own class]). latex_documents = [ - (master_doc, 'flake8.tex', u'flake8 Documentation', - u'Ian Stapleton Cordasco', 'manual'), + (master_doc, 'flake8.tex', 'flake8 Documentation', + 'Ian Stapleton Cordasco', 'manual'), ] # The name of an image file (relative to this directory) to place at the top of @@ -264,7 +263,7 @@ latex_documents = [ # One entry per manual page. List of tuples # (source start file, name, description, authors, manual section). man_pages = [ - ('manpage', 'flake8', u'Flake8 Command Line Documentation', + ('manpage', 'flake8', 'Flake8 Command Line Documentation', [author], 1) ] @@ -278,7 +277,7 @@ man_pages = [ # (source start file, target name, title, author, # dir menu entry, description, category) texinfo_documents = [ - ('index', 'Flake8', u'Flake8 Documentation', u'Tarek Ziade', + ('index', 'Flake8', 'Flake8 Documentation', 'Tarek Ziade', 'Flake8', 'Code checking using pycodestyle, pyflakes and mccabe', 'Miscellaneous'), ] |
