From 16b6fa5ce83f12707a0493b9bce09e2222bf5929 Mon Sep 17 00:00:00 2001 From: Justin Ferrieu Date: Fri, 7 Jun 2019 10:18:42 +0200 Subject: [PATCH] Removing author identification in all files As specified by the OpenStack Style Guidelines in its 1.1.1.dev15 version, which is the latest version to this day, *author* tags should not be specified (see H105). https://docs.openstack.org/hacking/latest/user/hacking.html#general Change-Id: I0ab7359e15eb04948c7a905378001a66cb901e69 --- cloudkitty/api/app.py | 2 -- cloudkitty/api/middleware.py | 2 -- cloudkitty/api/v1/controllers/__init__.py | 2 -- cloudkitty/api/v1/controllers/collector.py | 2 -- cloudkitty/api/v1/controllers/info.py | 2 -- cloudkitty/api/v1/controllers/rating.py | 2 -- cloudkitty/api/v1/controllers/report.py | 2 -- cloudkitty/api/v1/controllers/storage.py | 2 -- cloudkitty/api/v1/datamodels/collector.py | 2 -- cloudkitty/api/v1/datamodels/info.py | 2 -- cloudkitty/api/v1/datamodels/rating.py | 2 -- cloudkitty/api/v1/datamodels/report.py | 2 -- cloudkitty/api/v1/datamodels/storage.py | 2 -- cloudkitty/api/v1/hooks.py | 2 -- cloudkitty/api/v1/types.py | 2 -- cloudkitty/backend/__init__.py | 2 -- cloudkitty/backend/file.py | 2 -- cloudkitty/cli/dbsync.py | 2 -- cloudkitty/cli/processor.py | 2 -- cloudkitty/cli/storage.py | 2 -- cloudkitty/cli/writer.py | 2 -- cloudkitty/collector/__init__.py | 2 -- cloudkitty/collector/monasca.py | 2 -- cloudkitty/common/db/alembic/env.py | 2 -- cloudkitty/common/db/alembic/migration.py | 2 -- cloudkitty/common/db/models.py | 2 -- cloudkitty/config.py | 2 -- cloudkitty/db/__init__.py | 2 -- cloudkitty/db/api.py | 2 -- cloudkitty/db/sqlalchemy/alembic/env.py | 2 -- cloudkitty/db/sqlalchemy/api.py | 2 -- cloudkitty/db/sqlalchemy/migration.py | 2 -- cloudkitty/db/sqlalchemy/models.py | 2 -- cloudkitty/extension_manager.py | 2 -- cloudkitty/fetcher/__init__.py | 2 -- cloudkitty/fetcher/gnocchi.py | 2 -- cloudkitty/fetcher/keystone.py | 2 -- cloudkitty/fetcher/source.py | 2 -- cloudkitty/i18n.py | 2 -- cloudkitty/orchestrator.py | 2 -- cloudkitty/rating/__init__.py | 2 -- cloudkitty/rating/hash/__init__.py | 2 -- cloudkitty/rating/hash/controllers/field.py | 2 -- cloudkitty/rating/hash/controllers/group.py | 2 -- cloudkitty/rating/hash/controllers/mapping.py | 2 -- cloudkitty/rating/hash/controllers/root.py | 2 -- cloudkitty/rating/hash/controllers/service.py | 2 -- cloudkitty/rating/hash/controllers/threshold.py | 2 -- cloudkitty/rating/hash/datamodels/field.py | 2 -- cloudkitty/rating/hash/datamodels/group.py | 2 -- cloudkitty/rating/hash/datamodels/mapping.py | 2 -- cloudkitty/rating/hash/datamodels/service.py | 2 -- cloudkitty/rating/hash/datamodels/threshold.py | 2 -- cloudkitty/rating/hash/db/api.py | 2 -- cloudkitty/rating/hash/db/sqlalchemy/alembic/env.py | 2 -- .../alembic/models/f8c799db4aa0_fix_unnamed_constraints.py | 2 -- cloudkitty/rating/hash/db/sqlalchemy/api.py | 2 -- cloudkitty/rating/hash/db/sqlalchemy/migration.py | 2 -- cloudkitty/rating/hash/db/sqlalchemy/models.py | 2 -- cloudkitty/rating/noop.py | 2 -- cloudkitty/rating/pyscripts/__init__.py | 2 -- cloudkitty/rating/pyscripts/controllers/root.py | 2 -- cloudkitty/rating/pyscripts/controllers/script.py | 2 -- cloudkitty/rating/pyscripts/datamodels/script.py | 2 -- cloudkitty/rating/pyscripts/db/api.py | 2 -- cloudkitty/rating/pyscripts/db/sqlalchemy/alembic/env.py | 2 -- cloudkitty/rating/pyscripts/db/sqlalchemy/api.py | 2 -- cloudkitty/rating/pyscripts/db/sqlalchemy/migration.py | 2 -- cloudkitty/rating/pyscripts/db/sqlalchemy/models.py | 2 -- cloudkitty/service.py | 2 -- cloudkitty/state.py | 2 -- cloudkitty/storage/v1/__init__.py | 2 -- cloudkitty/storage/v1/hybrid/__init__.py | 2 -- cloudkitty/storage/v1/hybrid/alembic/env.py | 2 -- .../v1/hybrid/alembic/versions/03da4bb002b9_initial_revision.py | 2 -- cloudkitty/storage/v1/hybrid/backends/__init__.py | 2 -- cloudkitty/storage/v1/hybrid/backends/gnocchi.py | 2 -- cloudkitty/storage/v1/hybrid/migration.py | 2 -- cloudkitty/storage/v1/hybrid/models.py | 2 -- cloudkitty/storage/v1/sqlalchemy/__init__.py | 2 -- cloudkitty/storage/v1/sqlalchemy/alembic/env.py | 2 -- cloudkitty/storage/v1/sqlalchemy/migration.py | 2 -- cloudkitty/storage/v1/sqlalchemy/models.py | 2 -- cloudkitty/storage/v2/__init__.py | 2 -- cloudkitty/storage/v2/influx.py | 2 -- cloudkitty/storage_state/__init__.py | 2 -- cloudkitty/storage_state/alembic/env.py | 2 -- cloudkitty/storage_state/migration.py | 2 -- cloudkitty/storage_state/models.py | 2 -- cloudkitty/tests/__init__.py | 2 -- cloudkitty/tests/collectors/test_prometheus.py | 2 -- cloudkitty/tests/gabbi/handlers.py | 2 -- cloudkitty/tests/gabbi/rating/hash/fixtures.py | 2 -- cloudkitty/tests/gabbi/rating/hash/test_gabbi.py | 2 -- cloudkitty/tests/gabbi/rating/pyscripts/fixtures.py | 2 -- cloudkitty/tests/gabbi/rating/pyscripts/test_gabbi.py | 2 -- cloudkitty/tests/gabbi/test_gabbi.py | 2 -- cloudkitty/tests/samples.py | 2 -- cloudkitty/tests/storage/v1/test_hybrid_storage.py | 2 -- cloudkitty/tests/storage/v1/test_storage.py | 2 -- cloudkitty/tests/storage/v2/influx_utils.py | 2 -- cloudkitty/tests/storage/v2/test_storage_unit.py | 2 -- cloudkitty/tests/test_hashmap.py | 2 -- cloudkitty/tests/test_keystone_fetcher.py | 2 -- cloudkitty/tests/test_orchestrator.py | 2 -- cloudkitty/tests/test_pyscripts.py | 2 -- cloudkitty/tests/test_rating.py | 2 -- cloudkitty/tests/test_state.py | 2 -- cloudkitty/tests/test_utils.py | 2 -- cloudkitty/tests/transformers/__init__.py | 2 -- cloudkitty/tests/transformers/test_base.py | 2 -- cloudkitty/tests/utils.py | 2 -- cloudkitty/transformer/__init__.py | 2 -- cloudkitty/transformer/format.py | 2 -- cloudkitty/utils.py | 2 -- cloudkitty/write_orchestrator.py | 2 -- cloudkitty/writer/__init__.py | 2 -- cloudkitty/writer/csv_base.py | 2 -- cloudkitty/writer/csv_map.py | 2 -- cloudkitty/writer/osrf.py | 2 -- contrib/ci/csv_writer.py | 2 -- tox.ini | 1 - 122 files changed, 243 deletions(-) diff --git a/cloudkitty/api/app.py b/cloudkitty/api/app.py index 35b5730a..ba545ab8 100644 --- a/cloudkitty/api/app.py +++ b/cloudkitty/api/app.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# import os import flask diff --git a/cloudkitty/api/middleware.py b/cloudkitty/api/middleware.py index 9cee345d..2d98a1b2 100644 --- a/cloudkitty/api/middleware.py +++ b/cloudkitty/api/middleware.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Gauvain Pocentek -# from keystonemiddleware import auth_token diff --git a/cloudkitty/api/v1/controllers/__init__.py b/cloudkitty/api/v1/controllers/__init__.py index 08490592..220bad5b 100644 --- a/cloudkitty/api/v1/controllers/__init__.py +++ b/cloudkitty/api/v1/controllers/__init__.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# from pecan import rest from cloudkitty.api.v1.controllers import collector as collector_api diff --git a/cloudkitty/api/v1/controllers/collector.py b/cloudkitty/api/v1/controllers/collector.py index a4ef0316..ac3e6378 100644 --- a/cloudkitty/api/v1/controllers/collector.py +++ b/cloudkitty/api/v1/controllers/collector.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# from oslo_log import log as logging import pecan from pecan import rest diff --git a/cloudkitty/api/v1/controllers/info.py b/cloudkitty/api/v1/controllers/info.py index 350e525f..9953408b 100644 --- a/cloudkitty/api/v1/controllers/info.py +++ b/cloudkitty/api/v1/controllers/info.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Maxime Cottret -# from oslo_config import cfg from oslo_log import log as logging import pecan diff --git a/cloudkitty/api/v1/controllers/rating.py b/cloudkitty/api/v1/controllers/rating.py index 96458745..56bca26d 100644 --- a/cloudkitty/api/v1/controllers/rating.py +++ b/cloudkitty/api/v1/controllers/rating.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# from oslo_concurrency import lockutils import pecan from pecan import rest diff --git a/cloudkitty/api/v1/controllers/report.py b/cloudkitty/api/v1/controllers/report.py index b3b3803c..dc52f1ce 100644 --- a/cloudkitty/api/v1/controllers/report.py +++ b/cloudkitty/api/v1/controllers/report.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# import datetime import decimal diff --git a/cloudkitty/api/v1/controllers/storage.py b/cloudkitty/api/v1/controllers/storage.py index 9fa21825..b786421f 100644 --- a/cloudkitty/api/v1/controllers/storage.py +++ b/cloudkitty/api/v1/controllers/storage.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# import datetime import decimal diff --git a/cloudkitty/api/v1/datamodels/collector.py b/cloudkitty/api/v1/datamodels/collector.py index 3ef9f2ac..8ef95a3a 100644 --- a/cloudkitty/api/v1/datamodels/collector.py +++ b/cloudkitty/api/v1/datamodels/collector.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# from wsme import types as wtypes diff --git a/cloudkitty/api/v1/datamodels/info.py b/cloudkitty/api/v1/datamodels/info.py index 69d94112..5ccc5faf 100644 --- a/cloudkitty/api/v1/datamodels/info.py +++ b/cloudkitty/api/v1/datamodels/info.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# from oslo_config import cfg from wsme import types as wtypes diff --git a/cloudkitty/api/v1/datamodels/rating.py b/cloudkitty/api/v1/datamodels/rating.py index c4be6dfe..98c9edb8 100644 --- a/cloudkitty/api/v1/datamodels/rating.py +++ b/cloudkitty/api/v1/datamodels/rating.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# import decimal from oslo_config import cfg diff --git a/cloudkitty/api/v1/datamodels/report.py b/cloudkitty/api/v1/datamodels/report.py index 1a0865e5..3e5cc653 100644 --- a/cloudkitty/api/v1/datamodels/report.py +++ b/cloudkitty/api/v1/datamodels/report.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Aaron.Ding(dinghh@awcloud.com) -# import datetime from wsme import types as wtypes diff --git a/cloudkitty/api/v1/datamodels/storage.py b/cloudkitty/api/v1/datamodels/storage.py index b887922d..fd96eb9e 100644 --- a/cloudkitty/api/v1/datamodels/storage.py +++ b/cloudkitty/api/v1/datamodels/storage.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# import datetime import decimal diff --git a/cloudkitty/api/v1/hooks.py b/cloudkitty/api/v1/hooks.py index de4421b7..c7a7e4c3 100644 --- a/cloudkitty/api/v1/hooks.py +++ b/cloudkitty/api/v1/hooks.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# from oslo_context import context from pecan import hooks diff --git a/cloudkitty/api/v1/types.py b/cloudkitty/api/v1/types.py index 27bb1d58..16fc8b1b 100644 --- a/cloudkitty/api/v1/types.py +++ b/cloudkitty/api/v1/types.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# from oslo_utils import uuidutils from wsme import types as wtypes diff --git a/cloudkitty/backend/__init__.py b/cloudkitty/backend/__init__.py index 470c6e6a..49ec847f 100644 --- a/cloudkitty/backend/__init__.py +++ b/cloudkitty/backend/__init__.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# import abc import six diff --git a/cloudkitty/backend/file.py b/cloudkitty/backend/file.py index 6608ed09..30521be1 100644 --- a/cloudkitty/backend/file.py +++ b/cloudkitty/backend/file.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# class FileBackend(file): # noqa diff --git a/cloudkitty/cli/dbsync.py b/cloudkitty/cli/dbsync.py index 54da7855..1f7f83f3 100644 --- a/cloudkitty/cli/dbsync.py +++ b/cloudkitty/cli/dbsync.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# from oslo_config import cfg from stevedore import extension diff --git a/cloudkitty/cli/processor.py b/cloudkitty/cli/processor.py index afa1d209..a8253b08 100644 --- a/cloudkitty/cli/processor.py +++ b/cloudkitty/cli/processor.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# from cloudkitty import service diff --git a/cloudkitty/cli/storage.py b/cloudkitty/cli/storage.py index 327e57ca..a83a24ef 100644 --- a/cloudkitty/cli/storage.py +++ b/cloudkitty/cli/storage.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# from cloudkitty import service from cloudkitty import storage from cloudkitty import storage_state diff --git a/cloudkitty/cli/writer.py b/cloudkitty/cli/writer.py index c21fcd3e..b1210d7b 100644 --- a/cloudkitty/cli/writer.py +++ b/cloudkitty/cli/writer.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# from __future__ import print_function from oslo_config import cfg diff --git a/cloudkitty/collector/__init__.py b/cloudkitty/collector/__init__.py index fdc87ec6..60f8c44f 100644 --- a/cloudkitty/collector/__init__.py +++ b/cloudkitty/collector/__init__.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# import abc import fractions diff --git a/cloudkitty/collector/monasca.py b/cloudkitty/collector/monasca.py index d14906be..18e47119 100644 --- a/cloudkitty/collector/monasca.py +++ b/cloudkitty/collector/monasca.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Luka Peschke -# from keystoneauth1 import loading as ks_loading from keystoneclient.v3 import client as ks_client from monascaclient import client as mclient diff --git a/cloudkitty/common/db/alembic/env.py b/cloudkitty/common/db/alembic/env.py index af5fdaac..ba463c6e 100644 --- a/cloudkitty/common/db/alembic/env.py +++ b/cloudkitty/common/db/alembic/env.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# from logging import config as log_config from alembic import context diff --git a/cloudkitty/common/db/alembic/migration.py b/cloudkitty/common/db/alembic/migration.py index 685e5591..f5643e26 100644 --- a/cloudkitty/common/db/alembic/migration.py +++ b/cloudkitty/common/db/alembic/migration.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# import os import alembic diff --git a/cloudkitty/common/db/models.py b/cloudkitty/common/db/models.py index 53332743..c7c934ba 100644 --- a/cloudkitty/common/db/models.py +++ b/cloudkitty/common/db/models.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# from sqlalchemy.ext import declarative NAMING_CONVENTION = { diff --git a/cloudkitty/config.py b/cloudkitty/config.py index ee58d8f5..2c730423 100644 --- a/cloudkitty/config.py +++ b/cloudkitty/config.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# from oslo_config import cfg from oslo_db import options as db_options # noqa from oslo_messaging import opts # noqa diff --git a/cloudkitty/db/__init__.py b/cloudkitty/db/__init__.py index 914388f8..4db496ef 100644 --- a/cloudkitty/db/__init__.py +++ b/cloudkitty/db/__init__.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# from oslo_config import cfg from oslo_db.sqlalchemy import session diff --git a/cloudkitty/db/api.py b/cloudkitty/db/api.py index 944de664..3e1629e5 100644 --- a/cloudkitty/db/api.py +++ b/cloudkitty/db/api.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# import abc from oslo_config import cfg diff --git a/cloudkitty/db/sqlalchemy/alembic/env.py b/cloudkitty/db/sqlalchemy/alembic/env.py index 505978fe..6704d271 100644 --- a/cloudkitty/db/sqlalchemy/alembic/env.py +++ b/cloudkitty/db/sqlalchemy/alembic/env.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# from cloudkitty.common.db.alembic import env # noqa from cloudkitty.db.sqlalchemy import models diff --git a/cloudkitty/db/sqlalchemy/api.py b/cloudkitty/db/sqlalchemy/api.py index 3dd9a475..3592147f 100644 --- a/cloudkitty/db/sqlalchemy/api.py +++ b/cloudkitty/db/sqlalchemy/api.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# from oslo_db.sqlalchemy import utils import sqlalchemy diff --git a/cloudkitty/db/sqlalchemy/migration.py b/cloudkitty/db/sqlalchemy/migration.py index 11439fe1..6c931c95 100644 --- a/cloudkitty/db/sqlalchemy/migration.py +++ b/cloudkitty/db/sqlalchemy/migration.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# import os from cloudkitty.common.db.alembic import migration diff --git a/cloudkitty/db/sqlalchemy/models.py b/cloudkitty/db/sqlalchemy/models.py index 4dcce396..f0ca6910 100644 --- a/cloudkitty/db/sqlalchemy/models.py +++ b/cloudkitty/db/sqlalchemy/models.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# from oslo_db.sqlalchemy import models import sqlalchemy from sqlalchemy.ext import declarative diff --git a/cloudkitty/extension_manager.py b/cloudkitty/extension_manager.py index 5fc65f8a..8ece99d8 100644 --- a/cloudkitty/extension_manager.py +++ b/cloudkitty/extension_manager.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# from stevedore import enabled diff --git a/cloudkitty/fetcher/__init__.py b/cloudkitty/fetcher/__init__.py index 4c948508..d1245abe 100644 --- a/cloudkitty/fetcher/__init__.py +++ b/cloudkitty/fetcher/__init__.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# import abc import six diff --git a/cloudkitty/fetcher/gnocchi.py b/cloudkitty/fetcher/gnocchi.py index 7ad296e5..9c4a0aff 100644 --- a/cloudkitty/fetcher/gnocchi.py +++ b/cloudkitty/fetcher/gnocchi.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Luka Peschke -# from gnocchiclient import auth as gauth from gnocchiclient import client as gclient from keystoneauth1 import loading as ks_loading diff --git a/cloudkitty/fetcher/keystone.py b/cloudkitty/fetcher/keystone.py index e4eee9a7..0331c3a6 100644 --- a/cloudkitty/fetcher/keystone.py +++ b/cloudkitty/fetcher/keystone.py @@ -14,8 +14,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# from keystoneauth1 import loading as ks_loading from keystoneclient import client as kclient from keystoneclient import discover diff --git a/cloudkitty/fetcher/source.py b/cloudkitty/fetcher/source.py index 85209cce..54eee5b3 100644 --- a/cloudkitty/fetcher/source.py +++ b/cloudkitty/fetcher/source.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Martin CAMEY -# from oslo_config import cfg from cloudkitty import fetcher diff --git a/cloudkitty/i18n.py b/cloudkitty/i18n.py index 4e7d706c..0aa2f7c4 100644 --- a/cloudkitty/i18n.py +++ b/cloudkitty/i18n.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# import oslo_i18n as i18n # noqa _translators = i18n.TranslatorFactory(domain='cloudkitty') diff --git a/cloudkitty/orchestrator.py b/cloudkitty/orchestrator.py index 53a5866f..6270801a 100644 --- a/cloudkitty/orchestrator.py +++ b/cloudkitty/orchestrator.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# import decimal import hashlib import multiprocessing diff --git a/cloudkitty/rating/__init__.py b/cloudkitty/rating/__init__.py index 6251af02..c3a0e241 100644 --- a/cloudkitty/rating/__init__.py +++ b/cloudkitty/rating/__init__.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# import abc import pecan diff --git a/cloudkitty/rating/hash/__init__.py b/cloudkitty/rating/hash/__init__.py index b8b20183..43e34f8b 100644 --- a/cloudkitty/rating/hash/__init__.py +++ b/cloudkitty/rating/hash/__init__.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# import decimal from cloudkitty import rating diff --git a/cloudkitty/rating/hash/controllers/field.py b/cloudkitty/rating/hash/controllers/field.py index 580305a2..a096d1c4 100644 --- a/cloudkitty/rating/hash/controllers/field.py +++ b/cloudkitty/rating/hash/controllers/field.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# import pecan import six import wsmeext.pecan as wsme_pecan diff --git a/cloudkitty/rating/hash/controllers/group.py b/cloudkitty/rating/hash/controllers/group.py index 8adcbde4..c04e2386 100644 --- a/cloudkitty/rating/hash/controllers/group.py +++ b/cloudkitty/rating/hash/controllers/group.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# import pecan import six import wsmeext.pecan as wsme_pecan diff --git a/cloudkitty/rating/hash/controllers/mapping.py b/cloudkitty/rating/hash/controllers/mapping.py index c1a074d1..4e57cfb6 100644 --- a/cloudkitty/rating/hash/controllers/mapping.py +++ b/cloudkitty/rating/hash/controllers/mapping.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# import pecan import six import wsmeext.pecan as wsme_pecan diff --git a/cloudkitty/rating/hash/controllers/root.py b/cloudkitty/rating/hash/controllers/root.py index 42b250dd..8bbaec89 100644 --- a/cloudkitty/rating/hash/controllers/root.py +++ b/cloudkitty/rating/hash/controllers/root.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# from wsme import types as wtypes import wsmeext.pecan as wsme_pecan diff --git a/cloudkitty/rating/hash/controllers/service.py b/cloudkitty/rating/hash/controllers/service.py index 4653c526..c5fde01a 100644 --- a/cloudkitty/rating/hash/controllers/service.py +++ b/cloudkitty/rating/hash/controllers/service.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# import pecan import six import wsmeext.pecan as wsme_pecan diff --git a/cloudkitty/rating/hash/controllers/threshold.py b/cloudkitty/rating/hash/controllers/threshold.py index ce53cb23..b68836a5 100644 --- a/cloudkitty/rating/hash/controllers/threshold.py +++ b/cloudkitty/rating/hash/controllers/threshold.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# import pecan import six import wsmeext.pecan as wsme_pecan diff --git a/cloudkitty/rating/hash/datamodels/field.py b/cloudkitty/rating/hash/datamodels/field.py index 592c5379..12874fc2 100644 --- a/cloudkitty/rating/hash/datamodels/field.py +++ b/cloudkitty/rating/hash/datamodels/field.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# from wsme import types as wtypes from cloudkitty.api.v1 import types as ck_types diff --git a/cloudkitty/rating/hash/datamodels/group.py b/cloudkitty/rating/hash/datamodels/group.py index e067a22b..fdae2d12 100644 --- a/cloudkitty/rating/hash/datamodels/group.py +++ b/cloudkitty/rating/hash/datamodels/group.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# from wsme import types as wtypes from cloudkitty.api.v1 import types as ck_types diff --git a/cloudkitty/rating/hash/datamodels/mapping.py b/cloudkitty/rating/hash/datamodels/mapping.py index 10925b7a..549d982a 100644 --- a/cloudkitty/rating/hash/datamodels/mapping.py +++ b/cloudkitty/rating/hash/datamodels/mapping.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# import decimal from wsme import types as wtypes diff --git a/cloudkitty/rating/hash/datamodels/service.py b/cloudkitty/rating/hash/datamodels/service.py index 6c0868f8..acb924fb 100644 --- a/cloudkitty/rating/hash/datamodels/service.py +++ b/cloudkitty/rating/hash/datamodels/service.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# from wsme import types as wtypes from cloudkitty.api.v1 import types as ck_types diff --git a/cloudkitty/rating/hash/datamodels/threshold.py b/cloudkitty/rating/hash/datamodels/threshold.py index e8ec1dee..0e86948a 100644 --- a/cloudkitty/rating/hash/datamodels/threshold.py +++ b/cloudkitty/rating/hash/datamodels/threshold.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# import decimal from wsme import types as wtypes diff --git a/cloudkitty/rating/hash/db/api.py b/cloudkitty/rating/hash/db/api.py index 3b953526..ed9f5a23 100644 --- a/cloudkitty/rating/hash/db/api.py +++ b/cloudkitty/rating/hash/db/api.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# import abc from oslo_config import cfg diff --git a/cloudkitty/rating/hash/db/sqlalchemy/alembic/env.py b/cloudkitty/rating/hash/db/sqlalchemy/alembic/env.py index 84d29dc3..3a75717f 100644 --- a/cloudkitty/rating/hash/db/sqlalchemy/alembic/env.py +++ b/cloudkitty/rating/hash/db/sqlalchemy/alembic/env.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# from cloudkitty.common.db.alembic import env # noqa from cloudkitty.rating.hash.db.sqlalchemy import models diff --git a/cloudkitty/rating/hash/db/sqlalchemy/alembic/models/f8c799db4aa0_fix_unnamed_constraints.py b/cloudkitty/rating/hash/db/sqlalchemy/alembic/models/f8c799db4aa0_fix_unnamed_constraints.py index f02c5d05..35605cfd 100644 --- a/cloudkitty/rating/hash/db/sqlalchemy/alembic/models/f8c799db4aa0_fix_unnamed_constraints.py +++ b/cloudkitty/rating/hash/db/sqlalchemy/alembic/models/f8c799db4aa0_fix_unnamed_constraints.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# from oslo_db.sqlalchemy import models import sqlalchemy from sqlalchemy.ext import declarative diff --git a/cloudkitty/rating/hash/db/sqlalchemy/api.py b/cloudkitty/rating/hash/db/sqlalchemy/api.py index a0ed0a8c..ede24f89 100644 --- a/cloudkitty/rating/hash/db/sqlalchemy/api.py +++ b/cloudkitty/rating/hash/db/sqlalchemy/api.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# from oslo_db import exception from oslo_db.sqlalchemy import utils from oslo_utils import uuidutils diff --git a/cloudkitty/rating/hash/db/sqlalchemy/migration.py b/cloudkitty/rating/hash/db/sqlalchemy/migration.py index 11439fe1..6c931c95 100644 --- a/cloudkitty/rating/hash/db/sqlalchemy/migration.py +++ b/cloudkitty/rating/hash/db/sqlalchemy/migration.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# import os from cloudkitty.common.db.alembic import migration diff --git a/cloudkitty/rating/hash/db/sqlalchemy/models.py b/cloudkitty/rating/hash/db/sqlalchemy/models.py index c4b1d0c1..a86028d5 100644 --- a/cloudkitty/rating/hash/db/sqlalchemy/models.py +++ b/cloudkitty/rating/hash/db/sqlalchemy/models.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# from oslo_db.sqlalchemy import models import sqlalchemy from sqlalchemy.ext import declarative diff --git a/cloudkitty/rating/noop.py b/cloudkitty/rating/noop.py index bcd23ab7..c2cd0c1a 100644 --- a/cloudkitty/rating/noop.py +++ b/cloudkitty/rating/noop.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# import decimal from cloudkitty import rating diff --git a/cloudkitty/rating/pyscripts/__init__.py b/cloudkitty/rating/pyscripts/__init__.py index ab748e28..143b6240 100644 --- a/cloudkitty/rating/pyscripts/__init__.py +++ b/cloudkitty/rating/pyscripts/__init__.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# from cloudkitty import rating from cloudkitty.rating.pyscripts.controllers import root as root_api from cloudkitty.rating.pyscripts.db import api as pyscripts_db_api diff --git a/cloudkitty/rating/pyscripts/controllers/root.py b/cloudkitty/rating/pyscripts/controllers/root.py index 03dc8e94..c4791ef1 100644 --- a/cloudkitty/rating/pyscripts/controllers/root.py +++ b/cloudkitty/rating/pyscripts/controllers/root.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# from cloudkitty import rating from cloudkitty.rating.pyscripts.controllers import script as script_api diff --git a/cloudkitty/rating/pyscripts/controllers/script.py b/cloudkitty/rating/pyscripts/controllers/script.py index ddbd6be2..b0242b48 100644 --- a/cloudkitty/rating/pyscripts/controllers/script.py +++ b/cloudkitty/rating/pyscripts/controllers/script.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# import pecan import six from wsme import types as wtypes diff --git a/cloudkitty/rating/pyscripts/datamodels/script.py b/cloudkitty/rating/pyscripts/datamodels/script.py index beffba97..a4bf09f4 100644 --- a/cloudkitty/rating/pyscripts/datamodels/script.py +++ b/cloudkitty/rating/pyscripts/datamodels/script.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# from wsme import types as wtypes from cloudkitty.api.v1 import types as ck_types diff --git a/cloudkitty/rating/pyscripts/db/api.py b/cloudkitty/rating/pyscripts/db/api.py index 520aeb88..a43f36b3 100644 --- a/cloudkitty/rating/pyscripts/db/api.py +++ b/cloudkitty/rating/pyscripts/db/api.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# import abc from oslo_config import cfg diff --git a/cloudkitty/rating/pyscripts/db/sqlalchemy/alembic/env.py b/cloudkitty/rating/pyscripts/db/sqlalchemy/alembic/env.py index 21b08b61..107c2eb8 100644 --- a/cloudkitty/rating/pyscripts/db/sqlalchemy/alembic/env.py +++ b/cloudkitty/rating/pyscripts/db/sqlalchemy/alembic/env.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# from cloudkitty.common.db.alembic import env # noqa from cloudkitty.rating.pyscripts.db.sqlalchemy import models diff --git a/cloudkitty/rating/pyscripts/db/sqlalchemy/api.py b/cloudkitty/rating/pyscripts/db/sqlalchemy/api.py index 387f7a55..7a6717ca 100644 --- a/cloudkitty/rating/pyscripts/db/sqlalchemy/api.py +++ b/cloudkitty/rating/pyscripts/db/sqlalchemy/api.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# from oslo_db import exception from oslo_db.sqlalchemy import utils from oslo_utils import uuidutils diff --git a/cloudkitty/rating/pyscripts/db/sqlalchemy/migration.py b/cloudkitty/rating/pyscripts/db/sqlalchemy/migration.py index 11439fe1..6c931c95 100644 --- a/cloudkitty/rating/pyscripts/db/sqlalchemy/migration.py +++ b/cloudkitty/rating/pyscripts/db/sqlalchemy/migration.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# import os from cloudkitty.common.db.alembic import migration diff --git a/cloudkitty/rating/pyscripts/db/sqlalchemy/models.py b/cloudkitty/rating/pyscripts/db/sqlalchemy/models.py index 355c7359..62838655 100644 --- a/cloudkitty/rating/pyscripts/db/sqlalchemy/models.py +++ b/cloudkitty/rating/pyscripts/db/sqlalchemy/models.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# import hashlib import zlib diff --git a/cloudkitty/service.py b/cloudkitty/service.py index dac6a83a..e5d6fdec 100644 --- a/cloudkitty/service.py +++ b/cloudkitty/service.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# import socket import sys diff --git a/cloudkitty/state.py b/cloudkitty/state.py index fc55e8da..a79f26cd 100644 --- a/cloudkitty/state.py +++ b/cloudkitty/state.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# from cloudkitty.db import api from cloudkitty import json_utils as json diff --git a/cloudkitty/storage/v1/__init__.py b/cloudkitty/storage/v1/__init__.py index 89b990b5..6b64d58f 100644 --- a/cloudkitty/storage/v1/__init__.py +++ b/cloudkitty/storage/v1/__init__.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# import abc from oslo_config import cfg diff --git a/cloudkitty/storage/v1/hybrid/__init__.py b/cloudkitty/storage/v1/hybrid/__init__.py index 83da5943..157e509e 100644 --- a/cloudkitty/storage/v1/hybrid/__init__.py +++ b/cloudkitty/storage/v1/hybrid/__init__.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Luka Peschke -# from oslo_config import cfg from oslo_db.sqlalchemy import utils from stevedore import driver diff --git a/cloudkitty/storage/v1/hybrid/alembic/env.py b/cloudkitty/storage/v1/hybrid/alembic/env.py index d5ac85da..27a6ecfd 100644 --- a/cloudkitty/storage/v1/hybrid/alembic/env.py +++ b/cloudkitty/storage/v1/hybrid/alembic/env.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Luka Peschke -# from cloudkitty.common.db.alembic import env # noqa from cloudkitty.storage.v1.hybrid import models diff --git a/cloudkitty/storage/v1/hybrid/alembic/versions/03da4bb002b9_initial_revision.py b/cloudkitty/storage/v1/hybrid/alembic/versions/03da4bb002b9_initial_revision.py index a8c92f45..3dac46af 100644 --- a/cloudkitty/storage/v1/hybrid/alembic/versions/03da4bb002b9_initial_revision.py +++ b/cloudkitty/storage/v1/hybrid/alembic/versions/03da4bb002b9_initial_revision.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Luka Peschke -# """initial revision Revision ID: 03da4bb002b9 diff --git a/cloudkitty/storage/v1/hybrid/backends/__init__.py b/cloudkitty/storage/v1/hybrid/backends/__init__.py index 411c4435..6bbcd6e7 100644 --- a/cloudkitty/storage/v1/hybrid/backends/__init__.py +++ b/cloudkitty/storage/v1/hybrid/backends/__init__.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Luka Peschke -# import abc import six diff --git a/cloudkitty/storage/v1/hybrid/backends/gnocchi.py b/cloudkitty/storage/v1/hybrid/backends/gnocchi.py index 7c426b35..af860081 100644 --- a/cloudkitty/storage/v1/hybrid/backends/gnocchi.py +++ b/cloudkitty/storage/v1/hybrid/backends/gnocchi.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Luka Peschke -# import datetime import decimal diff --git a/cloudkitty/storage/v1/hybrid/migration.py b/cloudkitty/storage/v1/hybrid/migration.py index 11439fe1..6c931c95 100644 --- a/cloudkitty/storage/v1/hybrid/migration.py +++ b/cloudkitty/storage/v1/hybrid/migration.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# import os from cloudkitty.common.db.alembic import migration diff --git a/cloudkitty/storage/v1/hybrid/models.py b/cloudkitty/storage/v1/hybrid/models.py index 7167cf4b..c04312b6 100644 --- a/cloudkitty/storage/v1/hybrid/models.py +++ b/cloudkitty/storage/v1/hybrid/models.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Luka Peschke -# from oslo_db.sqlalchemy import models import sqlalchemy from sqlalchemy.ext import declarative diff --git a/cloudkitty/storage/v1/sqlalchemy/__init__.py b/cloudkitty/storage/v1/sqlalchemy/__init__.py index 0eb4876e..1c3ee2da 100644 --- a/cloudkitty/storage/v1/sqlalchemy/__init__.py +++ b/cloudkitty/storage/v1/sqlalchemy/__init__.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# import decimal from oslo_db.sqlalchemy import utils diff --git a/cloudkitty/storage/v1/sqlalchemy/alembic/env.py b/cloudkitty/storage/v1/sqlalchemy/alembic/env.py index eb6697c2..8ff1abd8 100644 --- a/cloudkitty/storage/v1/sqlalchemy/alembic/env.py +++ b/cloudkitty/storage/v1/sqlalchemy/alembic/env.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# from cloudkitty.common.db.alembic import env # noqa from cloudkitty.storage.v1.sqlalchemy import models diff --git a/cloudkitty/storage/v1/sqlalchemy/migration.py b/cloudkitty/storage/v1/sqlalchemy/migration.py index 11439fe1..6c931c95 100644 --- a/cloudkitty/storage/v1/sqlalchemy/migration.py +++ b/cloudkitty/storage/v1/sqlalchemy/migration.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# import os from cloudkitty.common.db.alembic import migration diff --git a/cloudkitty/storage/v1/sqlalchemy/models.py b/cloudkitty/storage/v1/sqlalchemy/models.py index fd1967a9..5f37542e 100644 --- a/cloudkitty/storage/v1/sqlalchemy/models.py +++ b/cloudkitty/storage/v1/sqlalchemy/models.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# from oslo_db.sqlalchemy import models import sqlalchemy from sqlalchemy.ext import declarative diff --git a/cloudkitty/storage/v2/__init__.py b/cloudkitty/storage/v2/__init__.py index cdf78120..b86a9e3e 100644 --- a/cloudkitty/storage/v2/__init__.py +++ b/cloudkitty/storage/v2/__init__.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Luka Peschke -# import abc import datetime diff --git a/cloudkitty/storage/v2/influx.py b/cloudkitty/storage/v2/influx.py index bc2e71b2..ffe1b6ed 100644 --- a/cloudkitty/storage/v2/influx.py +++ b/cloudkitty/storage/v2/influx.py @@ -12,8 +12,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Luka Peschke -# import copy import datetime import decimal diff --git a/cloudkitty/storage_state/__init__.py b/cloudkitty/storage_state/__init__.py index 786b36d2..9db7b548 100644 --- a/cloudkitty/storage_state/__init__.py +++ b/cloudkitty/storage_state/__init__.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Luka Peschke -# from oslo_config import cfg from oslo_db.sqlalchemy import utils from oslo_log import log diff --git a/cloudkitty/storage_state/alembic/env.py b/cloudkitty/storage_state/alembic/env.py index b9acdaa2..75448611 100644 --- a/cloudkitty/storage_state/alembic/env.py +++ b/cloudkitty/storage_state/alembic/env.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Luka Peschke -# from cloudkitty.common.db.alembic import env # noqa from cloudkitty.storage_state import models diff --git a/cloudkitty/storage_state/migration.py b/cloudkitty/storage_state/migration.py index 11439fe1..6c931c95 100644 --- a/cloudkitty/storage_state/migration.py +++ b/cloudkitty/storage_state/migration.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# import os from cloudkitty.common.db.alembic import migration diff --git a/cloudkitty/storage_state/models.py b/cloudkitty/storage_state/models.py index b55e1c8a..53edfd46 100644 --- a/cloudkitty/storage_state/models.py +++ b/cloudkitty/storage_state/models.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Luka Peschke -# from oslo_db.sqlalchemy import models import sqlalchemy from sqlalchemy.ext import declarative diff --git a/cloudkitty/tests/__init__.py b/cloudkitty/tests/__init__.py index 6a38fa59..ed84dae9 100644 --- a/cloudkitty/tests/__init__.py +++ b/cloudkitty/tests/__init__.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Gauvain Pocentek -# import decimal from keystoneauth1 import session as ks_sess diff --git a/cloudkitty/tests/collectors/test_prometheus.py b/cloudkitty/tests/collectors/test_prometheus.py index 48c3b84c..018783cb 100644 --- a/cloudkitty/tests/collectors/test_prometheus.py +++ b/cloudkitty/tests/collectors/test_prometheus.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Martin CAMEY -# from decimal import Decimal import mock diff --git a/cloudkitty/tests/gabbi/handlers.py b/cloudkitty/tests/gabbi/handlers.py index b0fc160a..73d6383c 100644 --- a/cloudkitty/tests/gabbi/handlers.py +++ b/cloudkitty/tests/gabbi/handlers.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# import os from gabbi.handlers import base diff --git a/cloudkitty/tests/gabbi/rating/hash/fixtures.py b/cloudkitty/tests/gabbi/rating/hash/fixtures.py index 5bbdd6e7..d95ce96d 100644 --- a/cloudkitty/tests/gabbi/rating/hash/fixtures.py +++ b/cloudkitty/tests/gabbi/rating/hash/fixtures.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# from cloudkitty.tests.gabbi.fixtures import * # noqa from cloudkitty.rating.hash.db import api as hashmap_db diff --git a/cloudkitty/tests/gabbi/rating/hash/test_gabbi.py b/cloudkitty/tests/gabbi/rating/hash/test_gabbi.py index ff00a04c..16787784 100644 --- a/cloudkitty/tests/gabbi/rating/hash/test_gabbi.py +++ b/cloudkitty/tests/gabbi/rating/hash/test_gabbi.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# import os from gabbi import driver diff --git a/cloudkitty/tests/gabbi/rating/pyscripts/fixtures.py b/cloudkitty/tests/gabbi/rating/pyscripts/fixtures.py index 3e055bbd..05d75443 100644 --- a/cloudkitty/tests/gabbi/rating/pyscripts/fixtures.py +++ b/cloudkitty/tests/gabbi/rating/pyscripts/fixtures.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# from cloudkitty.tests.gabbi.fixtures import * # noqa from cloudkitty.rating.pyscripts.db import api as pyscripts_db diff --git a/cloudkitty/tests/gabbi/rating/pyscripts/test_gabbi.py b/cloudkitty/tests/gabbi/rating/pyscripts/test_gabbi.py index b3de4525..9c14e5f4 100644 --- a/cloudkitty/tests/gabbi/rating/pyscripts/test_gabbi.py +++ b/cloudkitty/tests/gabbi/rating/pyscripts/test_gabbi.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# import os from gabbi import driver diff --git a/cloudkitty/tests/gabbi/test_gabbi.py b/cloudkitty/tests/gabbi/test_gabbi.py index 19d92817..83ce2570 100644 --- a/cloudkitty/tests/gabbi/test_gabbi.py +++ b/cloudkitty/tests/gabbi/test_gabbi.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# import os from gabbi import driver diff --git a/cloudkitty/tests/samples.py b/cloudkitty/tests/samples.py index b2098226..68445ead 100644 --- a/cloudkitty/tests/samples.py +++ b/cloudkitty/tests/samples.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# import copy import decimal diff --git a/cloudkitty/tests/storage/v1/test_hybrid_storage.py b/cloudkitty/tests/storage/v1/test_hybrid_storage.py index 4bdb8dc2..e28fa179 100644 --- a/cloudkitty/tests/storage/v1/test_hybrid_storage.py +++ b/cloudkitty/tests/storage/v1/test_hybrid_storage.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Luka Peschke -# import mock from gnocchiclient import exceptions as gexc diff --git a/cloudkitty/tests/storage/v1/test_storage.py b/cloudkitty/tests/storage/v1/test_storage.py index 47e9f49b..68f2ea21 100644 --- a/cloudkitty/tests/storage/v1/test_storage.py +++ b/cloudkitty/tests/storage/v1/test_storage.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# import copy import mock diff --git a/cloudkitty/tests/storage/v2/influx_utils.py b/cloudkitty/tests/storage/v2/influx_utils.py index ade788d2..217e8d88 100644 --- a/cloudkitty/tests/storage/v2/influx_utils.py +++ b/cloudkitty/tests/storage/v2/influx_utils.py @@ -12,8 +12,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Luka Peschke -# import copy import functools diff --git a/cloudkitty/tests/storage/v2/test_storage_unit.py b/cloudkitty/tests/storage/v2/test_storage_unit.py index a12b525e..4f17575f 100644 --- a/cloudkitty/tests/storage/v2/test_storage_unit.py +++ b/cloudkitty/tests/storage/v2/test_storage_unit.py @@ -12,8 +12,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Luka Peschke -# import datetime import mock diff --git a/cloudkitty/tests/test_hashmap.py b/cloudkitty/tests/test_hashmap.py index 0f828599..1672d811 100644 --- a/cloudkitty/tests/test_hashmap.py +++ b/cloudkitty/tests/test_hashmap.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# import copy import decimal diff --git a/cloudkitty/tests/test_keystone_fetcher.py b/cloudkitty/tests/test_keystone_fetcher.py index 4f140cd7..1fb289a4 100644 --- a/cloudkitty/tests/test_keystone_fetcher.py +++ b/cloudkitty/tests/test_keystone_fetcher.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# import unittest import mock diff --git a/cloudkitty/tests/test_orchestrator.py b/cloudkitty/tests/test_orchestrator.py index 07292d5b..da97a255 100644 --- a/cloudkitty/tests/test_orchestrator.py +++ b/cloudkitty/tests/test_orchestrator.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# import datetime import mock from oslo_messaging import conffixture diff --git a/cloudkitty/tests/test_pyscripts.py b/cloudkitty/tests/test_pyscripts.py index b53d3448..48a10ac9 100644 --- a/cloudkitty/tests/test_pyscripts.py +++ b/cloudkitty/tests/test_pyscripts.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# import copy import decimal import hashlib diff --git a/cloudkitty/tests/test_rating.py b/cloudkitty/tests/test_rating.py index dee06c5a..d642b685 100644 --- a/cloudkitty/tests/test_rating.py +++ b/cloudkitty/tests/test_rating.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# import mock from cloudkitty.db import api as ck_db_api diff --git a/cloudkitty/tests/test_state.py b/cloudkitty/tests/test_state.py index 1bdba1aa..96ca6cb2 100644 --- a/cloudkitty/tests/test_state.py +++ b/cloudkitty/tests/test_state.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Gauvain Pocentek -# import datetime from cloudkitty import state diff --git a/cloudkitty/tests/test_utils.py b/cloudkitty/tests/test_utils.py index 9cb58b86..a587601f 100644 --- a/cloudkitty/tests/test_utils.py +++ b/cloudkitty/tests/test_utils.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# import datetime import decimal import fractions diff --git a/cloudkitty/tests/transformers/__init__.py b/cloudkitty/tests/transformers/__init__.py index 1408c828..d27c86fa 100644 --- a/cloudkitty/tests/transformers/__init__.py +++ b/cloudkitty/tests/transformers/__init__.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# from cloudkitty.tests import samples from cloudkitty import transformer diff --git a/cloudkitty/tests/transformers/test_base.py b/cloudkitty/tests/transformers/test_base.py index 31d2d751..b46065c2 100644 --- a/cloudkitty/tests/transformers/test_base.py +++ b/cloudkitty/tests/transformers/test_base.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# import copy from cloudkitty import tests diff --git a/cloudkitty/tests/utils.py b/cloudkitty/tests/utils.py index 70f83b20..1f36f468 100644 --- a/cloudkitty/tests/utils.py +++ b/cloudkitty/tests/utils.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Luka Peschke -# import copy from datetime import datetime import random diff --git a/cloudkitty/transformer/__init__.py b/cloudkitty/transformer/__init__.py index 58d1ac14..dedc2121 100644 --- a/cloudkitty/transformer/__init__.py +++ b/cloudkitty/transformer/__init__.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# import abc import six diff --git a/cloudkitty/transformer/format.py b/cloudkitty/transformer/format.py index 381ac4f9..95ff0d56 100644 --- a/cloudkitty/transformer/format.py +++ b/cloudkitty/transformer/format.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# from oslo_log import log diff --git a/cloudkitty/utils.py b/cloudkitty/utils.py index 0a036cdc..56334aa1 100644 --- a/cloudkitty/utils.py +++ b/cloudkitty/utils.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# """ Time calculations functions diff --git a/cloudkitty/write_orchestrator.py b/cloudkitty/write_orchestrator.py index f01024e5..14dd464d 100644 --- a/cloudkitty/write_orchestrator.py +++ b/cloudkitty/write_orchestrator.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# import copy from oslo_config import cfg diff --git a/cloudkitty/writer/__init__.py b/cloudkitty/writer/__init__.py index e8bdc8f4..c04fbe7a 100644 --- a/cloudkitty/writer/__init__.py +++ b/cloudkitty/writer/__init__.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# import abc import six diff --git a/cloudkitty/writer/csv_base.py b/cloudkitty/writer/csv_base.py index 95524cc7..6f018295 100644 --- a/cloudkitty/writer/csv_base.py +++ b/cloudkitty/writer/csv_base.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# import collections import csv import datetime diff --git a/cloudkitty/writer/csv_map.py b/cloudkitty/writer/csv_map.py index acb58ba5..7e33b0b3 100644 --- a/cloudkitty/writer/csv_map.py +++ b/cloudkitty/writer/csv_map.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# import collections import datetime diff --git a/cloudkitty/writer/osrf.py b/cloudkitty/writer/osrf.py index 00ce8f51..580d3a5e 100644 --- a/cloudkitty/writer/osrf.py +++ b/cloudkitty/writer/osrf.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# import os from cloudkitty import json_utils as json diff --git a/contrib/ci/csv_writer.py b/contrib/ci/csv_writer.py index 96c07eed..cdd8b26f 100755 --- a/contrib/ci/csv_writer.py +++ b/contrib/ci/csv_writer.py @@ -14,8 +14,6 @@ # License for the specific language governing permissions and limitations # under the License. # -# @author: Stéphane Albert -# import calendar import copy import csv diff --git a/tox.ini b/tox.ini index 3b67db12..7ddf40e0 100644 --- a/tox.ini +++ b/tox.ini @@ -64,7 +64,6 @@ commands = {posargs} [flake8] filename = *.py,app.wsgi exclude = .git,.venv,.tox,dist,doc,*egg,build,.ropeproject,releasenotes -ignore = H105 [doc8] ignore-path = .venv,.git,.tox,.tmp,*cloudkitty/locale*,*lib/python*,cloudkitty.egg*,doc/build,releasenotes/*