From b5f00c26dc2091399e99549eebd61d9830933fcf Mon Sep 17 00:00:00 2001 From: Guewen Baconnier Date: Wed, 2 Nov 2016 10:17:39 +0100 Subject: [PATCH] Fix pep8 --- .travis.yml | 2 ++ attachment_s3/__openerp__.py | 2 +- cloud_platform/__openerp__.py | 2 +- cloud_platform/models/cloud_platform.py | 1 - cloud_platform/songs.py | 1 + logging_json/__openerp__.py | 2 +- session_redis/__openerp__.py | 2 +- 7 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index bc63b1b..195737e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -20,6 +20,8 @@ env: - LINT_CHECK="1" - TESTS="1" ODOO_REPO="odoo/odoo" - TESTS="1" ODOO_REPO="OCA/OCB" + global: + - VERSION="9.0" install: - git clone --depth=1 https://github.com/OCA/maintainer-quality-tools.git ${HOME}/maintainer-quality-tools diff --git a/attachment_s3/__openerp__.py b/attachment_s3/__openerp__.py index 8456d40..253b075 100644 --- a/attachment_s3/__openerp__.py +++ b/attachment_s3/__openerp__.py @@ -11,7 +11,7 @@ 'category': 'Knowledge Management', 'depends': ['base'], 'external_dependencies': { - 'python': ['boto'], + 'python': ['boto'], }, 'website': 'http://www.camptocamp.com', 'data': [], diff --git a/cloud_platform/__openerp__.py b/cloud_platform/__openerp__.py index 5f22e49..ad9b54c 100644 --- a/cloud_platform/__openerp__.py +++ b/cloud_platform/__openerp__.py @@ -14,7 +14,7 @@ 'session_redis', 'monitoring_status', 'logging_json', - #'monitoring_log_requests', + # 'monitoring_log_requests', 'server_environment', # OCA/server-tools ], 'website': 'http://www.camptocamp.com', diff --git a/cloud_platform/models/cloud_platform.py b/cloud_platform/models/cloud_platform.py index 907c216..c90ea66 100644 --- a/cloud_platform/models/cloud_platform.py +++ b/cloud_platform/models/cloud_platform.py @@ -33,7 +33,6 @@ class FilestoreKind(object): file = 'file' - class CloudPlatform(models.AbstractModel): _name = 'cloud.platform' diff --git a/cloud_platform/songs.py b/cloud_platform/songs.py index ce5736b..d8ef9b5 100644 --- a/cloud_platform/songs.py +++ b/cloud_platform/songs.py @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- + def install_exoscale(ctx): ctx.env['cloud.platform'].install_exoscale() diff --git a/logging_json/__openerp__.py b/logging_json/__openerp__.py index ec4bd22..31bca57 100644 --- a/logging_json/__openerp__.py +++ b/logging_json/__openerp__.py @@ -10,7 +10,7 @@ 'depends': ['base', ], 'external_dependencies': { - 'python': ['pythonjsonlogger'], + 'python': ['pythonjsonlogger'], }, 'website': 'http://www.camptocamp.com', 'data': [], diff --git a/session_redis/__openerp__.py b/session_redis/__openerp__.py index 22efc7d..418cb60 100644 --- a/session_redis/__openerp__.py +++ b/session_redis/__openerp__.py @@ -11,7 +11,7 @@ 'category': 'Extra Tools', 'depends': ['base'], 'external_dependencies': { - 'python': ['redis'], + 'python': ['redis'], }, 'website': 'http://www.camptocamp.com', 'data': [],