diff options
| author | milde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2022-01-29 16:28:17 +0000 |
|---|---|---|
| committer | milde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2022-01-29 16:28:17 +0000 |
| commit | d79d962ed7046a7fc6a53bdfe472d68f273f3b68 (patch) | |
| tree | 1f2d820f66283f8905b947ca14c734dcf26a4973 /docutils/test/functional | |
| parent | fbf6ed81005614eb13e3db1c6c53f565cb22ef44 (diff) | |
| download | docutils-d79d962ed7046a7fc6a53bdfe472d68f273f3b68.tar.gz | |
Fix code indentation
Check conformance to our coding policies with flake8.
Fix the following problems:
E111 indentation is not a multiple of four
E114 indentation is not a multiple of four (comment)
E115 expected an indented block (comment)
E116 unexpected indentation (comment)
E117 over-indented
E121 continuation line under-indented for hanging indent
E122 continuation line missing indentation or outdented
E124 closing bracked does not match visual indentaion
E127 continuation line over-indented for visual indent
E128 continuation line under-indented for visual indent
E131 continuation line unaligned for hanging indent
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8994 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docutils/test/functional')
| -rw-r--r-- | docutils/test/functional/tests/dangerous.py | 3 | ||||
| -rw-r--r-- | docutils/test/functional/tests/pep_html.py | 3 | ||||
| -rwxr-xr-x | docutils/test/functional/tests/standalone_rst_s5_html_1.py | 3 |
3 files changed, 3 insertions, 6 deletions
diff --git a/docutils/test/functional/tests/dangerous.py b/docutils/test/functional/tests/dangerous.py index 352785673..84f467163 100644 --- a/docutils/test/functional/tests/dangerous.py +++ b/docutils/test/functional/tests/dangerous.py @@ -11,5 +11,4 @@ writer_name = "html" settings_overrides['file_insertion_enabled'] = False settings_overrides['raw_enabled'] = False # local copy of default stylesheet: -settings_overrides['stylesheet_path'] = ( - 'functional/input/data/html4css1.css') +settings_overrides['stylesheet_path'] = 'functional/input/data/html4css1.css' diff --git a/docutils/test/functional/tests/pep_html.py b/docutils/test/functional/tests/pep_html.py index 6cd28e3c4..09c796292 100644 --- a/docutils/test/functional/tests/pep_html.py +++ b/docutils/test/functional/tests/pep_html.py @@ -13,5 +13,4 @@ settings_overrides['pep_home'] = "http://www.python.org/peps" settings_overrides['no_random'] = 1 settings_overrides['cloak_email_addresses'] = 1 # local copy of default stylesheet: -settings_overrides['stylesheet_path'] = ( - 'functional/input/data/html4css1.css') +settings_overrides['stylesheet_path'] = 'functional/input/data/html4css1.css' diff --git a/docutils/test/functional/tests/standalone_rst_s5_html_1.py b/docutils/test/functional/tests/standalone_rst_s5_html_1.py index 3a31bf19e..b4552e6e7 100755 --- a/docutils/test/functional/tests/standalone_rst_s5_html_1.py +++ b/docutils/test/functional/tests/standalone_rst_s5_html_1.py @@ -11,8 +11,7 @@ writer_name = 's5_html' # Settings: settings_overrides['theme'] = 'small-black' # local copy of default stylesheet: -settings_overrides['stylesheet_path'] = ( - 'functional/input/data/html4css1.css') +settings_overrides['stylesheet_path'] = 'functional/input/data/html4css1.css' # Extra functional tests. |
