Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Upgrade version and changelog before releasepylint-2.6.22.6 | Pierre Sassoulas | 2021-02-16 | 2 | -1/+9 |
| | |||||
* | Fix #4093 by setting astroid dependencie as < 2.5 | Pierre Sassoulas | 2021-02-16 | 1 | -1/+1 |
| | |||||
* | Merge pull request #3784 from PyCQA/2.6pylint-2.6.0 | hippo91 | 2020-08-21 | 1 | -1/+1 |
|\ | | | | | Corrects syntax error that prevent upload to pypi | ||||
| * | Corrects syntax error that prevent upload to pypi | hippo91 | 2020-08-21 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #3783 from PyCQA/2.6 | hippo91 | 2020-08-20 | 97 | -97/+153 |
|\ \ | |/ | | | 2.6 | ||||
| * | Sets up copyright | hippo91 | 2020-08-20 | 95 | -94/+150 |
| | | |||||
| * | Set the version number | hippo91 | 2020-08-20 | 1 | -1/+1 |
| | | |||||
| * | Set the release date | hippo91 | 2020-08-20 | 2 | -2/+2 |
|/ | |||||
* | tox: Don't mention isort in dependencies | Damien Baty | 2020-08-18 | 1 | -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 code | Damien Baty | 2020-08-18 | 22 | -33/+23 |
| | |||||
* | Support both isort 4 and isort 5 | Damien Baty | 2020-08-18 | 10 | -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.py | Bryce Guinta | 2020-07-16 | 1 | -1/+1 |
| | | | | Without this dependency the test suite fails | ||||
* | Fix scoping for function annotations, decorators and base classes (#3713) | Andrew Simmons | 2020-07-12 | 8 | -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 metafiles | Pieter Engelbrecht | 2020-07-12 | 2 | -1/+5 |
| | |||||
* | Add float fail-under tests | Pieter Engelbrecht | 2020-07-12 | 1 | -0/+18 |
| | |||||
* | Make fail under a float | Pieter Engelbrecht | 2020-07-12 | 2 | -1/+2 |
| | |||||
* | Minor typo fix in R1721 help string | lrjball | 2020-07-04 | 1 | -1/+1 |
| | | | typo fix, identitiy -> identity | ||||
* | Fix spelling of Caesar | Peter Aronoff | 2020-06-25 | 1 | -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-from | Ram Rachum | 2020-06-22 | 14 | -10/+243 |
| | |||||
* | Fix a crash in parallel mode when the module's filepath is not set | Claudiu Popa | 2020-06-20 | 4 | -4/+27 |
| | | | | Close #3564 | ||||
* | Fix a crash caused by not guarding against `InferenceError` when calling ↵ | Claudiu Popa | 2020-06-18 | 3 | -4/+27 |
| | | | | | | `infer_call_result` Close #3690 | ||||
* | Fix false positive superfluous parens for walrus operator | Bryce Guinta | 2020-06-17 | 4 | -4/+46 |
| | | | | Close #3383 | ||||
* | Remove unused member variable of FormatChecker | Bryce Guinta | 2020-06-17 | 2 | -10/+5 |
| | |||||
* | Improve readability of FormatChecker._check_keyword_parentheses | Bryce Guinta | 2020-06-17 | 1 | -11/+12 |
| | |||||
* | remove invalid fstr setting (#3682) | Thomas Grainger | 2020-06-16 | 1 | -1/+1 |
| | |||||
* | Set default pre-commit hook config: single process (#3689) | iilei | 2020-06-16 | 3 | -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 codebase | Ram Rachum | 2020-06-14 | 6 | -15/+15 |
| | |||||
* | Chore: use https links (#3679) | 谭九鼎 | 2020-06-11 | 31 | -56/+56 |
| | |||||
* | ``missing-kwoa`` is no longer emitted when dealing with overload functions ↵ | Claudiu Popa | 2020-06-09 | 4 | -5/+51 |
| | | | | | (#3673) Close #3655 | ||||
* | Prepare 2.5.3 | Claudiu Popa | 2020-06-08 | 1 | -1/+1 |
| | |||||
* | Fix a bug with `ignore-docstrings` ignoring all lines in a module | Claudiu Popa | 2020-06-08 | 5 | -0/+34 |
| | |||||
* | Ignore raw docstrings as well for ignore-docstrings | Shiv Venkatasubrahmanyam | 2020-06-08 | 1 | -5/+7 |
| | |||||
* | Move entry at 2.5.3 level | Claudiu Popa | 2020-06-08 | 1 | -4/+5 |
| | |||||
* | Allow numbers in checker names. (#3667) | Jeremy Fleischman | 2020-06-08 | 4 | -1/+15 |
| | | | | This fixes https://github.com/PyCQA/pylint/issues/3666. | ||||
* | Protect against `AttributeError` when checking `cell-var-from-loop` | Claudiu Popa | 2020-05-29 | 4 | -9/+25 |
| | | | | Close #3646 | ||||
* | Add an faq on message to disable to avoid duplicates w/ other popular linters | Daniel Neal | 2020-05-27 | 3 | -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 jobs | Claudiu Popa | 2020-05-16 | 3 | -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 file | Damien Baty | 2020-05-16 | 4 | -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 parsed | Claudiu Popa | 2020-05-14 | 3 | -1/+13 |
| | | | | Close #3604 | ||||
* | `continue-in-finally` no longer emitted on Python 3.8 where it's now valid | Claudiu Popa | 2020-05-14 | 3 | -0/+7 |
| | | | | Close #3612 | ||||
* | `property-with-parameters` properly handles abstract properties | Claudiu Popa | 2020-05-14 | 4 | -2/+31 |
| | | | | Close #3600 | ||||
* | Add a callback for uniformity purpose | Pierre Sassoulas | 2020-05-10 | 1 | -5/+9 |
| | | | | See : https://github.com/PyCQA/pylint/pull/3581#discussion_r419892053 | ||||
* | Remove version from the option parser | Pierre Sassoulas | 2020-05-10 | 1 | -4/+1 |
| | |||||
* | Dirty hack to print version before parsing anything | Pierre Sassoulas | 2020-05-10 | 1 | -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 it | Pierre Sassoulas | 2020-05-10 | 5 | -13/+21 |
| | |||||
* | Add What's New project URL | Ville Skyttä | 2020-05-06 | 2 | -0/+3 |
| | | | | Background info at https://github.com/pypa/warehouse/pull/7882 | ||||
* | ``pylint.Run`` accepts ``do_exit`` as a deprecated parameter | Claudiu Popa | 2020-05-05 | 2 | -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 codebase | Claudiu Popa | 2020-05-05 | 18 | -36/+44 |
| | |||||
* | Rename the new old-style super with super-with-arguments | Claudiu Popa | 2020-05-05 | 9 | -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.1 | Claudiu Popa | 2020-05-05 | 1 | -1/+1 |
| |