Skip to content

Should pylint be equivalent to pylint . ? #5701

Open
@Pierre-Sassoulas

Description

@Pierre-Sassoulas

Current problem

Right now pylint is displaying the help if called without argument. We could also default to the current directory i.e. pylint would be equivalent to pylint ..

Desired solution

If you want pylint to be equivalent to pylint . then react to this post with 👍, if not react with 👎. Most popular solution makes it to pylint 3.0.

Additional context

Tools like flake8 or pytest default to current directory, mypy or isort do not.

More generally, if a tool can work without argument like ls or pwd it does, if it can't because it makes no sense without arguments then it shows the help like mv, or scp, so I'm personally in favor as I think linting the current directory make sense, but I did not find the rational for mypy or isort to not use the current directory as default.

Original proposition done in #352 (comment), created because of #5682 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Blocker 🙅Blocks the next releaseEnhancement ✨Improvement to a componentNeeds PRThis issue is accepted, sufficiently specified and now needs an implementation

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions