Skip to content

lint all files in a directory #352

Closed
@pylint-bot

Description

@pylint-bot

Originally reported by: Buck Evan (BitBucket: bukzor, GitHub: @bukzor?)


It would make things easier for me to use pylint in CI if I could simply say pylint . in order to tell pylint to look at all my files.

flake8/pep8 already have this behavior. They make it configurable via a filepatterns config (default *.py) and an exclude config (default .svn,CVS,.bzr,.hg,.git,__pycache__).

Discussion from #pylint:

buck1: jcristau: in flake8, I can run `flake8 .` and it has a set of configured match/exclude patterns to check everything in the directory
buck1: currently pylint assumes that any directory is a package, and fails if not
buck1: how would you feel about including the flake8 behavior
buck1: would make my life 100% easier when trying to run pylint against everything during CI
jcristau: doesn't sound crazy, though there might be backwards compat concerns...  please float the idea in a ticket or on the list, i'm not the maintainer :)
buck1: jcristau: i'll make a feature-request ticket. Sounds like something I might be able to implement. Just wanted to see your thoughts first.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Command lineRelated to command line interfaceEnhancement ✨Improvement to a componentHacktoberfestHelp wanted 🙏Outside help would be appreciated, good for new contributorsHigh priorityIssue with more than 10 reactions

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions