Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add extension-pkg-allow-list option | Peter Kolbus | 2021-03-09 | 2 | -3/+22 |
| | | | | | Add an option extension-pkg-allow-list to the main checker. This is an alternate name for extension-pkg-whitelist. | ||||
* | Remove 'blacklist' term for good/bad identifiers | Peter Kolbus | 2021-03-09 | 2 | -9/+9 |
| | | | | | | | Replace blacklist/whitelist terminology in the context of identifier names. The message identifier 'blacklisted-name' will be addressed in a future patch; a transition path is needed because this message may be referenced in pylintrc files or disable comments. | ||||
* | Reduce 'blacklist' term for ignored files | Peter Kolbus | 2021-03-09 | 4 | -20/+20 |
| | | | | | | | Replace usage of the term 'blacklist' in the context of ignored files and directories (--ignore and --ignore-patterns), except in cases where backward compatibility is needed. In documentation and help, supplement 'ignore' with 'skip'; in code use the term 'ignore list'. | ||||
* | Fix astroid.Inference error for undefined-variables with len() | Marc Mueller | 2021-03-08 | 1 | -1/+5 |
| | |||||
* | Fix functional test fail so it can be copy pasted | Pierre Sassoulas | 2021-03-07 | 1 | -1/+1 |
| | |||||
* | Typing changes + disable unused pylint plugin for pre-commit (#4205) | Marc Mueller | 2021-03-07 | 1 | -5/+6 |
| | |||||
* | Print helpful error when toml decode fails (#4176) | Quentin Young | 2021-03-07 | 1 | -1/+7 |
| | | | | | | | | * Print helpful error when toml decode fails If loading a TOML config file fails, print the issue with the TOML file rather than dumping stack. Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | pyreverse: Add output directory command-line option | Mark Byrne | 2021-03-07 | 1 | -3/+1 |
| | | | | | | - Use the formatting of `black` pre-commit hook Issue: #4159 | ||||
* | pyreverse: Add output directory command-line option | Mark Byrne | 2021-03-07 | 2 | -0/+17 |
| | | | | Issue: #4159 | ||||
* | Add typing that were lacking following refactor | Pierre Sassoulas | 2021-03-07 | 1 | -10/+6 |
| | | | | See : 6721cd1cf2da0294124b75d382a042e23ec27d47 | ||||
* | Introduced deprecated attributes | Matus Valo | 2021-03-06 | 1 | -4/+71 |
| | |||||
* | Add is_class_var utils function | Marc Mueller | 2021-03-06 | 2 | -8/+12 |
| | |||||
* | Add --class-const-naming-style | Marc Mueller | 2021-03-06 | 1 | -2/+17 |
| | |||||
* | Fix false-positive no-member for typed annotations without default value | Marc Mueller | 2021-03-06 | 2 | -6/+25 |
| | |||||
* | Exempt TypedDict from too-few-public-methods check | Marc Mueller | 2021-03-06 | 1 | -2/+3 |
| | |||||
* | Refactor modify sys_path for execution as python module | Marc Mueller | 2021-03-05 | 2 | -10/+24 |
| | |||||
* | Add allow-redefined-builtins option to variable checker | Alexander Kapshuna | 2021-03-05 | 1 | -2/+16 |
| | | | | | | | | Some builtins have little-to-no use in application code while being convenient as variables names (e.g. id, dir). New option allows to configure allowed to override names for redefined-builtin checker. Closes #3263 | ||||
* | Fix Enum invalid name with snake_case preset | Marc Mueller | 2021-03-02 | 1 | -1/+2 |
| | |||||
* | Upgrade the changelog following release of 2.7.2 | Pierre Sassoulas | 2021-02-28 | 1 | -1/+1 |
| | |||||
* | Update copyright notice with copyrite | Pierre Sassoulas | 2021-02-28 | 22 | -27/+18 |
| | |||||
* | Remove TypedDict hotfix | Marc Mueller | 2021-02-28 | 1 | -5/+0 |
| | |||||
* | Update astroid version | Marc Mueller | 2021-02-28 | 1 | -1/+1 |
| | |||||
* | Use correct SPDX license tag | Marc Mueller | 2021-02-28 | 1 | -1/+1 |
| | |||||
* | Update requirements | Marc Mueller | 2021-02-28 | 1 | -1/+1 |
| | | | | | | | | | * Pin test and doc requirements to current versions * Rename requirements_test_pypy.txt to requirements_test_min.txt * Move some dependencies from min to test * Update coverage and sphinx versions * Update ci * Use pytest-cov | ||||
* | Properly strip dangerous sys.path entries (not just the first one) (#4153) | Louis Sautier | 2021-02-28 | 1 | -2/+1 |
| | | | | | | | 51c646bf70a6e0a86492bfd2ddd1885671d64d67 only stripped the first bad sys.path entry, causing problems when PYTHONPATH starts or ends with a colon. Closes: https://github.com/PyCQA/pylint/issues/3636 | ||||
* | Fix False positive on Enum.__members__.items() (#4135) | Ikraduya Edian | 2021-02-27 | 1 | -0/+12 |
| | | | | | | | * Fix false positive on Enum.__members__.{values, keys} * Fix False positive on Enum.__members__.items() Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com> Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Fix benchmark test (#4138) | Marc Mueller | 2021-02-23 | 1 | -1/+5 |
| | | | | | * Don't check directories starting with '.' when using register_plugins * CI - Add benchmark job | ||||
* | Expose UnittestLinter in testutils after 2.7 | Lefteris Karapetsas | 2021-02-22 | 1 | -0/+2 |
| | |||||
* | Add 2.8.0 in the Changelog | Pierre Sassoulas | 2021-02-21 | 1 | -2/+2 |
| | |||||
* | Better documentation for the change in version during release | Pierre Sassoulas | 2021-02-21 | 1 | -1/+1 |
| | |||||
* | Apply copyrite --contribution-threshold | Pierre Sassoulas | 2021-02-21 | 57 | -69/+136 |
| | |||||
* | Upgrade version to 2.7.0 and fix astroid to 2.5.0 | Pierre Sassoulas | 2021-02-21 | 1 | -2/+2 |
| | |||||
* | Migrate from % syntax or bad format() syntax to fstring | Pierre Sassoulas | 2021-02-21 | 12 | -100/+48 |
| | | | | We can do that in python 3.6 | ||||
* | Move from % string formatting syntax to f-string or .format() | Pierre Sassoulas | 2021-02-21 | 33 | -105/+105 |
| | |||||
* | Remove the # coding, since PEP3120 the default is UTF8 | Pierre Sassoulas | 2021-02-21 | 40 | -62/+0 |
| | |||||
* | Move message definition to the DeprecatedMixin class | Matus Valo | 2021-02-21 | 2 | -1/+10 |
| | |||||
* | Introduced DeprecatedMixin | Matus Valo | 2021-02-21 | 3 | -34/+63 |
| | |||||
* | Add new `consider-using-generator` and 'use-a-generator' checkers | Ikraduya Edian | 2021-02-20 | 1 | -0/+61 |
| | | | | | | | | See issue #3165 (#3309) See https://github.com/PyCQA/pylint/pull/3309#discussion_r576683109 Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> Co-authored-by: Daniel Hahler <github@thequod.de> | ||||
* | Fix false positive when map() receives iterable | Tiago Honorato | 2021-02-20 | 1 | -0/+1 |
| | | | | | | | Since map() supports iterables, it should not issue builtin-not-iterating for iterable arguments. Signed-off-by: Tiago Honorato <tiagohonorato1@gmail.com> | ||||
* | Fix false positive when zip() receives iterable (#4105) | tiagohonorato | 2021-02-19 | 1 | -0/+1 |
| | | | | | | | | Since zip() supports iterables, it should not be an issue builtin-not-iterating for iterable arguments. Signed-off-by: Tiago Honorato <tiagohonorato1@gmail.com> Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | add nan-comparison checker for NaN comparisons | Or Bahari | 2021-02-18 | 1 | -2/+57 |
| | | | | **After fix whatsnew to 2.7 | ||||
* | Fix issue with nested PEP 604 syntax | Marc Mueller | 2021-02-16 | 1 | -7/+22 |
| | |||||
* | Fix issue with nested PEP 585 syntax | Marc Mueller | 2021-02-16 | 1 | -4/+10 |
| | |||||
* | Move from format() to f-string where it makes sense | Pierre Sassoulas | 2021-02-16 | 17 | -112/+58 |
| | | | | As we do not maintain python 3.5 it permit to simplify some code | ||||
* | Remove Python 3.4 compatibility code from Message | David Gilman | 2021-02-16 | 1 | -3/+1 |
| | |||||
* | Graingert add generated members match against the qualified name (#4092) | Pierre Sassoulas | 2021-02-15 | 1 | -11/+21 |
| | | | | | | | | * Fix #2498: add generated-members match against the qualified name Add test for fully qualified generated-members Co-authored-by: Gauthier Sebaux <gauthier.sebaux@wavestone.com> Co-authored-by: Thomas Grainger <tagrain@gmail.com> | ||||
* | Fix E265 block comment should start with '# ' | Pierre Sassoulas | 2021-02-15 | 1 | -1/+2 |
| | |||||
* | Fix W504 line break after binary operator | Pierre Sassoulas | 2021-02-15 | 1 | -4/+2 |
| | |||||
* | Fix E266 too many leading '#' for block comment | Pierre Sassoulas | 2021-02-15 | 1 | -9/+2 |
| | |||||
* | Fix E731 do not assign a lambda expression, use a def | Pierre Sassoulas | 2021-02-15 | 1 | -2/+5 |
| |