Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | using-constant-test has a false positive when using getattr(), so disable ↵ | Claudiu Popa | 2018-10-01 | 1 | -1/+1 | |
| | | | | that error locally | |||||
* | Obtain the correct number of CPUs for virtualized or containerized environments. | Claudiu Popa | 2018-10-01 | 1 | -1/+12 | |
| | | | | Close #2519 | |||||
* | Save the first group into a variable and use that instead | Claudiu Popa | 2018-09-29 | 1 | -5/+7 | |
| | ||||||
* | Partially revert commit fede47a625f40169bf839b7e8e2df643b3471635 | Claudiu Popa | 2018-09-18 | 1 | -11/+1 | |
| | | | | | | | | | This used to assume that the initial part of a pragma line might have been a comment, but in practice in can be a bunch of control pragmas for different linters, which in turn results in pylint's pragma control no longer applying when it follows those pragma controls. Close #2297 | |||||
* | Reformat the code with black | Claudiu Popa | 2018-09-17 | 1 | -529/+747 | |
| | ||||||
* | The ``locally-enabled`` check is gone. | Claudiu Popa | 2018-08-24 | 1 | -4/+0 | |
| | | | | Close #2442 | |||||
* | first make mypy pass by ignoring type | ssolanki | 2018-08-21 | 1 | -1/+1 | |
| | ||||||
* | Update copyright notices | Claudiu Popa | 2018-07-15 | 1 | -3/+14 | |
| | ||||||
* | Control the maximum number of inference values from pylint with ↵ | Claudiu Popa | 2018-07-15 | 1 | -0/+7 | |
| | | | | --limit-inference-results | |||||
* | Filter with should_analyze_file in parallel mode (#2264) | Randall Leeds | 2018-07-10 | 1 | -1/+5 | |
| | | | | | | | | | | Each ChildLinter receives a file path and instantiates a linter to check that file. As such, all files are arguments to child linters in parallel mode. Therefore, the check for should_analyze_file must happen in the parent linter, where knowledge of the original arguments is available. Expand the custom should_analyze_file test to exercise parallel mode. Close #1885 | |||||
* | Merge branch 'master' into fix_2177 | Sushobhit | 2018-06-22 | 1 | -14/+14 | |
|\ | ||||||
| * | standardize help strings a bit (#2207) | Mike Frysinger | 2018-06-20 | 1 | -14/+14 | |
| | | | | | | | | | | | | | | A number of help strings are inconsistent in trailing periods, or spaces after them in the middle of text, or add a large amount of whitespace by using \ to continue the string. Standardize a lot of these so all help messages end in a period and there is normal whitespace in the middle. | |||||
* | | Add new checker useless-object-inheritance. | ssolanki | 2018-06-20 | 1 | -1/+1 | |
|/ | | | | Close #2177 | |||||
* | Document jobs=0 behavior in help message and man page | Ville Skyttä | 2018-06-12 | 1 | -1/+2 | |
| | ||||||
* | Fix invalid jobs number error message to note that it can be set to 0 | Ville Skyttä | 2018-06-12 | 1 | -1/+1 | |
| | ||||||
* | Remove six package usages. (#2151) | Sushobhit | 2018-05-27 | 1 | -12/+10 | |
| | ||||||
* | pyupgrade (#2136) | Anthony Sottile | 2018-05-22 | 1 | -2/+2 | |
| | ||||||
* | Fix lint | Claudiu Popa | 2018-05-17 | 1 | -1/+1 | |
| | ||||||
* | Add `--exit-zero` option (#2099) | Jason Owen | 2018-05-17 | 1 | -1/+10 | |
| | | | | | | | | | | | | | | Add a new command-line option for the use of continuous integration scripts which abort if a command returns a non-zero status code. If the option is specified, and Pylint runs successfully, it will exit with 0 regardless of the number of lint issues detected. Configuration errors, parse errors, and calling Pylint with invalid command-line options all still return a non-zero error code, even if `--exit-zero` is specified. Thanks for hosting a sprint at PyCon 2018! Close #2042 | |||||
* | Switch to using verbose instead of quiet since we want to disable this by ↵ | Claudiu Popa | 2018-05-17 | 1 | -9/+10 | |
| | | | | default | |||||
* | Expose quiet mode to command line | Gary Tyler McLeod | 2018-05-17 | 1 | -1/+10 | |
| | | | | | The quiet option is parsed in Run.preprocess_options. This was necessary due to the call order in the Run class constructor. The quiet flag was also moved from OptionsManagerMixIn.init() to OptionsManagerMixin.read_config_file() because it wasn't used anywhere else in the class. Currently, quiet mode only manipulates the display of the config file path ("Using config file "). Closes #1863 | |||||
* | Minor corrections in command's `--help` text (#1882) | Yuval Langer | 2018-02-16 | 1 | -1/+1 | |
| | ||||||
* | Fix the wrong scope of the ``disable=`` directive after a commented line. | hippo91 | 2018-02-14 | 1 | -1/+9 | |
| | | | | | | | For example when a ``disable=line-too-long`` directive is at the end of a long commented line, it no longer disables the emission of ``line-too-long`` message for lines that follow. Close #1742 | |||||
* | Spelling fixes | Ville Skyttä | 2018-01-30 | 1 | -1/+1 | |
| | ||||||
* | Get rid of trailing `, ` in --version output | Nick Drozd | 2018-01-18 | 1 | -1/+1 | |
| | ||||||
* | Fixed typo in help message. | kapsh | 2018-01-18 | 1 | -1/+1 | |
| | ||||||
* | Enable no-member | Nick Drozd | 2018-01-04 | 1 | -0/+1 | |
| | ||||||
* | Enable redefined-builtin | Nick Drozd | 2018-01-04 | 1 | -2/+2 | |
| | ||||||
* | Set max-attributes to 11 | Nick Drozd | 2018-01-04 | 1 | -0/+1 | |
| | | | | | The greatest number of instance attributes is 21. The next greatest is 11, which is more reasonable. | |||||
* | Enable broad-except check | Nick Drozd | 2018-01-04 | 1 | -2/+4 | |
| | | | | | | This was globally disabled, which is not a great idea, and also locally disabled in a few places. I enabled it globally and consolidated the local disables. | |||||
* | Regenerate copyright notices | Claudiu Popa | 2017-12-15 | 1 | -4/+25 | |
| | ||||||
* | Respect disable=... in config with --py3k (#1726) | Daniel Miller | 2017-11-11 | 1 | -0/+8 | |
| | ||||||
* | Adding a check for ``inconsistent-return-statements`` inside function or ↵ | hippo91 | 2017-09-26 | 1 | -1/+2 | |
| | | | | | methods. (#1641) Close #1267 | |||||
* | Fix the metavar for suggestion-mode | Claudiu Popa | 2017-08-12 | 1 | -1/+1 | |
| | ||||||
* | Add suggestion-mode flag | Łukasz Rogalski | 2017-08-12 | 1 | -2/+7 | |
| | | | | | | | | Added ``suggestion-mode`` configuration flag. When flag is enabled, informational message is emitted instead of cryptic error message for attributes accessed on c-extensions. Close #1466 | |||||
* | Fix lint | Claudiu Popa | 2017-08-09 | 1 | -1/+1 | |
| | ||||||
* | Do not start more jobs than needed (#1614) | Roman Ivanov | 2017-08-09 | 1 | -3/+5 | |
| | | | | | pylint always starts all jobs even when analyzing a single file Close #1613 | |||||
* | Log and crash correctly a child process when an error occurs. Close #1445 | Claudiu Popa | 2017-07-20 | 1 | -1/+3 | |
| | ||||||
* | Make the help accurate: multiple modules are allowed (#1449) | Ned Batchelder | 2017-05-13 | 1 | -2/+2 | |
| | ||||||
* | Raise meaningful exception for invalid reporter class being selected (#1450) | Łukasz Rogalski | 2017-04-28 | 1 | -6/+14 | |
| | ||||||
* | Spelling fixes (#1397) | Ville Skyttä | 2017-04-02 | 1 | -5/+5 | |
| | ||||||
* | Fix spelling | Łukasz Rogalski | 2016-12-08 | 1 | -2/+2 | |
| | ||||||
* | PyLinter.should_analyze_file has a new optional parameter, called `is_argument` | Claudiu Popa | 2016-08-23 | 1 | -3/+11 | |
| | | | | Close #1079 | |||||
* | Even more granular copyrights (thanks to copyrite) | Claudiu Popa | 2016-07-23 | 1 | -2/+11 | |
| | ||||||
* | Rename UnknownMessage, EmptyReport to UnknownMessageError, EmptyReportError | Glenn Matthews | 2016-07-19 | 1 | -4/+4 | |
| | ||||||
* | Move EmptyReport and UnknownMessage to pylint.exceptions | Glenn Matthews | 2016-07-19 | 1 | -4/+5 | |
| | ||||||
* | Keep a consistent copyright notice across the board. | Claudiu Popa | 2016-07-19 | 1 | -0/+2 | |
| | | | | | This was changed automatically in #894, but apparently we need to have the copyright notice somewhere. | |||||
* | Spelling fix (#1003) | Florian Bruhin | 2016-07-13 | 1 | -1/+1 | |
| | ||||||
* | Removed --optimized-ast. Part of #975. | Claudiu Popa | 2016-07-06 | 1 | -14/+0 | |
| | ||||||
* | Remove features which were scheduled for removal. | Claudiu Popa | 2016-07-06 | 1 | -2/+0 | |
| |