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

Jens Vagelpohl noreply at github.com
Fri May 15 10:24:16 CEST 2020


  Branch: refs/heads/master
  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


  Commit: b62e188618287791061a1b6f5c7f8f0ff15cf558
      https://github.com/zopefoundation/Products.ZSQLMethods/commit/b62e188618287791061a1b6f5c7f8f0ff15cf558
  Author: Jens Vagelpohl <jens at netz.ooo>
  Date:   2020-05-15 (Fri, 15 May 2020)

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

  Log Message:
  -----------
  Merge pull request #26 from zopefoundation/fix-lint

Fix linting issues


Compare: https://github.com/zopefoundation/Products.ZSQLMethods/compare/17358d60c639...b62e18861828


More information about the checkins mailing list