[Checkins] [zopefoundation/zope.exceptions] 9dcac2: Add tox -e flake8, fix flake8 errors

Marius Gedminas noreply at github.com
Tue Apr 14 15:01:47 CEST 2020


  Branch: refs/heads/master
  Home:   https://github.com/zopefoundation/zope.exceptions
  Commit: 9dcac26544b02435c14360cb719593d7f5a14902
      https://github.com/zopefoundation/zope.exceptions/commit/9dcac26544b02435c14360cb719593d7f5a14902
  Author: Marius Gedminas <marius at gedmin.as>
  Date:   2020-04-10 (Fri, 10 Apr 2020)

  Changed paths:
    M setup.py
    M src/zope/__init__.py
    M src/zope/exceptions/__init__.py
    M src/zope/exceptions/exceptionformatter.py
    M src/zope/exceptions/log.py
    M src/zope/exceptions/tests/test_exceptionformatter.py
    M src/zope/exceptions/tests/test_log.py
    M tox.ini

  Log Message:
  -----------
  Add tox -e flake8, fix flake8 errors


  Commit: 655ecd61c25a32d293cab7983852c8cef6562291
      https://github.com/zopefoundation/zope.exceptions/commit/655ecd61c25a32d293cab7983852c8cef6562291
  Author: Marius Gedminas <marius at gedmin.as>
  Date:   2020-04-10 (Fri, 10 Apr 2020)

  Changed paths:
    M setup.cfg
    M src/zope/exceptions/__init__.py
    M src/zope/exceptions/exceptionformatter.py

  Log Message:
  -----------
  Roll back some of the changes as per review comments


  Commit: 7b60f2b3e2901d0d2aaa0e2f9078fd69516ffedb
      https://github.com/zopefoundation/zope.exceptions/commit/7b60f2b3e2901d0d2aaa0e2f9078fd69516ffedb
  Author: Marius Gedminas <marius at gedmin.as>
  Date:   2020-04-10 (Fri, 10 Apr 2020)

  Changed paths:
    M setup.cfg
    M src/zope/exceptions/__init__.py
    M src/zope/exceptions/exceptionformatter.py

  Log Message:
  -----------
  A better way to suppress unused import warnings


  Commit: bfa427e05da8e4505c32aefbae311775aca76db0
      https://github.com/zopefoundation/zope.exceptions/commit/bfa427e05da8e4505c32aefbae311775aca76db0
  Author: Marius Gedminas <marius at gedmin.as>
  Date:   2020-04-10 (Fri, 10 Apr 2020)

  Changed paths:
    M .travis.yml

  Log Message:
  -----------
  Add a flake8 job to Travis CI


  Commit: b6b992059541a9f3c559ebbe67d70f3041129790
      https://github.com/zopefoundation/zope.exceptions/commit/b6b992059541a9f3c559ebbe67d70f3041129790
  Author: Marius Gedminas <marius at gedmin.as>
  Date:   2020-04-10 (Fri, 10 Apr 2020)

  Changed paths:
    M .travis.yml

  Log Message:
  -----------
  Make the flake8 job use a separate cache

The CACHE_NAME environment variable hack is recommended by
https://docs.travis-ci.com/user/caching/

Also, AFAIU the before_cache: rm pip/debug.log is needed only if you
manually try to cache the ~/.cache/pip directory, and shouldn't be
needed for cache: pip.

Also I like 2-space indents in YAML files so there.


  Commit: cd7821f5968a80ae22067593688ea3cbf8e71638
      https://github.com/zopefoundation/zope.exceptions/commit/cd7821f5968a80ae22067593688ea3cbf8e71638
  Author: Marius Gedminas <marius at gedmin.as>
  Date:   2020-04-10 (Fri, 10 Apr 2020)

  Changed paths:
    M .travis.yml

  Log Message:
  -----------
  Do not insist on flake8 always passing


  Commit: 875be83c3f932a9d5bebdced76671dcbfedb3d55
      https://github.com/zopefoundation/zope.exceptions/commit/875be83c3f932a9d5bebdced76671dcbfedb3d55
  Author: Marius Gedminas <marius at gedmin.as>
  Date:   2020-04-14 (Tue, 14 Apr 2020)

  Changed paths:
    M .travis.yml
    M setup.py
    M src/zope/__init__.py
    M src/zope/exceptions/__init__.py
    M src/zope/exceptions/exceptionformatter.py
    M src/zope/exceptions/log.py
    M src/zope/exceptions/tests/test_exceptionformatter.py
    M src/zope/exceptions/tests/test_log.py
    M tox.ini

  Log Message:
  -----------
  Merge pull request #14 from zopefoundation/flake8

Add tox -e flake8, fix flake8 errors


Compare: https://github.com/zopefoundation/zope.exceptions/compare/6bd284b27df9...875be83c3f93


More information about the checkins mailing list