Skip to content

TravisCI/Tox - not installing flake8-bugbear on Python 3 #2025

Closed

Description

@peterjc

Looking at our logs, the TravisCI Tox configuration is intended to install flake8-bugbear when running the style tests on Python 3, but as written isn't working:

https://github.com/biopython/biopython/blob/biopython-173/.travis-tox.ini#L98

The environment is currently just style under both Python 2 and 3, there is no Python version prefix (unlike the main tests):

https://github.com/biopython/biopython/blob/biopython-173/.travis.yml#L30

This explains why when filing #2015 the system was not already reporting B011 errors.

(As an aside, we'd need a similar fix if we were to start using black, see #2008, which again is Python 3 only)

Activity

  1. self-assigned this
    on Apr 22, 2019
  2. peterjc commented on Apr 22, 2019

    @peterjc
    MemberAuthor

    Testing fix now...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions