[Checkins] [zopefoundation/zope.sendmail] 6fb048: Run flake8 on Travis CI and tox

Marius Gedminas noreply at github.com
Thu Feb 7 16:51:01 CET 2019


  Branch: refs/heads/master
  Home:   https://github.com/zopefoundation/zope.sendmail
  Commit: 6fb0481ed3568de172074c081aed94a552407cfe
      https://github.com/zopefoundation/zope.sendmail/commit/6fb0481ed3568de172074c081aed94a552407cfe
  Author: Marius Gedminas <marius at gedmin.as>
  Date:   2019-02-07 (Thu, 07 Feb 2019)

  Changed paths:
    M .travis.yml
    M setup.cfg
    M tox.ini

  Log Message:
  -----------
  Run flake8 on Travis CI and tox


  Commit: 184de491b23dec355d6720a0c03246bdbd5aaade
      https://github.com/zopefoundation/zope.sendmail/commit/184de491b23dec355d6720a0c03246bdbd5aaade
  Author: Marius Gedminas <marius at gedmin.as>
  Date:   2019-02-07 (Thu, 07 Feb 2019)

  Changed paths:
    M src/zope/sendmail/queue.py

  Log Message:
  -----------
  Avoid bare except: clauses


  Commit: 7c44ac117b89f50c8a3bda501bb974d2e25779f9
      https://github.com/zopefoundation/zope.sendmail/commit/7c44ac117b89f50c8a3bda501bb974d2e25779f9
  Author: Marius Gedminas <marius at gedmin.as>
  Date:   2019-02-07 (Thu, 07 Feb 2019)

  Changed paths:
    M src/zope/sendmail/tests/test_delivery.py

  Log Message:
  -----------
  Fix incorrect assertions in test

Clearly these were meant to be assertTrue(str.find(substr) != -1), but
by accident the - was dropped, making the assertion mostly useless.

(I'm pretty sure I'm the original author of this test code.)


  Commit: 4fc3286415ebebab64ddfc552e914775e94dc99b
      https://github.com/zopefoundation/zope.sendmail/commit/4fc3286415ebebab64ddfc552e914775e94dc99b
  Author: Marius Gedminas <marius at gedmin.as>
  Date:   2019-02-07 (Thu, 07 Feb 2019)

  Changed paths:
    M src/zope/sendmail/tests/test_vocabulary.py

  Log Message:
  -----------
  Add the doctest to the testsuite

This is possibly redundant: commit ab78cb02f4ad0123c18201274b0addaa882793aa
rewrote that doctest as a unit test, but it didn't actually remove the
doctest.


  Commit: b79b94b0ff4dafb3a83ec7e69dac052c9b5a2a44
      https://github.com/zopefoundation/zope.sendmail/commit/b79b94b0ff4dafb3a83ec7e69dac052c9b5a2a44
  Author: Marius Gedminas <marius at gedmin.as>
  Date:   2019-02-07 (Thu, 07 Feb 2019)

  Changed paths:
    M setup.py
    M src/zope/__init__.py
    M src/zope/sendmail/delivery.py
    M src/zope/sendmail/interfaces.py
    M src/zope/sendmail/maildir.py
    M src/zope/sendmail/mailer.py
    M src/zope/sendmail/queue.py
    M src/zope/sendmail/tests/test_delivery.py
    M src/zope/sendmail/tests/test_directives.py
    M src/zope/sendmail/tests/test_maildir.py
    M src/zope/sendmail/tests/test_mailer.py
    M src/zope/sendmail/tests/test_queue.py
    M src/zope/sendmail/tests/test_vocabulary.py
    M src/zope/sendmail/vocabulary.py
    M src/zope/sendmail/zcml.py

  Log Message:
  -----------
  Fix flake8 errors


  Commit: 2ee8b0a454ff484335e6b65b9d46a695309a2b2f
      https://github.com/zopefoundation/zope.sendmail/commit/2ee8b0a454ff484335e6b65b9d46a695309a2b2f
  Author: Marius Gedminas <marius at gedmin.as>
  Date:   2019-02-07 (Thu, 07 Feb 2019)

  Changed paths:
    M .travis.yml
    M setup.cfg
    M setup.py
    M src/zope/__init__.py
    M src/zope/sendmail/delivery.py
    M src/zope/sendmail/interfaces.py
    M src/zope/sendmail/maildir.py
    M src/zope/sendmail/mailer.py
    M src/zope/sendmail/queue.py
    M src/zope/sendmail/tests/test_delivery.py
    M src/zope/sendmail/tests/test_directives.py
    M src/zope/sendmail/tests/test_maildir.py
    M src/zope/sendmail/tests/test_mailer.py
    M src/zope/sendmail/tests/test_queue.py
    M src/zope/sendmail/tests/test_vocabulary.py
    M src/zope/sendmail/vocabulary.py
    M src/zope/sendmail/zcml.py
    M tox.ini

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

Fix flake8 errors, remove deprecation warnings about assertRaisesRegexp()


Compare: https://github.com/zopefoundation/zope.sendmail/compare/3f641751d373...2ee8b0a454ff


More information about the checkins mailing list