Skip to content

pep8 should load config from setup.cfg if file exists #93

Closed

Description

@ssbarnea

pep8 should use the project config (setup.cfg) instead of user config if this exists.

different project can have different requirements regarding pep8 compliance, so it makes sense to use project config instead.

most python tools already supports this: sphinx, nosetests, pytest, ...

Activity

  1. florentx commented on Jun 26, 2012

    @florentx
    Contributor

    version 1.3 look for a .pep8 configuration file in the folder being checked (or one of its parents).
    Is it what you expect, or does it need to do something clever?

  2. ssbarnea commented on Jun 26, 2012

    @ssbarnea
    MemberAuthor

    Thant's nice, meaning that the only thing that it should be able to do is to check for setup.cfg before .pep8. It would be nice not to have to add config files for each tool, sharing the setup.cfg seems to be working for others very well.

    The good part is that the format is already compatible, so it's only about the filename. That's clearly a feature request :)

  3. florentx commented on Dec 22, 2012

    @florentx
    Contributor

    Fixed in alpha

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions