-
-
Couldn't load subscription status.
- Fork 1.2k
Description
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)