Skip to content

PEP8 tests are not running by defaultΒ #1

@fodma1

Description

@fodma1

I was trying to integrate this package with my django 1.7.1 project, and I could run

./manage.py test test_pep8

But ./manage.py test didn't run the pep8 checker. I added it to the list of installed apps, so the problem is not there. I checked the unittest runner in debug mode and for me it seems that it tries discover test only in the project folder recursively.

Eventually I could come up with a solution by adding the following test file:

from test_pep8.tests import PEP8Test

__all__ = [
    'PEP8Test',
]

Maybe I'm missing something, but this might help someone..

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions