[Checkins] [zopefoundation/Products.ZSQLMethods] 060399: Fix linting issues

Jürgen Gmach noreply at github.com
Fri May 15 10:06:11 CEST 2020


  Branch: refs/heads/fix-lint
  Home:   https://github.com/zopefoundation/Products.ZSQLMethods
  Commit: 060399f6cc6f06bbef761dc0283ce2b42275484a
      https://github.com/zopefoundation/Products.ZSQLMethods/commit/060399f6cc6f06bbef761dc0283ce2b42275484a
  Author: Jürgen Gmach <juergen.gmach at googlemail.com>
  Date:   2020-05-15 (Fri, 15 May 2020)

  Changed paths:
    M src/Shared/DC/ZRDB/tests/testArgs.py
    M tox.ini

  Log Message:
  -----------
  Fix linting issues

... which arise with the new flake8 version.

`tests` is no longer a valid flake8 param, as it is no top level
directory.

As it is a subfolder of the `src` folder, it gets linted anyway.

Also, `has_key` is deprecated and should be replaced by `in`.

modified:   tox.ini
modified:   src/Shared/DC/ZRDB/tests/testArgs.py




More information about the checkins mailing list