From 77886345dfeff3356eb7ccd85aa58a12b517ffb0 Mon Sep 17 00:00:00 2001 From: Tristan Cacqueray Date: Tue, 2 Jan 2018 06:43:26 +0000 Subject: [PATCH] Fix pep8/yamllint errors Change-Id: I1fdfc0e6a96a70623058139335a22325418a0fa4 --- doc/source/conf.py | 7 ++----- roles/configure-mirrors/handlers/main.yaml | 2 +- roles/configure-mirrors/vars/CentOS.yaml | 2 +- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index c22a08924..3293146cb 100755 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -12,16 +12,13 @@ # See the License for the specific language governing permissions and # limitations under the License. -import os -import sys - # -- General configuration ---------------------------------------------------- # Add any Sphinx extension module names here, as strings. They can be # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones. extensions = [ 'sphinx.ext.autodoc', - #'sphinx.ext.intersphinx', + # 'sphinx.ext.intersphinx', 'zuul_sphinx', ] @@ -71,4 +68,4 @@ latex_documents = [ ] # Example configuration for intersphinx: refer to the Python standard library. -#intersphinx_mapping = {'http://docs.python.org/': None} +# intersphinx_mapping = {'http://docs.python.org/': None} diff --git a/roles/configure-mirrors/handlers/main.yaml b/roles/configure-mirrors/handlers/main.yaml index 248e4a724..c23aea051 100644 --- a/roles/configure-mirrors/handlers/main.yaml +++ b/roles/configure-mirrors/handlers/main.yaml @@ -26,4 +26,4 @@ command: "{{ item }}" with_items: - zypper clean - - zypper refresh \ No newline at end of file + - zypper refresh diff --git a/roles/configure-mirrors/vars/CentOS.yaml b/roles/configure-mirrors/vars/CentOS.yaml index 0c0d97021..79ea83ed0 100644 --- a/roles/configure-mirrors/vars/CentOS.yaml +++ b/roles/configure-mirrors/vars/CentOS.yaml @@ -1,2 +1,2 @@ package_mirror: "http://{{ mirror_fqdn }}/{{ ansible_distribution | lower }}" -epel_mirror: "http://{{ mirror_fqdn }}/epel" \ No newline at end of file +epel_mirror: "http://{{ mirror_fqdn }}/epel"