Files
cinder/.pylintrc
Gorka Eguileor 15d8ad15d2 pylint: Fix migration E1120 no-value-for-parameter
Pylint raises E1120 on all many of our migrations because the insert
call is missing the dml parameter:

  cinder/db/sqlalchemy/migrate_repo/versions/123_cinder_init.py:870:9:
  E1120: No value for argument 'dml' in method call
  (no-value-for-parameter)

The dml parameter is automatically added by sqlalchemy using a
decorator, like this:

    @util.dependencies("sqlalchemy.sql.dml")
    def insert(self, dml, values=None, inline=False, **kwargs):

This patch adds the decorator to the pyling configured
signature-mutators to remove these errors from incorrectly showing.

Change-Id: Icbc72b3655f379c9b97134e68a425dc1d623dc7b
2021-04-16 13:05:21 +02:00

6.5 KiB