summaryrefslogtreecommitdiff
path: root/CONTRIBUTORS.txt
Commit message (Collapse)AuthorAgeFilesLines
* fix compatibility with unreleased changes to stdlib tokenizerMichael Hudson-Doyle2018-10-011-0/+2
| | | | | | | | | | https://github.com/python/cpython/commit/c4ef4896eac86a6759901c8546e26de4695a1389 (not yet in any released version, but it's been backported to all versions of Python in git, even 2.7!) changed the behaviour in the stdlib's tokenize module to emit a synthetic NEWLINE token even if the file does not end with a newline. This was causing a spurious "mixed-line-endings" warning to be emitted, but luckily the synthetic token is easy to test for (the token text is "").
* Use ast to handle PEP 328 multi-line importsScott Worley2018-09-291-0/+2
| | | | | | | Closes #1422 Closes #2019 This fixes #1422 and fixes #2019.
* Add myself to contributorsBenjamin Drung2018-09-281-0/+2
|
* No enumerate check in __iter__ (#2505)Ben James2018-09-221-1/+3
| | | | | | Don't suggest enumerate when defining `__iter__` and operating on the underlying class Closes #2477
* Added check simplifiable-if-expression (#2502)Tomer Chachamu2018-09-201-0/+2
| | | | | | Similar to simplifiable-if-statement, it finds trivial ternary statements and suggested replacing them. Paired-with: Richard Goodman <richardg@brandwatch.com>
* Grammar fixes to docs (#2492)Drew2018-09-151-2/+4
| | | Fix grammar error in pylintrc files and CONTRIBUTORS.txt.
* Remove wrong modules from 'bad-python3-import' (#2454)Aivar Annamaa2018-09-091-0/+2
| | | | Close #2453
* Added checker for format string type mismatches.Yury Gribov2018-09-041-0/+2
|
* Fix wildcard imports missing in import graphHornwitser2018-09-041-1/+3
| | | | | This looks like an oversight in the graph adding code. '*' was explicitly checked for, but nothing was done on '*' imports.
* added pylint-PyCharm-plugin to the ide integration docsRoberto Leinardi2018-08-231-0/+2
|
* Fix is_subclass_of when one param is not ClassDefCaio Carrara2018-08-221-0/+2
| | | | | | | | | Currently the function `checkers.utils.is_subclass_of()` is raising a `NoneType object has no attribute name` exception when only one of the arguments (nodes) is `None`. This change fix that updating the function to make sure all params are an instance of `astroid.ClassDef` before the proper check
* Remove a couple of Python 2 specific checksNatalie Serebryakova2018-08-151-0/+2
| | | | | | | | The Removed Python 2 specific checks are: deprecated-lambda, nonstandard-exception, lowercase-l-suffix, slots-on-old-class, super-on-old-class, property-on-old-class, old-style-class. Close #1896
* Added myself to contributor listMarcus Näslund2018-08-081-0/+2
|
* Add Bryce to the teamClaudiu Popa2018-07-311-0/+2
|
* Demote 'try-except-raise' from an error to a warning (#2324)Carey Metcalfe2018-07-221-1/+3
| | | | | | This changes the `try-accept-raise` message from `E0705` to `W0706` to be more in line with the way the rest of the messages are organized. Fixes #2323
* Remove the maximum length from the style regular expressions (#2290)SergeyKosarchuk2018-07-171-0/+2
| | | Close #2047
* Documentation fixes for the release and add Nick as a contributorClaudiu Popa2018-07-151-0/+2
|
* Add new checker useless-object-inheritance.ssolanki2018-06-201-0/+1
| | | | Close #2177
* Add checker for simplifying chained comparison. Sushobhit2018-06-181-0/+2
| | | | | | | Add new checker "chained-comparison" which is used when pylint can detect that multiple comparisons can be squashed together into one. Close #2032
* Add new check `comparison-with-callable`ssolanki2018-06-151-0/+1
| | | | This check warn for comparison with bare callable, without calling it.
* `len-as-condition` recognize more cases (#2165)Matej Marušák2018-06-041-0/+2
| | | | | | | | | This patch adds lints for two more cases: 1) `if len(X) < 1:` 2) `if len(X) <= 0:` Meaning of the both is same as `if not X`. Signed-off-by: Matej Marusak <mmarusak@redhat.com>
* Update the contributors to reflect the realityClaudiu Popa2018-06-041-16/+20
|
* Add checker to warn when imported package is renamed as original one.Sushobhit2018-05-191-1/+2
| | | | | | | Given an import, we'll emit this error whenever pylint finds an alias with the same name as the import module. Close #2052.
* Take annotations in account for missing-type-doc and missing-return-docSushobhit2018-05-191-1/+2
| | | Close #2083
* Add `--exit-zero` option (#2099)Jason Owen2018-05-171-0/+2
| | | | | | | | | | | | | | 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
* Fix handling of inline scopes in too-many-statements (#1979)Mark Miller2018-05-171-0/+2
| | | | | | Nested scopes don't reset reset the `too-many-statements` check state. Close #1978
* Switch to using verbose instead of quiet since we want to disable this by ↵Claudiu Popa2018-05-171-0/+2
| | | | default
* Fix an error which occurred when using the docparams extension and ↵Adam Dangoor2018-05-161-0/+2
| | | | documenting a NotImplementedError.
* Add a new check: `logging-fstring-interpolation`.Mariatta Wijaya2018-05-151-0/+4
| | | | | | | | A new check `logging-fstring-interpolation` is added. It emits a warning when f-string is used within logging function calls. Fixes https://github.com/PyCQA/pylint/issues/1998
* Add new check 'comparison-with-itself' (#2074)Sushobhit2018-05-151-0/+3
| | | | | | | This test checks that we don't compare a value with itself, which might suggest some potential bug or an honest mistake. Fixes #2051
* Add check for unhashable dict keys (fixes #586) (#2089)Ben Green2018-05-151-0/+2
|
* Includes file paths in the default report format (#2088)Jace Browning2018-05-151-0/+2
| | | | | | | | | | | | | | | The default report format in mypy, pydocstyle, and other tools includes the file path so that the user of certain terminals (e.g. iTerm) can click on each warning to open that line in their editor. For example, here is what the default mypy output looks like: framework/views/billing.py:92: error: Incompatible return value type (got "View", expected "DashboardTab") With this new format, pylintoutput looks like: framework/views/dashboards.py:21:8: W0612: Unused variable 'x' (unused-variable) Note that some editors (e.g. Sublime Text) index columns from 1, so this will place the cursor one column to the left of the warning.
* Fix typo in base checker unit test (#2093)Fureigh2018-05-141-0/+2
| | | | | | | This commit does two things: * Change `it's name should` to `its name should` * Update CONTRIBUTORS.txt Thanks for holding a sprint at PyCon!
* Warn when using subprocess.Popen preexec_fn kwarg (#2087)Banjamin Freeman2018-05-141-0/+2
| | | Close #1195
* Update ChangeLog, whatsnew and CONTRIBUTORSMarianna Polatoglou2018-05-141-0/+2
|
* Add support for numpydoc return value names (#2031)Mitchell T.H. Young2018-04-241-0/+2
| | | | | | | | | | | | | | | Numpydoc specification allows for optional return value name in the form of: ``` Returns ------- name : type Some description ``` These were not being honored by the current regex for return lines. This adds an optional, non-capturing group to the regex which accounts for the `name : ` bit. Fixes #2030
* Don't report docstrings on inner functions. (#1987)glmdgrielson2018-04-021-0/+1
| | | | | | Inner functions don't need to be documented, as they are not part of a public API. Fixes PyCQA/pylint#1956
* New error condition try-except-raise (#1939)Alexander Todorov2018-03-291-1/+2
| | | | | | | | reports on except handlers where raise is the first operator in the handler body. Reports on either bare raise or when we're raising the same type of exception as the one that is being handled. Update existing tests to ignore the new error condition.
* Add contributorClaudiu Popa2018-03-271-0/+3
|
* Changelog entry for indentation handlingAndreas Freimuth2018-03-251-1/+3
|
* Add check for swapping variables with tuples(#1922) (#1929)Konstantin2018-03-161-0/+1
|
* Correctly strip the path prefix from the report paths (#1883)Reverb C2018-03-011-0/+3
| | | | Closes #1120
* Update contribute documentation with correct test path (#1901)thernstig2018-03-011-0/+2
|
* Add entry in changelogIoana Tagirta2018-02-101-0/+2
|
* Add new checker useless-returnMr. Senko2018-01-251-1/+2
| | | | | warns about a single "return" or "return None" statement at the end of functions or methods
* Update committers list, mark both Lukasz and Guillaume as new committersClaudiu Popa2018-01-251-11/+11
|
* Update contributors and changelog.Brian Shaginaw2018-01-181-0/+2
|
* Use the proper node to get the name for redefined functions (#1792)Jacques Kvam2017-12-241-0/+2
| | | Close #1774
* New warning: shallow copy of os.environ (#1733)Martin2017-11-111-0/+3
| | | | | | | | | | | | | | Shallow copy of os.environ doesn't work as people may expect. os.environ is not a dict object but rather a proxy object, so any changes made on the copy may have unexpected effects on os.environ Instead of copy.copy(os.environ) method os.environ.copy() should be used. Message id is: `shallow-copy-environ` See https://bugs.python.org/issue15373 for details. Resolves: #1301
* Do not warn no-absolute-import multiple times per file (#1725)Daniel Miller2017-11-111-0/+2
|