diff --git a/doc/_static/conf.py.txt b/doc/_static/conf.py.txt index 50c7bb782..5420e2717 100644 --- a/doc/_static/conf.py.txt +++ b/doc/_static/conf.py.txt @@ -1,5 +1,3 @@ -# -*- coding: utf-8 -*- -# # test documentation build configuration file, created by # sphinx-quickstart on Sun Jun 26 00:00:43 2016. # diff --git a/doc/conf.py b/doc/conf.py index 2b0ebfb82..0be4672be 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -1,5 +1,3 @@ -# -*- coding: utf-8 -*- -# # Sphinx documentation build configuration file import re diff --git a/doc/usage/configuration.rst b/doc/usage/configuration.rst index 2131d90ad..51c84a2a4 100644 --- a/doc/usage/configuration.rst +++ b/doc/usage/configuration.rst @@ -40,9 +40,7 @@ Important points to note: contain the file name extension. * Since :file:`conf.py` is read as a Python file, the usual rules apply for - encodings and Unicode support: declare the encoding using an encoding cookie - (a comment like ``# -*- coding: utf-8 -*-``) and use Unicode string literals - when you include non-ASCII characters in configuration values. + encodings and Unicode support. * The contents of the config namespace are pickled (so that Sphinx can find out when configuration changes), so it may not contain unpickleable values -- diff --git a/doc/usage/extensions/example_google.py b/doc/usage/extensions/example_google.py index 07870297e..97ffe8a05 100644 --- a/doc/usage/extensions/example_google.py +++ b/doc/usage/extensions/example_google.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """Example Google style docstrings. This module demonstrates documentation as specified by the `Google Python diff --git a/doc/usage/extensions/example_numpy.py b/doc/usage/extensions/example_numpy.py index 479aea489..2712447f4 100644 --- a/doc/usage/extensions/example_numpy.py +++ b/doc/usage/extensions/example_numpy.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """Example NumPy style docstrings. This module demonstrates documentation as specified by the `NumPy diff --git a/setup.py b/setup.py index 23e51452c..ab81cace3 100644 --- a/setup.py +++ b/setup.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- import os import sys from distutils import log diff --git a/sphinx/__init__.py b/sphinx/__init__.py index ac5a91a97..a6574f227 100644 --- a/sphinx/__init__.py +++ b/sphinx/__init__.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ Sphinx ~~~~~~ diff --git a/sphinx/__main__.py b/sphinx/__main__.py index 47a183d08..4badfcc4c 100644 --- a/sphinx/__main__.py +++ b/sphinx/__main__.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.__main__ ~~~~~~~~~~~~~~~ diff --git a/sphinx/addnodes.py b/sphinx/addnodes.py index f9e5bdea4..9ba582ab5 100644 --- a/sphinx/addnodes.py +++ b/sphinx/addnodes.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.addnodes ~~~~~~~~~~~~~~~ diff --git a/sphinx/application.py b/sphinx/application.py index 5f06bfc70..37f9e600d 100644 --- a/sphinx/application.py +++ b/sphinx/application.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.application ~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/builders/__init__.py b/sphinx/builders/__init__.py index 40944fcf1..3524eb891 100644 --- a/sphinx/builders/__init__.py +++ b/sphinx/builders/__init__.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.builders ~~~~~~~~~~~~~~~ diff --git a/sphinx/builders/_epub_base.py b/sphinx/builders/_epub_base.py index 23c0c7530..d95c6958f 100644 --- a/sphinx/builders/_epub_base.py +++ b/sphinx/builders/_epub_base.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.builders._epub_base ~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/builders/applehelp.py b/sphinx/builders/applehelp.py index 36312bc98..6cfced62c 100644 --- a/sphinx/builders/applehelp.py +++ b/sphinx/builders/applehelp.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.builders.applehelp ~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/builders/changes.py b/sphinx/builders/changes.py index 64ade473c..b6cfaa60b 100644 --- a/sphinx/builders/changes.py +++ b/sphinx/builders/changes.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.builders.changes ~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/builders/devhelp.py b/sphinx/builders/devhelp.py index 13abf6b3b..2f053a58e 100644 --- a/sphinx/builders/devhelp.py +++ b/sphinx/builders/devhelp.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.builders.devhelp ~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/builders/dummy.py b/sphinx/builders/dummy.py index d20a5ab09..d5ae94a82 100644 --- a/sphinx/builders/dummy.py +++ b/sphinx/builders/dummy.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.builders.dummy ~~~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/builders/epub3.py b/sphinx/builders/epub3.py index 5029d8da0..88f93e90f 100644 --- a/sphinx/builders/epub3.py +++ b/sphinx/builders/epub3.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.builders.epub3 ~~~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/builders/gettext.py b/sphinx/builders/gettext.py index d4407b305..ec0a6303a 100644 --- a/sphinx/builders/gettext.py +++ b/sphinx/builders/gettext.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.builders.gettext ~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/builders/html.py b/sphinx/builders/html.py index e1afe963e..41931af62 100644 --- a/sphinx/builders/html.py +++ b/sphinx/builders/html.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.builders.html ~~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/builders/htmlhelp.py b/sphinx/builders/htmlhelp.py index 9efc75c20..4a9c7e36b 100644 --- a/sphinx/builders/htmlhelp.py +++ b/sphinx/builders/htmlhelp.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.builders.htmlhelp ~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/builders/latex/__init__.py b/sphinx/builders/latex/__init__.py index ffeb6e5f8..64f1bf29d 100644 --- a/sphinx/builders/latex/__init__.py +++ b/sphinx/builders/latex/__init__.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.builders.latex ~~~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/builders/latex/nodes.py b/sphinx/builders/latex/nodes.py index 2dfba1b57..f0dd0767a 100644 --- a/sphinx/builders/latex/nodes.py +++ b/sphinx/builders/latex/nodes.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.builders.latex.nodes ~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/builders/latex/transforms.py b/sphinx/builders/latex/transforms.py index a339f89ab..c27724c41 100644 --- a/sphinx/builders/latex/transforms.py +++ b/sphinx/builders/latex/transforms.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.builders.latex.transforms ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/builders/linkcheck.py b/sphinx/builders/linkcheck.py index dc522dc07..a94bd9442 100644 --- a/sphinx/builders/linkcheck.py +++ b/sphinx/builders/linkcheck.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.builders.linkcheck ~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/builders/manpage.py b/sphinx/builders/manpage.py index c4947b76b..a277d4604 100644 --- a/sphinx/builders/manpage.py +++ b/sphinx/builders/manpage.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.builders.manpage ~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/builders/qthelp.py b/sphinx/builders/qthelp.py index 3dc6008a4..fbf4e2665 100644 --- a/sphinx/builders/qthelp.py +++ b/sphinx/builders/qthelp.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.builders.qthelp ~~~~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/builders/texinfo.py b/sphinx/builders/texinfo.py index 602e7fb31..da2941458 100644 --- a/sphinx/builders/texinfo.py +++ b/sphinx/builders/texinfo.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.builders.texinfo ~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/builders/text.py b/sphinx/builders/text.py index 8a10be1a6..f9d34e036 100644 --- a/sphinx/builders/text.py +++ b/sphinx/builders/text.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.builders.text ~~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/builders/websupport.py b/sphinx/builders/websupport.py index ab2bf9eaa..e99e6ccbf 100644 --- a/sphinx/builders/websupport.py +++ b/sphinx/builders/websupport.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.builders.websupport ~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/builders/xml.py b/sphinx/builders/xml.py index b36aede1c..302210440 100644 --- a/sphinx/builders/xml.py +++ b/sphinx/builders/xml.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.builders.xml ~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/cmd/__init__.py b/sphinx/cmd/__init__.py index a559306d6..349e7863d 100644 --- a/sphinx/cmd/__init__.py +++ b/sphinx/cmd/__init__.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.cmd ~~~~~~~~~~ diff --git a/sphinx/cmd/build.py b/sphinx/cmd/build.py index 7127dbe37..35a9692fd 100644 --- a/sphinx/cmd/build.py +++ b/sphinx/cmd/build.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.cmd.build ~~~~~~~~~~~~~~~~ diff --git a/sphinx/cmd/make_mode.py b/sphinx/cmd/make_mode.py index a4a61e5cb..6baf0de17 100644 --- a/sphinx/cmd/make_mode.py +++ b/sphinx/cmd/make_mode.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.cmd.make_mode ~~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/cmd/quickstart.py b/sphinx/cmd/quickstart.py index 5695821ab..59d125c42 100644 --- a/sphinx/cmd/quickstart.py +++ b/sphinx/cmd/quickstart.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.cmd.quickstart ~~~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/cmdline.py b/sphinx/cmdline.py index 545ae4e47..003b1cecc 100644 --- a/sphinx/cmdline.py +++ b/sphinx/cmdline.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.cmdline ~~~~~~~~~~~~~~ diff --git a/sphinx/config.py b/sphinx/config.py index 88b0ae6c7..002b2a559 100644 --- a/sphinx/config.py +++ b/sphinx/config.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.config ~~~~~~~~~~~~~ diff --git a/sphinx/deprecation.py b/sphinx/deprecation.py index 7d683cacc..4882f5443 100644 --- a/sphinx/deprecation.py +++ b/sphinx/deprecation.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.deprecation ~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/directives/__init__.py b/sphinx/directives/__init__.py index ae3f06752..5102e7e2b 100644 --- a/sphinx/directives/__init__.py +++ b/sphinx/directives/__init__.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.directives ~~~~~~~~~~~~~~~~~ diff --git a/sphinx/directives/code.py b/sphinx/directives/code.py index 3cb3a2d0a..08da440a8 100644 --- a/sphinx/directives/code.py +++ b/sphinx/directives/code.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.directives.code ~~~~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/directives/other.py b/sphinx/directives/other.py index c6d36d8f2..d2e7f2ddd 100644 --- a/sphinx/directives/other.py +++ b/sphinx/directives/other.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.directives.other ~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/directives/patches.py b/sphinx/directives/patches.py index 733e4e4b9..ecee2b10c 100644 --- a/sphinx/directives/patches.py +++ b/sphinx/directives/patches.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.directives.patches ~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/domains/__init__.py b/sphinx/domains/__init__.py index d1d4dcdd5..d02f883c2 100644 --- a/sphinx/domains/__init__.py +++ b/sphinx/domains/__init__.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.domains ~~~~~~~~~~~~~~ diff --git a/sphinx/domains/c.py b/sphinx/domains/c.py index b035e9e59..c6bed5139 100644 --- a/sphinx/domains/c.py +++ b/sphinx/domains/c.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.domains.c ~~~~~~~~~~~~~~~~ diff --git a/sphinx/domains/changeset.py b/sphinx/domains/changeset.py index 1c38ee2af..21626ba35 100644 --- a/sphinx/domains/changeset.py +++ b/sphinx/domains/changeset.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.domains.changeset ~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/domains/cpp.py b/sphinx/domains/cpp.py index 0e19058a0..2b2f12d57 100644 --- a/sphinx/domains/cpp.py +++ b/sphinx/domains/cpp.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.domains.cpp ~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/domains/javascript.py b/sphinx/domains/javascript.py index 68bd045ef..adc75ab76 100644 --- a/sphinx/domains/javascript.py +++ b/sphinx/domains/javascript.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.domains.javascript ~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/domains/math.py b/sphinx/domains/math.py index b1d23ec74..0b5d1f6dc 100644 --- a/sphinx/domains/math.py +++ b/sphinx/domains/math.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.domains.math ~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/domains/python.py b/sphinx/domains/python.py index a59bd9260..150067e99 100644 --- a/sphinx/domains/python.py +++ b/sphinx/domains/python.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.domains.python ~~~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/domains/rst.py b/sphinx/domains/rst.py index c7680dc1a..aeabbd576 100644 --- a/sphinx/domains/rst.py +++ b/sphinx/domains/rst.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.domains.rst ~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/domains/std.py b/sphinx/domains/std.py index 5d40dc914..12a29de7d 100644 --- a/sphinx/domains/std.py +++ b/sphinx/domains/std.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.domains.std ~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/environment/__init__.py b/sphinx/environment/__init__.py index 50e47c388..e2af4d96c 100644 --- a/sphinx/environment/__init__.py +++ b/sphinx/environment/__init__.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.environment ~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/environment/adapters/__init__.py b/sphinx/environment/adapters/__init__.py index f945c4250..5e2fa3b2f 100644 --- a/sphinx/environment/adapters/__init__.py +++ b/sphinx/environment/adapters/__init__.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.environment.adapters ~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/environment/adapters/asset.py b/sphinx/environment/adapters/asset.py index c729263f7..c20002638 100644 --- a/sphinx/environment/adapters/asset.py +++ b/sphinx/environment/adapters/asset.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.environment.adapters.asset ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/environment/adapters/indexentries.py b/sphinx/environment/adapters/indexentries.py index 8db23d6b0..772a72715 100644 --- a/sphinx/environment/adapters/indexentries.py +++ b/sphinx/environment/adapters/indexentries.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.environment.adapters.indexentries ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/environment/adapters/toctree.py b/sphinx/environment/adapters/toctree.py index 08098b5d7..76e8a7778 100644 --- a/sphinx/environment/adapters/toctree.py +++ b/sphinx/environment/adapters/toctree.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.environment.adapters.toctree ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/environment/collectors/__init__.py b/sphinx/environment/collectors/__init__.py index 619de8e6d..ea6e34ce7 100644 --- a/sphinx/environment/collectors/__init__.py +++ b/sphinx/environment/collectors/__init__.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.environment.collectors ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/environment/collectors/asset.py b/sphinx/environment/collectors/asset.py index e199444e8..9034e7e5c 100644 --- a/sphinx/environment/collectors/asset.py +++ b/sphinx/environment/collectors/asset.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.environment.collectors.asset ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/environment/collectors/dependencies.py b/sphinx/environment/collectors/dependencies.py index ce103fada..db599c37f 100644 --- a/sphinx/environment/collectors/dependencies.py +++ b/sphinx/environment/collectors/dependencies.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.environment.collectors.dependencies ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/environment/collectors/indexentries.py b/sphinx/environment/collectors/indexentries.py index 45f2c6742..5ab309407 100644 --- a/sphinx/environment/collectors/indexentries.py +++ b/sphinx/environment/collectors/indexentries.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.environment.collectors.indexentries ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/environment/collectors/metadata.py b/sphinx/environment/collectors/metadata.py index 00df134ba..7031f50b9 100644 --- a/sphinx/environment/collectors/metadata.py +++ b/sphinx/environment/collectors/metadata.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.environment.collectors.metadata ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/environment/collectors/title.py b/sphinx/environment/collectors/title.py index 3f7c1f55e..9fcb98237 100644 --- a/sphinx/environment/collectors/title.py +++ b/sphinx/environment/collectors/title.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.environment.collectors.title ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/environment/collectors/toctree.py b/sphinx/environment/collectors/toctree.py index 783e1749a..b3a0df82f 100644 --- a/sphinx/environment/collectors/toctree.py +++ b/sphinx/environment/collectors/toctree.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.environment.collectors.toctree ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/errors.py b/sphinx/errors.py index b910c529f..f2cbb843c 100644 --- a/sphinx/errors.py +++ b/sphinx/errors.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.errors ~~~~~~~~~~~~~ diff --git a/sphinx/events.py b/sphinx/events.py index 61e30dd83..c6aa396a3 100644 --- a/sphinx/events.py +++ b/sphinx/events.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.events ~~~~~~~~~~~~~ diff --git a/sphinx/ext/__init__.py b/sphinx/ext/__init__.py index 440c01a15..04773d04d 100644 --- a/sphinx/ext/__init__.py +++ b/sphinx/ext/__init__.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.ext ~~~~~~~~~~ diff --git a/sphinx/ext/apidoc.py b/sphinx/ext/apidoc.py index 65b611b97..19a14bbf5 100644 --- a/sphinx/ext/apidoc.py +++ b/sphinx/ext/apidoc.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.ext.apidoc ~~~~~~~~~~~~~~~~~ diff --git a/sphinx/ext/autodoc/__init__.py b/sphinx/ext/autodoc/__init__.py index e2df9a2ec..900f4a378 100644 --- a/sphinx/ext/autodoc/__init__.py +++ b/sphinx/ext/autodoc/__init__.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.ext.autodoc ~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/ext/autodoc/directive.py b/sphinx/ext/autodoc/directive.py index 2f207a251..57ba12017 100644 --- a/sphinx/ext/autodoc/directive.py +++ b/sphinx/ext/autodoc/directive.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.ext.autodoc.directive ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/ext/autodoc/importer.py b/sphinx/ext/autodoc/importer.py index 42b70447f..be971adbb 100644 --- a/sphinx/ext/autodoc/importer.py +++ b/sphinx/ext/autodoc/importer.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.ext.autodoc.importer ~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/ext/autosectionlabel.py b/sphinx/ext/autosectionlabel.py index 1a3424a48..1014afda8 100644 --- a/sphinx/ext/autosectionlabel.py +++ b/sphinx/ext/autosectionlabel.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.ext.autosectionlabel ~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/ext/autosummary/__init__.py b/sphinx/ext/autosummary/__init__.py index e677057b6..b0ffe093c 100644 --- a/sphinx/ext/autosummary/__init__.py +++ b/sphinx/ext/autosummary/__init__.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.ext.autosummary ~~~~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/ext/autosummary/generate.py b/sphinx/ext/autosummary/generate.py index 8718b774b..53fbb3371 100644 --- a/sphinx/ext/autosummary/generate.py +++ b/sphinx/ext/autosummary/generate.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.ext.autosummary.generate ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/ext/coverage.py b/sphinx/ext/coverage.py index 1d7c87ec5..dde28bb8d 100644 --- a/sphinx/ext/coverage.py +++ b/sphinx/ext/coverage.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.ext.coverage ~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/ext/doctest.py b/sphinx/ext/doctest.py index 097550cd3..37ccf9816 100644 --- a/sphinx/ext/doctest.py +++ b/sphinx/ext/doctest.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.ext.doctest ~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/ext/extlinks.py b/sphinx/ext/extlinks.py index f3173e4af..d284c6e82 100644 --- a/sphinx/ext/extlinks.py +++ b/sphinx/ext/extlinks.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.ext.extlinks ~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/ext/githubpages.py b/sphinx/ext/githubpages.py index 006d22c5a..1b1a604eb 100644 --- a/sphinx/ext/githubpages.py +++ b/sphinx/ext/githubpages.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.ext.githubpages ~~~~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/ext/graphviz.py b/sphinx/ext/graphviz.py index e6e380594..eee76d46b 100644 --- a/sphinx/ext/graphviz.py +++ b/sphinx/ext/graphviz.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.ext.graphviz ~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/ext/ifconfig.py b/sphinx/ext/ifconfig.py index 89f8629af..a4bd03add 100644 --- a/sphinx/ext/ifconfig.py +++ b/sphinx/ext/ifconfig.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.ext.ifconfig ~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/ext/imgconverter.py b/sphinx/ext/imgconverter.py index 573e3be96..1979220c0 100644 --- a/sphinx/ext/imgconverter.py +++ b/sphinx/ext/imgconverter.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.ext.imgconverter ~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/ext/imgmath.py b/sphinx/ext/imgmath.py index 43adf320c..d93d3fb50 100644 --- a/sphinx/ext/imgmath.py +++ b/sphinx/ext/imgmath.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.ext.imgmath ~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/ext/inheritance_diagram.py b/sphinx/ext/inheritance_diagram.py index 018c76153..e56e17cbe 100644 --- a/sphinx/ext/inheritance_diagram.py +++ b/sphinx/ext/inheritance_diagram.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- r""" sphinx.ext.inheritance_diagram ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/ext/intersphinx.py b/sphinx/ext/intersphinx.py index b40edabbf..ab5cc4643 100644 --- a/sphinx/ext/intersphinx.py +++ b/sphinx/ext/intersphinx.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.ext.intersphinx ~~~~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/ext/jsmath.py b/sphinx/ext/jsmath.py index b4312985c..0b7c63464 100644 --- a/sphinx/ext/jsmath.py +++ b/sphinx/ext/jsmath.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.ext.jsmath ~~~~~~~~~~~~~~~~~ diff --git a/sphinx/ext/linkcode.py b/sphinx/ext/linkcode.py index c9f36cfbe..67eb503f3 100644 --- a/sphinx/ext/linkcode.py +++ b/sphinx/ext/linkcode.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.ext.linkcode ~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/ext/mathbase.py b/sphinx/ext/mathbase.py index 2138b50ed..2c37ba65a 100644 --- a/sphinx/ext/mathbase.py +++ b/sphinx/ext/mathbase.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.ext.mathbase ~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/ext/mathjax.py b/sphinx/ext/mathjax.py index dcaf385d7..324c5a2c5 100644 --- a/sphinx/ext/mathjax.py +++ b/sphinx/ext/mathjax.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.ext.mathjax ~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/ext/napoleon/__init__.py b/sphinx/ext/napoleon/__init__.py index f001f4a4d..d4a21ef2e 100644 --- a/sphinx/ext/napoleon/__init__.py +++ b/sphinx/ext/napoleon/__init__.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.ext.napoleon ~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/ext/napoleon/docstring.py b/sphinx/ext/napoleon/docstring.py index c150fc552..55b607faa 100644 --- a/sphinx/ext/napoleon/docstring.py +++ b/sphinx/ext/napoleon/docstring.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.ext.napoleon.docstring ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/ext/napoleon/iterators.py b/sphinx/ext/napoleon/iterators.py index 7e1833c32..eda3e1193 100644 --- a/sphinx/ext/napoleon/iterators.py +++ b/sphinx/ext/napoleon/iterators.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.ext.napoleon.iterators ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/ext/todo.py b/sphinx/ext/todo.py index 9a4478180..62fea7df8 100644 --- a/sphinx/ext/todo.py +++ b/sphinx/ext/todo.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.ext.todo ~~~~~~~~~~~~~~~ diff --git a/sphinx/ext/viewcode.py b/sphinx/ext/viewcode.py index 409ff4a86..21143d0c3 100644 --- a/sphinx/ext/viewcode.py +++ b/sphinx/ext/viewcode.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.ext.viewcode ~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/extension.py b/sphinx/extension.py index 9df449eef..8302594d9 100644 --- a/sphinx/extension.py +++ b/sphinx/extension.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.extension ~~~~~~~~~~~~~~~~ diff --git a/sphinx/highlighting.py b/sphinx/highlighting.py index 3f044f72a..12fec930e 100644 --- a/sphinx/highlighting.py +++ b/sphinx/highlighting.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.highlighting ~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/io.py b/sphinx/io.py index 0ddbc75e6..68ebe2b3c 100644 --- a/sphinx/io.py +++ b/sphinx/io.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.io ~~~~~~~~~ diff --git a/sphinx/jinja2glue.py b/sphinx/jinja2glue.py index 8544937d5..b491ce44e 100644 --- a/sphinx/jinja2glue.py +++ b/sphinx/jinja2glue.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.jinja2glue ~~~~~~~~~~~~~~~~~ diff --git a/sphinx/locale/__init__.py b/sphinx/locale/__init__.py index 42b8d06c0..0dca39a06 100644 --- a/sphinx/locale/__init__.py +++ b/sphinx/locale/__init__.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.locale ~~~~~~~~~~~~~ diff --git a/sphinx/make_mode.py b/sphinx/make_mode.py index fa3fed58d..9e4c0113c 100644 --- a/sphinx/make_mode.py +++ b/sphinx/make_mode.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.make_mode ~~~~~~~~~~~~~~~~ diff --git a/sphinx/parsers.py b/sphinx/parsers.py index 438e5c718..f55e2df73 100644 --- a/sphinx/parsers.py +++ b/sphinx/parsers.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.parsers ~~~~~~~~~~~~~~ diff --git a/sphinx/project.py b/sphinx/project.py index d5f299598..8b8aa5794 100644 --- a/sphinx/project.py +++ b/sphinx/project.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.project ~~~~~~~~~~~~~~ diff --git a/sphinx/pycode/__init__.py b/sphinx/pycode/__init__.py index f00e4d5ae..e97dfeb21 100644 --- a/sphinx/pycode/__init__.py +++ b/sphinx/pycode/__init__.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.pycode ~~~~~~~~~~~~~ diff --git a/sphinx/pycode/parser.py b/sphinx/pycode/parser.py index 5c7eae117..ec04aecab 100644 --- a/sphinx/pycode/parser.py +++ b/sphinx/pycode/parser.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.pycode.parser ~~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/pygments_styles.py b/sphinx/pygments_styles.py index d29d825d5..796ac3843 100644 --- a/sphinx/pygments_styles.py +++ b/sphinx/pygments_styles.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.pygments_styles ~~~~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/registry.py b/sphinx/registry.py index 89e87cdbd..0090d39a9 100644 --- a/sphinx/registry.py +++ b/sphinx/registry.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.registry ~~~~~~~~~~~~~~~ diff --git a/sphinx/roles.py b/sphinx/roles.py index 4ec6eb734..e40de5f19 100644 --- a/sphinx/roles.py +++ b/sphinx/roles.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.roles ~~~~~~~~~~~~ diff --git a/sphinx/search/__init__.py b/sphinx/search/__init__.py index 7b660f4ec..2fd43ca4f 100644 --- a/sphinx/search/__init__.py +++ b/sphinx/search/__init__.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.search ~~~~~~~~~~~~~ diff --git a/sphinx/search/da.py b/sphinx/search/da.py index a73189009..228fdf086 100644 --- a/sphinx/search/da.py +++ b/sphinx/search/da.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.search.da ~~~~~~~~~~~~~~~~ diff --git a/sphinx/search/de.py b/sphinx/search/de.py index 8d423607c..5413e0732 100644 --- a/sphinx/search/de.py +++ b/sphinx/search/de.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.search.de ~~~~~~~~~~~~~~~~ diff --git a/sphinx/search/en.py b/sphinx/search/en.py index b9d9d635d..ebf13b958 100644 --- a/sphinx/search/en.py +++ b/sphinx/search/en.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.search.en ~~~~~~~~~~~~~~~~ diff --git a/sphinx/search/es.py b/sphinx/search/es.py index fb20a17d5..c6f0dae9c 100644 --- a/sphinx/search/es.py +++ b/sphinx/search/es.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.search.es ~~~~~~~~~~~~~~~~ diff --git a/sphinx/search/fi.py b/sphinx/search/fi.py index 7df2d49d3..b8ff1d1f8 100644 --- a/sphinx/search/fi.py +++ b/sphinx/search/fi.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.search.fi ~~~~~~~~~~~~~~~~ diff --git a/sphinx/search/fr.py b/sphinx/search/fr.py index e879e61b2..0848843f3 100644 --- a/sphinx/search/fr.py +++ b/sphinx/search/fr.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.search.fr ~~~~~~~~~~~~~~~~ diff --git a/sphinx/search/hu.py b/sphinx/search/hu.py index 19a2a8cf0..973475cb3 100644 --- a/sphinx/search/hu.py +++ b/sphinx/search/hu.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.search.hu ~~~~~~~~~~~~~~~~ diff --git a/sphinx/search/it.py b/sphinx/search/it.py index b37edfb39..41039818b 100644 --- a/sphinx/search/it.py +++ b/sphinx/search/it.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.search.it ~~~~~~~~~~~~~~~~ diff --git a/sphinx/search/ja.py b/sphinx/search/ja.py index bff3bdb0a..829cc424d 100644 --- a/sphinx/search/ja.py +++ b/sphinx/search/ja.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.search.ja ~~~~~~~~~~~~~~~~ diff --git a/sphinx/search/jssplitter.py b/sphinx/search/jssplitter.py index 7166565f1..71245319b 100644 --- a/sphinx/search/jssplitter.py +++ b/sphinx/search/jssplitter.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.search.jssplitter ~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/search/nl.py b/sphinx/search/nl.py index 8b3d07496..076c190b2 100644 --- a/sphinx/search/nl.py +++ b/sphinx/search/nl.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.search.nl ~~~~~~~~~~~~~~~~ diff --git a/sphinx/search/no.py b/sphinx/search/no.py index 62c40e409..106c6b670 100644 --- a/sphinx/search/no.py +++ b/sphinx/search/no.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.search.no ~~~~~~~~~~~~~~~~ diff --git a/sphinx/search/pt.py b/sphinx/search/pt.py index f8de78e37..143759387 100644 --- a/sphinx/search/pt.py +++ b/sphinx/search/pt.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.search.pt ~~~~~~~~~~~~~~~~ diff --git a/sphinx/search/ro.py b/sphinx/search/ro.py index d4272d093..e385d6f01 100644 --- a/sphinx/search/ro.py +++ b/sphinx/search/ro.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.search.ro ~~~~~~~~~~~~~~~~ diff --git a/sphinx/search/ru.py b/sphinx/search/ru.py index 30a212282..8719ef1d2 100644 --- a/sphinx/search/ru.py +++ b/sphinx/search/ru.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.search.ru ~~~~~~~~~~~~~~~~ diff --git a/sphinx/search/sv.py b/sphinx/search/sv.py index 9a1eacc71..cfdd15f92 100644 --- a/sphinx/search/sv.py +++ b/sphinx/search/sv.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.search.sv ~~~~~~~~~~~~~~~~ diff --git a/sphinx/search/tr.py b/sphinx/search/tr.py index 653efdfef..ba2cdf951 100644 --- a/sphinx/search/tr.py +++ b/sphinx/search/tr.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.search.tr ~~~~~~~~~~~~~~~~ diff --git a/sphinx/search/zh.py b/sphinx/search/zh.py index 37446a389..3c918b4dc 100644 --- a/sphinx/search/zh.py +++ b/sphinx/search/zh.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.search.zh ~~~~~~~~~~~~~~~~ diff --git a/sphinx/setup_command.py b/sphinx/setup_command.py index dfe251d18..da242f50b 100644 --- a/sphinx/setup_command.py +++ b/sphinx/setup_command.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.setup_command ~~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/templates/quickstart/conf.py_t b/sphinx/templates/quickstart/conf.py_t index 32c186bd8..c43b219a3 100644 --- a/sphinx/templates/quickstart/conf.py_t +++ b/sphinx/templates/quickstart/conf.py_t @@ -1,5 +1,3 @@ -# -*- coding: utf-8 -*- -# # Configuration file for the Sphinx documentation builder. # # This file does only contain a selection of the most common options. For a diff --git a/sphinx/testing/__init__.py b/sphinx/testing/__init__.py index c551da36f..8b9e32636 100644 --- a/sphinx/testing/__init__.py +++ b/sphinx/testing/__init__.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.testing ~~~~~~~~~~~~~~ diff --git a/sphinx/testing/fixtures.py b/sphinx/testing/fixtures.py index 399747826..c37e0f357 100644 --- a/sphinx/testing/fixtures.py +++ b/sphinx/testing/fixtures.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.testing.fixtures ~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/testing/path.py b/sphinx/testing/path.py index 56ae27f72..d80bb0786 100644 --- a/sphinx/testing/path.py +++ b/sphinx/testing/path.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.testing.path ~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/testing/util.py b/sphinx/testing/util.py index 8fe2f7ee0..c8fb7f199 100644 --- a/sphinx/testing/util.py +++ b/sphinx/testing/util.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.testing.util ~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/theming.py b/sphinx/theming.py index 75e972cd0..3d7e67506 100644 --- a/sphinx/theming.py +++ b/sphinx/theming.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.theming ~~~~~~~~~~~~~~ diff --git a/sphinx/transforms/__init__.py b/sphinx/transforms/__init__.py index 2268e318c..fc00a53a2 100644 --- a/sphinx/transforms/__init__.py +++ b/sphinx/transforms/__init__.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.transforms ~~~~~~~~~~~~~~~~~ diff --git a/sphinx/transforms/compact_bullet_list.py b/sphinx/transforms/compact_bullet_list.py index 74751097f..99854f188 100644 --- a/sphinx/transforms/compact_bullet_list.py +++ b/sphinx/transforms/compact_bullet_list.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.transforms.compact_bullet_list ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/transforms/i18n.py b/sphinx/transforms/i18n.py index 1c7c16b9e..c3d96562b 100644 --- a/sphinx/transforms/i18n.py +++ b/sphinx/transforms/i18n.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.transforms.i18n ~~~~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/transforms/post_transforms/__init__.py b/sphinx/transforms/post_transforms/__init__.py index e6b254b5b..eb6da0114 100644 --- a/sphinx/transforms/post_transforms/__init__.py +++ b/sphinx/transforms/post_transforms/__init__.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.transforms.post_transforms ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/transforms/post_transforms/code.py b/sphinx/transforms/post_transforms/code.py index 651f88929..a732842c2 100644 --- a/sphinx/transforms/post_transforms/code.py +++ b/sphinx/transforms/post_transforms/code.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.transforms.post_transforms.code ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/transforms/post_transforms/compat.py b/sphinx/transforms/post_transforms/compat.py index 31f277620..d2e5eb72a 100644 --- a/sphinx/transforms/post_transforms/compat.py +++ b/sphinx/transforms/post_transforms/compat.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.transforms.post_transforms.compat ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/transforms/post_transforms/images.py b/sphinx/transforms/post_transforms/images.py index bdc1d898f..8f63dbda5 100644 --- a/sphinx/transforms/post_transforms/images.py +++ b/sphinx/transforms/post_transforms/images.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.transforms.post_transforms.images ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/transforms/references.py b/sphinx/transforms/references.py index d33ebefd2..e1e694163 100644 --- a/sphinx/transforms/references.py +++ b/sphinx/transforms/references.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.transforms.references ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/util/__init__.py b/sphinx/util/__init__.py index 3a89e60e5..cce681a85 100644 --- a/sphinx/util/__init__.py +++ b/sphinx/util/__init__.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.util ~~~~~~~~~~~ diff --git a/sphinx/util/build_phase.py b/sphinx/util/build_phase.py index 48e75675d..d2ed2e35f 100644 --- a/sphinx/util/build_phase.py +++ b/sphinx/util/build_phase.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.util.build_phase ~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/util/compat.py b/sphinx/util/compat.py index e1af4612a..555446574 100644 --- a/sphinx/util/compat.py +++ b/sphinx/util/compat.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.util.compat ~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/util/console.py b/sphinx/util/console.py index a194441f1..f32360c63 100644 --- a/sphinx/util/console.py +++ b/sphinx/util/console.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.util.console ~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/util/docfields.py b/sphinx/util/docfields.py index 885e5eb2d..8e09be135 100644 --- a/sphinx/util/docfields.py +++ b/sphinx/util/docfields.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.util.docfields ~~~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/util/docstrings.py b/sphinx/util/docstrings.py index 8cd4e5fc5..f13975e28 100644 --- a/sphinx/util/docstrings.py +++ b/sphinx/util/docstrings.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.util.docstrings ~~~~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/util/docutils.py b/sphinx/util/docutils.py index 9e2ee740a..8bd5f09c3 100644 --- a/sphinx/util/docutils.py +++ b/sphinx/util/docutils.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.util.docutils ~~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/util/fileutil.py b/sphinx/util/fileutil.py index ecce46c76..ead8e7958 100644 --- a/sphinx/util/fileutil.py +++ b/sphinx/util/fileutil.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.util.fileutil ~~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/util/i18n.py b/sphinx/util/i18n.py index 56591add8..be16b6b27 100644 --- a/sphinx/util/i18n.py +++ b/sphinx/util/i18n.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.util.i18n ~~~~~~~~~~~~~~~~ diff --git a/sphinx/util/images.py b/sphinx/util/images.py index 80ab52d3a..792daa7e7 100644 --- a/sphinx/util/images.py +++ b/sphinx/util/images.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.util.images ~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/util/inspect.py b/sphinx/util/inspect.py index 8a1181f1a..e6ad9e821 100644 --- a/sphinx/util/inspect.py +++ b/sphinx/util/inspect.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.util.inspect ~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/util/inventory.py b/sphinx/util/inventory.py index 8727a6f42..a8f494314 100644 --- a/sphinx/util/inventory.py +++ b/sphinx/util/inventory.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.util.inventory ~~~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/util/jsdump.py b/sphinx/util/jsdump.py index 52522f255..7b55e6543 100644 --- a/sphinx/util/jsdump.py +++ b/sphinx/util/jsdump.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.util.jsdump ~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/util/jsonimpl.py b/sphinx/util/jsonimpl.py index 43beb19da..eb4117f90 100644 --- a/sphinx/util/jsonimpl.py +++ b/sphinx/util/jsonimpl.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.util.jsonimpl ~~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/util/logging.py b/sphinx/util/logging.py index b1fb05070..8f94ac173 100644 --- a/sphinx/util/logging.py +++ b/sphinx/util/logging.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.util.logging ~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/util/matching.py b/sphinx/util/matching.py index 3762fa89e..787169c2e 100644 --- a/sphinx/util/matching.py +++ b/sphinx/util/matching.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.util.matching ~~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/util/math.py b/sphinx/util/math.py index 3638ce172..a474a83f7 100644 --- a/sphinx/util/math.py +++ b/sphinx/util/math.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.util.math ~~~~~~~~~~~~~~~~ diff --git a/sphinx/util/nodes.py b/sphinx/util/nodes.py index e01c1490f..ba1004323 100644 --- a/sphinx/util/nodes.py +++ b/sphinx/util/nodes.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.util.nodes ~~~~~~~~~~~~~~~~~ diff --git a/sphinx/util/osutil.py b/sphinx/util/osutil.py index 8d179d210..74972da0c 100644 --- a/sphinx/util/osutil.py +++ b/sphinx/util/osutil.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.util.osutil ~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/util/parallel.py b/sphinx/util/parallel.py index d847fa163..9f398d141 100644 --- a/sphinx/util/parallel.py +++ b/sphinx/util/parallel.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.util.parallel ~~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/util/png.py b/sphinx/util/png.py index 374d876a0..1b1821857 100644 --- a/sphinx/util/png.py +++ b/sphinx/util/png.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.util.png ~~~~~~~~~~~~~~~ diff --git a/sphinx/util/pycompat.py b/sphinx/util/pycompat.py index d0b3443b5..0256ce0c2 100644 --- a/sphinx/util/pycompat.py +++ b/sphinx/util/pycompat.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.util.pycompat ~~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/util/requests.py b/sphinx/util/requests.py index 3a3c2b6cb..833378dec 100644 --- a/sphinx/util/requests.py +++ b/sphinx/util/requests.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.util.requests ~~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/util/rst.py b/sphinx/util/rst.py index 097e93c74..df7bb550e 100644 --- a/sphinx/util/rst.py +++ b/sphinx/util/rst.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.util.rst ~~~~~~~~~~~~~~~ diff --git a/sphinx/util/smartypants.py b/sphinx/util/smartypants.py index b4f2be0a0..e201b9790 100644 --- a/sphinx/util/smartypants.py +++ b/sphinx/util/smartypants.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.util.smartypants ~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/util/stemmer/__init__.py b/sphinx/util/stemmer/__init__.py index 486d86231..5417c4430 100644 --- a/sphinx/util/stemmer/__init__.py +++ b/sphinx/util/stemmer/__init__.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.util.stemmer ~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/util/stemmer/porter.py b/sphinx/util/stemmer/porter.py index 0c8718799..51c132c2c 100644 --- a/sphinx/util/stemmer/porter.py +++ b/sphinx/util/stemmer/porter.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.util.stemmer.porter ~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/util/tags.py b/sphinx/util/tags.py index c85dad8c0..f69682ee0 100644 --- a/sphinx/util/tags.py +++ b/sphinx/util/tags.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.util.tags ~~~~~~~~~~~~~~~~ diff --git a/sphinx/util/template.py b/sphinx/util/template.py index 7c98654ed..f8bece9b4 100644 --- a/sphinx/util/template.py +++ b/sphinx/util/template.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.util.template ~~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/util/texescape.py b/sphinx/util/texescape.py index 4d5b9b136..f735eb602 100644 --- a/sphinx/util/texescape.py +++ b/sphinx/util/texescape.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.util.texescape ~~~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/util/typing.py b/sphinx/util/typing.py index 12b7a2642..2545e3883 100644 --- a/sphinx/util/typing.py +++ b/sphinx/util/typing.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.util.typing ~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/util/websupport.py b/sphinx/util/websupport.py index 59496ec02..7837fe517 100644 --- a/sphinx/util/websupport.py +++ b/sphinx/util/websupport.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.util.websupport ~~~~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/versioning.py b/sphinx/versioning.py index 2c6569932..a1716e835 100644 --- a/sphinx/versioning.py +++ b/sphinx/versioning.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.versioning ~~~~~~~~~~~~~~~~~ diff --git a/sphinx/writers/__init__.py b/sphinx/writers/__init__.py index 79eacbbfb..d8d9db004 100644 --- a/sphinx/writers/__init__.py +++ b/sphinx/writers/__init__.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.writers ~~~~~~~~~~~~~~ diff --git a/sphinx/writers/html.py b/sphinx/writers/html.py index 39840f3c7..0ef40e0f5 100644 --- a/sphinx/writers/html.py +++ b/sphinx/writers/html.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.writers.html ~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/writers/html5.py b/sphinx/writers/html5.py index 37583ae75..077b93af4 100644 --- a/sphinx/writers/html5.py +++ b/sphinx/writers/html5.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.writers.html5 ~~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/writers/latex.py b/sphinx/writers/latex.py index 5cbebf486..814d4b338 100644 --- a/sphinx/writers/latex.py +++ b/sphinx/writers/latex.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.writers.latex ~~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/writers/manpage.py b/sphinx/writers/manpage.py index 91d040a03..74c17fd6c 100644 --- a/sphinx/writers/manpage.py +++ b/sphinx/writers/manpage.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.writers.manpage ~~~~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/writers/texinfo.py b/sphinx/writers/texinfo.py index 3860ebc5a..adc05359c 100644 --- a/sphinx/writers/texinfo.py +++ b/sphinx/writers/texinfo.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.writers.texinfo ~~~~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/writers/text.py b/sphinx/writers/text.py index bd02fa813..f8805108c 100644 --- a/sphinx/writers/text.py +++ b/sphinx/writers/text.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.writers.text ~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/writers/websupport.py b/sphinx/writers/websupport.py index a962faf4d..6583e8b57 100644 --- a/sphinx/writers/websupport.py +++ b/sphinx/writers/websupport.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.writers.websupport ~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/sphinx/writers/xml.py b/sphinx/writers/xml.py index 23e99c2e3..3cf459491 100644 --- a/sphinx/writers/xml.py +++ b/sphinx/writers/xml.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.writers.xml ~~~~~~~~~~~~~~~~~~ diff --git a/tests/conftest.py b/tests/conftest.py index 68a25b119..363aeeb27 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ pytest config for sphinx/tests ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/tests/test_api_translator.py b/tests/test_api_translator.py index 4e4230ba3..1ff41bcf6 100644 --- a/tests/test_api_translator.py +++ b/tests/test_api_translator.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ test_api_translator ~~~~~~~~~~~~~~~~~~~ diff --git a/tests/test_application.py b/tests/test_application.py index 860da75df..6a3c84ce2 100644 --- a/tests/test_application.py +++ b/tests/test_application.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ test_application ~~~~~~~~~~~~~~~~ diff --git a/tests/test_autodoc.py b/tests/test_autodoc.py index d3c37275b..597fa0ea1 100644 --- a/tests/test_autodoc.py +++ b/tests/test_autodoc.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ test_autodoc ~~~~~~~~~~~~ diff --git a/tests/test_build.py b/tests/test_build.py index c47aa896f..93e4ac346 100644 --- a/tests/test_build.py +++ b/tests/test_build.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ test_build ~~~~~~~~~~ diff --git a/tests/test_build_applehelp.py b/tests/test_build_applehelp.py index 9c5d46941..f66bd5eb8 100644 --- a/tests/test_build_applehelp.py +++ b/tests/test_build_applehelp.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ test_build_applehelp ~~~~~~~~~~~~~~~~~~~~ diff --git a/tests/test_build_epub.py b/tests/test_build_epub.py index 62eb97a1c..66ff62768 100644 --- a/tests/test_build_epub.py +++ b/tests/test_build_epub.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ test_build_html ~~~~~~~~~~~~~~~ diff --git a/tests/test_build_gettext.py b/tests/test_build_gettext.py index 0a226e63e..5f6e29fd6 100644 --- a/tests/test_build_gettext.py +++ b/tests/test_build_gettext.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ test_build_gettext ~~~~~~~~~~~~~~~~~~ diff --git a/tests/test_build_html.py b/tests/test_build_html.py index ce3e4af56..05a4f98ae 100644 --- a/tests/test_build_html.py +++ b/tests/test_build_html.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ test_build_html ~~~~~~~~~~~~~~~ diff --git a/tests/test_build_html5.py b/tests/test_build_html5.py index ced15807a..c2a7bad1c 100644 --- a/tests/test_build_html5.py +++ b/tests/test_build_html5.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ test_build_html5 ~~~~~~~~~~~~~~~~ diff --git a/tests/test_build_htmlhelp.py b/tests/test_build_htmlhelp.py index e7bd8a8f3..124462aa5 100644 --- a/tests/test_build_htmlhelp.py +++ b/tests/test_build_htmlhelp.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ test_build_htmlhelp ~~~~~~~~~~~~~~~~~~~ diff --git a/tests/test_build_latex.py b/tests/test_build_latex.py index 8a6ced1cc..5c21e8429 100644 --- a/tests/test_build_latex.py +++ b/tests/test_build_latex.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ test_build_latex ~~~~~~~~~~~~~~~~ diff --git a/tests/test_build_linkcheck.py b/tests/test_build_linkcheck.py index 12ded8ecc..d6eacf467 100644 --- a/tests/test_build_linkcheck.py +++ b/tests/test_build_linkcheck.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ test_build_linkcheck ~~~~~~~~~~~~~~~~~~~~ diff --git a/tests/test_build_manpage.py b/tests/test_build_manpage.py index ddaba5f91..5861422ef 100644 --- a/tests/test_build_manpage.py +++ b/tests/test_build_manpage.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ test_build_manpage ~~~~~~~~~~~~~~~~~~ diff --git a/tests/test_build_qthelp.py b/tests/test_build_qthelp.py index f427ec2d8..dfbfee08e 100644 --- a/tests/test_build_qthelp.py +++ b/tests/test_build_qthelp.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ test_build_qthelp ~~~~~~~~~~~~~~~~~ diff --git a/tests/test_build_texinfo.py b/tests/test_build_texinfo.py index 25a2ac434..364cdc60f 100644 --- a/tests/test_build_texinfo.py +++ b/tests/test_build_texinfo.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ test_build_texinfo ~~~~~~~~~~~~~~~~~~ diff --git a/tests/test_build_text.py b/tests/test_build_text.py index f7a4035ab..b0755e689 100644 --- a/tests/test_build_text.py +++ b/tests/test_build_text.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ test_build_text ~~~~~~~~~~~~~~~ diff --git a/tests/test_builder.py b/tests/test_builder.py index dbc9d3dae..b6f7cb8ea 100644 --- a/tests/test_builder.py +++ b/tests/test_builder.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ test_builder ~~~~~~~~ diff --git a/tests/test_catalogs.py b/tests/test_catalogs.py index 79e8d6b95..d53430a0d 100644 --- a/tests/test_catalogs.py +++ b/tests/test_catalogs.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ test_build_base ~~~~~~~~~~~~~~~ diff --git a/tests/test_config.py b/tests/test_config.py index 7ee31d633..2e3b6b9ae 100644 --- a/tests/test_config.py +++ b/tests/test_config.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ test_config ~~~~~~~~~~~ diff --git a/tests/test_correct_year.py b/tests/test_correct_year.py index 8995cef5b..9403dcf6f 100644 --- a/tests/test_correct_year.py +++ b/tests/test_correct_year.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ test_correct_year ~~~~~~~~~~~~~~~~~ diff --git a/tests/test_directive_code.py b/tests/test_directive_code.py index 43d9ff99c..c984c9762 100644 --- a/tests/test_directive_code.py +++ b/tests/test_directive_code.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ test_directive_code ~~~~~~~~~~~~~~~~~~~ diff --git a/tests/test_directive_only.py b/tests/test_directive_only.py index 5b55bc370..0d2269366 100644 --- a/tests/test_directive_only.py +++ b/tests/test_directive_only.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ test_only_directive ~~~~~~~~~~~~~~~~~~~ diff --git a/tests/test_directive_other.py b/tests/test_directive_other.py index 9e3f923b0..61882dce4 100644 --- a/tests/test_directive_other.py +++ b/tests/test_directive_other.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ test_directive_other ~~~~~~~~~~~~~~~~~~~~ diff --git a/tests/test_docutilsconf.py b/tests/test_docutilsconf.py index 54cc3c383..e5b81c046 100644 --- a/tests/test_docutilsconf.py +++ b/tests/test_docutilsconf.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ test_docutilsconf ~~~~~~~~~~~~~~~~~ diff --git a/tests/test_domain_cpp.py b/tests/test_domain_cpp.py index 8c0f4c14a..ab9cf9be2 100644 --- a/tests/test_domain_cpp.py +++ b/tests/test_domain_cpp.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ test_domain_cpp ~~~~~~~~~~~~~~~ diff --git a/tests/test_domain_js.py b/tests/test_domain_js.py index 69285c5bd..4dcfdb77d 100644 --- a/tests/test_domain_js.py +++ b/tests/test_domain_js.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ test_domain_js ~~~~~~~~~~~~~~ diff --git a/tests/test_domain_py.py b/tests/test_domain_py.py index 9ef2fb689..bdb9f5fec 100644 --- a/tests/test_domain_py.py +++ b/tests/test_domain_py.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ test_domain_py ~~~~~~~~~~~~~~ diff --git a/tests/test_domain_rst.py b/tests/test_domain_rst.py index c87b4ded9..c446308f5 100644 --- a/tests/test_domain_rst.py +++ b/tests/test_domain_rst.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ test_rst_domain ~~~~~~~~~~~~~~~ diff --git a/tests/test_domain_std.py b/tests/test_domain_std.py index 57d0bf185..b91a196b0 100644 --- a/tests/test_domain_std.py +++ b/tests/test_domain_std.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ test_domain_std ~~~~~~~~~~~~~~~ diff --git a/tests/test_environment.py b/tests/test_environment.py index 993fa80a2..807d2b2e9 100644 --- a/tests/test_environment.py +++ b/tests/test_environment.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ test_env ~~~~~~~~ diff --git a/tests/test_environment_indexentries.py b/tests/test_environment_indexentries.py index 691d6d7b0..933bde60f 100644 --- a/tests/test_environment_indexentries.py +++ b/tests/test_environment_indexentries.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ test_environment_indexentries ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/tests/test_environment_toctree.py b/tests/test_environment_toctree.py index 659ac8716..7fbce0475 100644 --- a/tests/test_environment_toctree.py +++ b/tests/test_environment_toctree.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ test_environment_toctree ~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/tests/test_ext_apidoc.py b/tests/test_ext_apidoc.py index 5a78de81d..30de0c209 100644 --- a/tests/test_ext_apidoc.py +++ b/tests/test_ext_apidoc.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ test_apidoc ~~~~~~~~~~~ diff --git a/tests/test_ext_autodoc.py b/tests/test_ext_autodoc.py index 50716f8e6..2ee478d74 100644 --- a/tests/test_ext_autodoc.py +++ b/tests/test_ext_autodoc.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ test_autodoc ~~~~~~~~~~~~ diff --git a/tests/test_ext_autodoc_importer.py b/tests/test_ext_autodoc_importer.py index 1f66298ca..3ffb68d38 100644 --- a/tests/test_ext_autodoc_importer.py +++ b/tests/test_ext_autodoc_importer.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ test_ext_autodoc_importer ~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/tests/test_ext_autosectionlabel.py b/tests/test_ext_autosectionlabel.py index 42ef0c31a..977dd7eee 100644 --- a/tests/test_ext_autosectionlabel.py +++ b/tests/test_ext_autosectionlabel.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ test_ext_autosectionlabel ~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/tests/test_ext_autosummary.py b/tests/test_ext_autosummary.py index ff0c68a6f..d437ff86a 100644 --- a/tests/test_ext_autosummary.py +++ b/tests/test_ext_autosummary.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ test_autosummary ~~~~~~~~~~~~~~~~ diff --git a/tests/test_ext_coverage.py b/tests/test_ext_coverage.py index a8f222a00..688f679fd 100644 --- a/tests/test_ext_coverage.py +++ b/tests/test_ext_coverage.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ test_coverage ~~~~~~~~~~~~~ diff --git a/tests/test_ext_doctest.py b/tests/test_ext_doctest.py index 58c4ca85e..585f84d00 100644 --- a/tests/test_ext_doctest.py +++ b/tests/test_ext_doctest.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ test_doctest ~~~~~~~~~~~~ diff --git a/tests/test_ext_githubpages.py b/tests/test_ext_githubpages.py index 18ee51480..69cb958f7 100644 --- a/tests/test_ext_githubpages.py +++ b/tests/test_ext_githubpages.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ test_ext_githubpages ~~~~~~~~~~~~~~~~~~~~ diff --git a/tests/test_ext_graphviz.py b/tests/test_ext_graphviz.py index 45a155c74..c632d6a20 100644 --- a/tests/test_ext_graphviz.py +++ b/tests/test_ext_graphviz.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ test_ext_graphviz ~~~~~~~~~~~~~~~~~ diff --git a/tests/test_ext_ifconfig.py b/tests/test_ext_ifconfig.py index b4c941512..df6b5c925 100644 --- a/tests/test_ext_ifconfig.py +++ b/tests/test_ext_ifconfig.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ test_ext_ifconfig ~~~~~~~~~~~~~~~~~ diff --git a/tests/test_ext_imgconverter.py b/tests/test_ext_imgconverter.py index 330c3eeed..520d3624a 100644 --- a/tests/test_ext_imgconverter.py +++ b/tests/test_ext_imgconverter.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ test_ext_imgconverter ~~~~~~~~~~~~~~~~~~~~~ diff --git a/tests/test_ext_inheritance.py b/tests/test_ext_inheritance.py index 8a8de8369..e8787427d 100644 --- a/tests/test_ext_inheritance.py +++ b/tests/test_ext_inheritance.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ test_inheritance ~~~~~~~~~~~~~~~~ diff --git a/tests/test_ext_inheritance_diagram.py b/tests/test_ext_inheritance_diagram.py index 711e0712c..dc9dd51c9 100644 --- a/tests/test_ext_inheritance_diagram.py +++ b/tests/test_ext_inheritance_diagram.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ test_ext_inheritance_diagram ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/tests/test_ext_intersphinx.py b/tests/test_ext_intersphinx.py index 968ba7898..b1f4d03af 100644 --- a/tests/test_ext_intersphinx.py +++ b/tests/test_ext_intersphinx.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ test_intersphinx ~~~~~~~~~~~~~~~~ diff --git a/tests/test_ext_math.py b/tests/test_ext_math.py index aef15e7ce..0b8ec56c3 100644 --- a/tests/test_ext_math.py +++ b/tests/test_ext_math.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ test_ext_math ~~~~~~~~~~~~~ diff --git a/tests/test_ext_napoleon.py b/tests/test_ext_napoleon.py index fd7eb0b9f..b02f9630f 100644 --- a/tests/test_ext_napoleon.py +++ b/tests/test_ext_napoleon.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ test_napoleon ~~~~~~~~~~~~~ diff --git a/tests/test_ext_napoleon_docstring.py b/tests/test_ext_napoleon_docstring.py index 2bc7f626c..422ec0d75 100644 --- a/tests/test_ext_napoleon_docstring.py +++ b/tests/test_ext_napoleon_docstring.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ test_napoleon_docstring ~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/tests/test_ext_napoleon_iterators.py b/tests/test_ext_napoleon_iterators.py index 0516adbce..fd3255869 100644 --- a/tests/test_ext_napoleon_iterators.py +++ b/tests/test_ext_napoleon_iterators.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ test_napoleon_iterators ~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/tests/test_ext_todo.py b/tests/test_ext_todo.py index 0260b821d..e5aff7598 100644 --- a/tests/test_ext_todo.py +++ b/tests/test_ext_todo.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ test_ext_todo ~~~~~~~~~~~~~ diff --git a/tests/test_ext_viewcode.py b/tests/test_ext_viewcode.py index 4676f488f..269c2840c 100644 --- a/tests/test_ext_viewcode.py +++ b/tests/test_ext_viewcode.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ test_ext_viewcode ~~~~~~~~~~~~~~~~~ diff --git a/tests/test_highlighting.py b/tests/test_highlighting.py index 29a4c043a..1571adbce 100644 --- a/tests/test_highlighting.py +++ b/tests/test_highlighting.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ test_highlighting ~~~~~~~~~~~~~~~~~ diff --git a/tests/test_intl.py b/tests/test_intl.py index fe14012f9..ee4defa0e 100644 --- a/tests/test_intl.py +++ b/tests/test_intl.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ test_intl ~~~~~~~~~ diff --git a/tests/test_io.py b/tests/test_io.py index 2e81035dc..ae7a162ae 100644 --- a/tests/test_io.py +++ b/tests/test_io.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ test_sphinx_io ~~~~~~~~~~~~~~ diff --git a/tests/test_locale.py b/tests/test_locale.py index 9b1921bd6..bab4dc91a 100644 --- a/tests/test_locale.py +++ b/tests/test_locale.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ test_locale ~~~~~~~~~~ diff --git a/tests/test_markup.py b/tests/test_markup.py index af119e029..e17e647c7 100644 --- a/tests/test_markup.py +++ b/tests/test_markup.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ test_markup ~~~~~~~~~~~ diff --git a/tests/test_metadata.py b/tests/test_metadata.py index c81b1939f..435fb0876 100644 --- a/tests/test_metadata.py +++ b/tests/test_metadata.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ test_metadata ~~~~~~~~~~~~~ diff --git a/tests/test_parser.py b/tests/test_parser.py index cecc99044..6a1db4a6b 100644 --- a/tests/test_parser.py +++ b/tests/test_parser.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ test_sphinx_parsers ~~~~~~~~~~~~~~~~~~~ diff --git a/tests/test_project.py b/tests/test_project.py index 3ae00ef4e..97bcb78ae 100644 --- a/tests/test_project.py +++ b/tests/test_project.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ test_project ~~~~~~~~~~~~ diff --git a/tests/test_pycode.py b/tests/test_pycode.py index f35a57c59..5eccad0db 100644 --- a/tests/test_pycode.py +++ b/tests/test_pycode.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ test_pycode ~~~~~~~~~~~ diff --git a/tests/test_pycode_parser.py b/tests/test_pycode_parser.py index 4fbfefcf2..403c918dc 100644 --- a/tests/test_pycode_parser.py +++ b/tests/test_pycode_parser.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ test_pycode_parser ~~~~~~~~~~~~~~~~~~ diff --git a/tests/test_quickstart.py b/tests/test_quickstart.py index ad36faca7..37a426a7b 100644 --- a/tests/test_quickstart.py +++ b/tests/test_quickstart.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ test_quickstart ~~~~~~~~~~~~~~~ diff --git a/tests/test_roles.py b/tests/test_roles.py index b7c94fc55..27a300c47 100644 --- a/tests/test_roles.py +++ b/tests/test_roles.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ test_roles ~~~~~~~~~~ diff --git a/tests/test_search.py b/tests/test_search.py index c9b619872..97789f687 100644 --- a/tests/test_search.py +++ b/tests/test_search.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ test_search ~~~~~~~~~~~ diff --git a/tests/test_setup_command.py b/tests/test_setup_command.py index 7d373fc8f..ed2fd4ffa 100644 --- a/tests/test_setup_command.py +++ b/tests/test_setup_command.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ test_setup_command ~~~~~~~~~~~~~~~~~~~ diff --git a/tests/test_smartquotes.py b/tests/test_smartquotes.py index 2102467c6..c610e5b2d 100644 --- a/tests/test_smartquotes.py +++ b/tests/test_smartquotes.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ test_smartquotes ~~~~~~~~~~~~~~~~ diff --git a/tests/test_templating.py b/tests/test_templating.py index 3ae560c9e..5b786c52c 100644 --- a/tests/test_templating.py +++ b/tests/test_templating.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ test_templating ~~~~~~~~~~~~~~~~ diff --git a/tests/test_theming.py b/tests/test_theming.py index 43e97473d..3814bb599 100644 --- a/tests/test_theming.py +++ b/tests/test_theming.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ test_theming ~~~~~~~~~~~~ diff --git a/tests/test_toctree.py b/tests/test_toctree.py index e37862ae0..7453797b7 100644 --- a/tests/test_toctree.py +++ b/tests/test_toctree.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ test_toctree ~~~~~~~~~~~~ diff --git a/tests/test_transforms_post_transforms_code.py b/tests/test_transforms_post_transforms_code.py index e1c45ce65..1e7f81270 100644 --- a/tests/test_transforms_post_transforms_code.py +++ b/tests/test_transforms_post_transforms_code.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ test_transforms_post_transforms_code ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/tests/test_util.py b/tests/test_util.py index 8c62db1cd..43fcd978d 100644 --- a/tests/test_util.py +++ b/tests/test_util.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ test_util ~~~~~~~~~~~~~~~ diff --git a/tests/test_util_docstrings.py b/tests/test_util_docstrings.py index 1bdda1021..bfd5b58b4 100644 --- a/tests/test_util_docstrings.py +++ b/tests/test_util_docstrings.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ test_util_docstrings ~~~~~~~~~~~~~~~~~~~~ diff --git a/tests/test_util_docutils.py b/tests/test_util_docutils.py index 9319863e0..9b71568dd 100644 --- a/tests/test_util_docutils.py +++ b/tests/test_util_docutils.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ test_util_docutils ~~~~~~~~~~~~~~~~~~ diff --git a/tests/test_util_fileutil.py b/tests/test_util_fileutil.py index e27132069..7d219c4c8 100644 --- a/tests/test_util_fileutil.py +++ b/tests/test_util_fileutil.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ test_util_fileutil ~~~~~~~~~~~~~~~~~~ diff --git a/tests/test_util_i18n.py b/tests/test_util_i18n.py index 70246d32e..86df387ad 100644 --- a/tests/test_util_i18n.py +++ b/tests/test_util_i18n.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ test_util_i18n ~~~~~~~~~~~~~~ diff --git a/tests/test_util_images.py b/tests/test_util_images.py index a7ecff371..37f426b7b 100644 --- a/tests/test_util_images.py +++ b/tests/test_util_images.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ test_util_images ~~~~~~~~~~~~~~~~ diff --git a/tests/test_util_inspect.py b/tests/test_util_inspect.py index 6b57a620d..9746a3e2a 100644 --- a/tests/test_util_inspect.py +++ b/tests/test_util_inspect.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ test_util_inspect ~~~~~~~~~~~~~~~ diff --git a/tests/test_util_inventory.py b/tests/test_util_inventory.py index 09feaf21c..7491b217d 100644 --- a/tests/test_util_inventory.py +++ b/tests/test_util_inventory.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ test_util_inventory ~~~~~~~~~~~~~~~~~~~ diff --git a/tests/test_util_jsdump.py b/tests/test_util_jsdump.py index b52f8db3f..d93c6ecd0 100644 --- a/tests/test_util_jsdump.py +++ b/tests/test_util_jsdump.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- from sphinx.util.jsdump import dumps, loads diff --git a/tests/test_util_logging.py b/tests/test_util_logging.py index 18e041290..41983c62f 100644 --- a/tests/test_util_logging.py +++ b/tests/test_util_logging.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ test_util_logging ~~~~~~~~~~~~~~~~~ diff --git a/tests/test_util_matching.py b/tests/test_util_matching.py index fc38470d3..37f818f8c 100644 --- a/tests/test_util_matching.py +++ b/tests/test_util_matching.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ test_util_matching ~~~~~~~~~~~~~~~~~~ diff --git a/tests/test_util_nodes.py b/tests/test_util_nodes.py index 04b437a4f..839334cd8 100644 --- a/tests/test_util_nodes.py +++ b/tests/test_util_nodes.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ test_util_nodes ~~~~~~~~~~~~~~~ diff --git a/tests/test_util_pycompat.py b/tests/test_util_pycompat.py index 333664975..8dc8a9e34 100644 --- a/tests/test_util_pycompat.py +++ b/tests/test_util_pycompat.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ test_util_pycompat ~~~~~~~~~~~~~~~~~~ diff --git a/tests/test_util_rst.py b/tests/test_util_rst.py index 166c865d3..8c3627439 100644 --- a/tests/test_util_rst.py +++ b/tests/test_util_rst.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ test_util_rst ~~~~~~~~~~~~~~~ diff --git a/tests/test_versioning.py b/tests/test_versioning.py index 600496709..009af98aa 100644 --- a/tests/test_versioning.py +++ b/tests/test_versioning.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ test_versioning ~~~~~~~~~~~~~~~ diff --git a/tests/test_writer_latex.py b/tests/test_writer_latex.py index e8e8cb191..ce6351111 100644 --- a/tests/test_writer_latex.py +++ b/tests/test_writer_latex.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ test_writer_latex ~~~~~~~~~~~~~~~~ diff --git a/utils/checks.py b/utils/checks.py index 3d421b385..4580ec584 100644 --- a/utils/checks.py +++ b/utils/checks.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ utils.checks ~~~~~~~~~~~~ @@ -70,9 +69,6 @@ def sphinx_has_header(physical_line, filename, lines, line_number): for lno, line in enumerate(lines): llist.append(line) if lno == 0: - if line != '# -*- coding: utf-8 -*-\n': - return 0, 'X101 missing coding declaration' - elif lno == 1: if line != '"""\n' and line != 'r"""\n': return 0, 'X101 missing docstring begin (""")' else: @@ -80,20 +76,20 @@ def sphinx_has_header(physical_line, filename, lines, line_number): elif doc_open: if line == '"""\n': # end of docstring - if lno <= 4: + if lno <= 3: return 0, 'X101 missing module name in docstring' break if line != '\n' and line[:4] != ' ' and doc_open: return 0, 'X101 missing correct docstring indentation' - if lno == 2: + if lno == 1: mod_name_len = len(line.strip()) if line.strip() != mod_name: - return 4, 'X101 wrong module name in docstring heading' - elif lno == 3: + return 2, 'X101 wrong module name in docstring heading' + elif lno == 2: if line.strip() != mod_name_len * '~': - return (4, 'X101 wrong module name underline, should be ' + return (3, 'X101 wrong module name underline, should be ' '~~~...~') else: return 0, 'X101 missing end and/or start of docstring...' diff --git a/utils/jssplitter_generator.py b/utils/jssplitter_generator.py index 2ffe4cc99..c7bf162ef 100644 --- a/utils/jssplitter_generator.py +++ b/utils/jssplitter_generator.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- import json import re import subprocess @@ -112,7 +111,7 @@ console.log(' ... ok\\n') ''' % js_src -python_src = '''# -*- coding: utf-8 -*- +python_src = '''\ """ sphinx.search.jssplitter ~~~~~~~~~~~~~~~~~~~~~~~~