summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Upgrade version and changelog before releasepylint-2.6.22.6Pierre Sassoulas2021-02-162-1/+9
|
* Fix #4093 by setting astroid dependencie as < 2.5Pierre Sassoulas2021-02-161-1/+1
|
* Merge pull request #3784 from PyCQA/2.6pylint-2.6.0hippo912020-08-211-1/+1
|\ | | | | Corrects syntax error that prevent upload to pypi
| * Corrects syntax error that prevent upload to pypihippo912020-08-211-1/+1
| |
* | Merge pull request #3783 from PyCQA/2.6hippo912020-08-2097-97/+153
|\ \ | |/ | | 2.6
| * Sets up copyrighthippo912020-08-2095-94/+150
| |
| * Set the version numberhippo912020-08-201-1/+1
| |
| * Set the release datehippo912020-08-202-2/+2
|/
* tox: Don't mention isort in dependenciesDamien Baty2020-08-181-3/+0
| | | | | | | isort is already a dependency of pylint, there is no need to mention it explicitly. Except for the "formatting" environment where we want to pin a specific version to avoid noise when a new version of isort is released that reports errors.
* Switch to isort 5 for pylint's own codeDamien Baty2020-08-1822-33/+23
|
* Support both isort 4 and isort 5Damien Baty2020-08-1810-14/+61
| | | | | | | | | | | | | | | | | | | | | | The API of isort 5 (released on 2020-07-04) is completely different. We must still support isort 4 because isort 5 dropped the compatibility with Python 3.5, which pylint still supports. Note about the `known-standard-library` option: it has been included in pylint for years. Until now, it was mapped with the option of the same name in isort. However, isort 5 has changed the meaning of this option (see https://timothycrosley.github.io/isort/docs/upgrade_guides/5.0.0/#known_standard_library). Most users of pylint want the meaning of the new `extra-standard-library` option. To avoid a breaking change in pylint, the `known-standard-library` pylint option is now mapped to `known-standard-library` in isort 4, and `extra-standard-library` in isort 5. Users that really want the _new_ meaning of `known-standard-library` in isort 4 must disable the `wrong-import-order` check in pylint and run isort manually, outside of pylint. Fix #3722.
* Add missing test dependency pytest-benchmark to setup.pyBryce Guinta2020-07-161-1/+1
| | | | Without this dependency the test suite fails
* Fix scoping for function annotations, decorators and base classes (#3713)Andrew Simmons2020-07-128-23/+95
| | | | | | | | | Fix scoping for function annotations, decorators and base classes Closes #1082, #3434, #3461 Reduce number of branches in variables checker Co-authored-by: Andrew Simmons <a.simmons@deakin.edu.au>
* Update metafilesPieter Engelbrecht2020-07-122-1/+5
|
* Add float fail-under testsPieter Engelbrecht2020-07-121-0/+18
|
* Make fail under a floatPieter Engelbrecht2020-07-122-1/+2
|
* Minor typo fix in R1721 help stringlrjball2020-07-041-1/+1
| | | typo fix, identitiy -> identity
* Fix spelling of CaesarPeter Aronoff2020-06-251-4/+4
| | | | | | | I know that this isn't the most important thing in the world, but as a Latin teacher, it is (literally) my job to notice this sort of thing. Thanks for pylint.
* Add rule raise-missing-fromRam Rachum2020-06-2214-10/+243
|
* Fix a crash in parallel mode when the module's filepath is not setClaudiu Popa2020-06-204-4/+27
| | | | Close #3564
* Fix a crash caused by not guarding against `InferenceError` when calling ↵Claudiu Popa2020-06-183-4/+27
| | | | | | `infer_call_result` Close #3690
* Fix false positive superfluous parens for walrus operatorBryce Guinta2020-06-174-4/+46
| | | | Close #3383
* Remove unused member variable of FormatCheckerBryce Guinta2020-06-172-10/+5
|
* Improve readability of FormatChecker._check_keyword_parenthesesBryce Guinta2020-06-171-11/+12
|
* remove invalid fstr setting (#3682)Thomas Grainger2020-06-161-1/+1
|
* Set default pre-commit hook config: single process (#3689)iilei2020-06-163-0/+4
| | | | | The default pre-commit behaviour might lead to falsely succeeding lint-runs. E.g. due to duplicate lines of code spread across multiple files -- if affected files get spread across multiple runs, duplicates can not be detected.
* Fix exception causes all over the codebaseRam Rachum2020-06-146-15/+15
|
* Chore: use https links (#3679)谭九鼎2020-06-1131-56/+56
|
* ``missing-kwoa`` is no longer emitted when dealing with overload functions ↵Claudiu Popa2020-06-094-5/+51
| | | | | (#3673) Close #3655
* Prepare 2.5.3Claudiu Popa2020-06-081-1/+1
|
* Fix a bug with `ignore-docstrings` ignoring all lines in a moduleClaudiu Popa2020-06-085-0/+34
|
* Ignore raw docstrings as well for ignore-docstrings Shiv Venkatasubrahmanyam2020-06-081-5/+7
|
* Move entry at 2.5.3 levelClaudiu Popa2020-06-081-4/+5
|
* Allow numbers in checker names. (#3667)Jeremy Fleischman2020-06-084-1/+15
| | | | This fixes https://github.com/PyCQA/pylint/issues/3666.
* Protect against `AttributeError` when checking `cell-var-from-loop`Claudiu Popa2020-05-294-9/+25
| | | | Close #3646
* Add an faq on message to disable to avoid duplicates w/ other popular lintersDaniel Neal2020-05-273-0/+26
| | | | | | | | * Faq detailing which messages to disable to avoid duplicates w/ other linters (#3647) * Add name to contributors * Update ChangeLog * Update faq.rst * Extend underline
* Fix a regression where the score was not reported with multiple jobsClaudiu Popa2020-05-163-1/+12
| | | | | | | | | The linter depends on `FileState.base_name` to be set for emitting the reports. This has been removed inadvertently in 21dc87531296256c3bccda660229b0c60a7bb129 during refactoring of the multiprocessing implementation. Close #3547
* config: Handle rich (non-string) types in TOML fileDamien Baty2020-05-164-24/+100
| | | | | | | | | | | | | | | | | | | | | | Fixes #3538 Before that, we had to use strings in a TOML configuration file, like this: enable = "use-symbolic-message-instead,useless-suppression" jobs = "10" suggestion-mode = "no" TOML supports rich types like list, integer and boolean. They make for a more readable and less error-prone file. We can now express the same configuration like this: enable = [ "use-symbolic-message-instead", "useless-suppression", ] jobs = 10 suggestion-mode = false
* Fix a regression where messages with dash are not fully parsedClaudiu Popa2020-05-143-1/+13
| | | | Close #3604
* `continue-in-finally` no longer emitted on Python 3.8 where it's now validClaudiu Popa2020-05-143-0/+7
| | | | Close #3612
* `property-with-parameters` properly handles abstract propertiesClaudiu Popa2020-05-144-2/+31
| | | | Close #3600
* Add a callback for uniformity purposePierre Sassoulas2020-05-101-5/+9
| | | | See : https://github.com/PyCQA/pylint/pull/3581#discussion_r419892053
* Remove version from the option parserPierre Sassoulas2020-05-101-4/+1
|
* Dirty hack to print version before parsing anythingPierre Sassoulas2020-05-101-0/+6
| | | | Can't find where the version is even printed in a normal case.
* The full version is a constant we can just import itPierre Sassoulas2020-05-105-13/+21
|
* Add What's New project URLVille Skyttä2020-05-062-0/+3
| | | | Background info at https://github.com/pypa/warehouse/pull/7882
* ``pylint.Run`` accepts ``do_exit`` as a deprecated parameterClaudiu Popa2020-05-052-1/+23
| | | | | | | We need to allow various third party libraries that depend on `pylint` to still use `do_exit` until they can move over to `exit`. Close #3590
* Address the super violations in the codebaseClaudiu Popa2020-05-0518-36/+44
|
* Rename the new old-style super with super-with-argumentsClaudiu Popa2020-05-059-62/+37
| | | | | Also move it from the Python 3 checker to the refactoring one, as it's a better fit for it.
* Released 2.5.1Claudiu Popa2020-05-051-1/+1
|