| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Update copyrite noticev2.8.2 | Pierre Sassoulas | 2021-04-26 | 1 | -0/+1 |
| | | |||||
| * | Changes after black update | Marc Mueller | 2021-04-26 | 1 | -1/+1 |
| | | |||||
| * | Rename copying to license and upgrade the setup.cfg (#4338) | Pierre Sassoulas | 2021-04-11 | 1 | -1/+1 |
| | | |||||
| * | Prepare 2.7.3 release (#4261)pylint-2.7.32.7 | Pierre Sassoulas | 2021-03-29 | 1 | -0/+1 |
| | | |||||
| * | Import astroid with import x or from x import y but not both | Pierre Sassoulas | 2021-03-28 | 1 | -4/+5 |
| | | | | | Remove unused imports for astroid | ||||
| * | Fix 'assert' statement contains an expression with side effects | Pierre Sassoulas | 2021-03-25 | 1 | -2/+4 |
| | | |||||
| * | Remove 'whitelist' term in python3 checker | Peter Kolbus | 2021-03-09 | 1 | -2/+2 |
| | | | | | Replace usage of a whitelist parameter in checkers.python3. | ||||
| * | Apply copyrite --contribution-threshold | Pierre Sassoulas | 2021-02-21 | 1 | -2/+4 |
| | | |||||
| * | Remove the # coding, since PEP3120 the default is UTF8 | Pierre Sassoulas | 2021-02-21 | 1 | -1/+0 |
| | | |||||
| * | 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> | ||||
| * | Move from format() to f-string where it makes sense | Pierre Sassoulas | 2021-02-16 | 1 | -4/+4 |
| | | | | | As we do not maintain python 3.5 it permit to simplify some code | ||||
| * | Update formatting following black and isort update | Pierre Sassoulas | 2020-09-10 | 1 | -2/+1 |
| | | |||||
| * | Sets up copyright | hippo91 | 2020-08-20 | 1 | -1/+3 |
| | | |||||
| * | Chore: use https links (#3679) | 谭九鼎 | 2020-06-11 | 1 | -1/+1 |
| | | |||||
| * | Rename the new old-style super with super-with-arguments | Claudiu Popa | 2020-05-05 | 1 | -20/+0 |
| | | | | | | Also move it from the Python 3 checker to the refactoring one, as it's a better fit for it. | ||||
| * | Add new old-style-super check to flag instances of super with default arguments | Federico Bond | 2020-05-05 | 1 | -1/+21 |
| | | |||||
| * | Add missing copyright annotations for the past releases | Claudiu Popa | 2020-04-27 | 1 | -4/+15 |
| | | |||||
| * | pyupgrade: automated removal of python2 constructs | Anthony Sottile | 2020-03-24 | 1 | -3/+2 |
| | | | | | | | | | | | | | | using configuration: ```yaml - repo: https://github.com/asottile/pyupgrade rev: v2.1.0 hooks: - id: pyupgrade args: [--py3-plus, --keep-percent-format] exclude: ^tests/(extensions/data/|functional/|input/|regrtest_data/) ``` | ||||
| * | Fix false positive for inverse containment tests | Athos Ribeiro | 2020-01-06 | 1 | -1/+1 |
| | | | | | | | | | | | | | While dict-keys-not-iterating does not generate false positives for the 'in' containment test, the check does generate false positives for the inverse counterpart of the containment test, 'not in'. This patch changes the check behavior to also consider the 'not in' operator as an iterating context. * Relates to #2186 Signed-off-by: Athos Ribeiro <athoscr@fedoraproject.org> | ||||
| * | Enable else-if-used extension (#3316) | Nick Drozd | 2019-12-24 | 1 | -5/+4 |
| | | | | After all, if we don't use this, why should anybody else? | ||||
| * | Move the set construction for _infer_if_relevant_attr at the class level | Claudiu Popa | 2019-10-30 | 1 | -4/+5 |
| | | |||||
| * | Speedup py3k mode | Hugues Bruant | 2019-10-30 | 1 | -2/+24 |
| | | | | | | | | | | | | | | | | | | | | | | | | | Avoid costly inference in visit_call and visit_attribute when the attribute name is one that cannot possibly trigger a message. This typically leads to a 30-50% speedup when running pylint in python3 porting mode on most codebases. Benchmark results on pylint's own code, on a 2018 macbook pro, with python 3.6.8, using `hyperfine`. pylint-2.4.2 ``` Time (mean ± σ): 10.071 s ± 1.136 s [User: 9.724 s, System: 0.246 s] Range (min … max): 9.352 s … 12.015 s 5 runs ``` pylint-2.4.2 + this patch ``` Time (mean ± σ): 6.282 s ± 0.046 s [User: 6.099 s, System: 0.155 s] Range (min … max): 6.232 s … 6.327 s 5 runs ``` | ||||
| * | Fixes "exception-escape" false positive with generators (#3128) (#3182) | Gabriel R Sezefredo | 2019-10-16 | 1 | -9/+4 |
| | | | | | | | | As reported on #3128, there is a bug when the handler bound object is being used inside a generator causing a false positive. This was due to the way we were identifying if the object was "inside" its handler or not. In the previous implementation we would visit the node parents until we reached the object scope (in the generator case, the scope of the node is the generator, not the handler), while this change continues to go up the parent stack until it reaches its parent handler, or, if it's not inside its handler, it reaches the module's parent (None). Object is considered inside its handler if it reaches it by going up in the parent chain. It's considered outside its handler if it reaches None. Signed-off-by: Gabriel R Sezefredo <g@briel.dev> | ||||
| * | Remove redundant compatibility code (#3097) | Hugo van Kemenade | 2019-09-12 | 1 | -20/+11 |
| | | | | | We no longer support Python 2 so we can remove the compatibility code we had in place for that version. | ||||
| * | Do not scope the iterating contexts to builtins | Claudiu Popa | 2019-09-10 | 1 | -2/+1 |
| | | | | | | | | This caused issues detecting that `OrderedDict` and similar non-builtin predefined iterable consumers where not in fact in an *iterating* context. Close #3075 | ||||
| * | [pylint.checkers] Make the link between msgid and symbol strictly 1-1 | Pierre Sassoulas | 2019-08-19 | 1 | -6/+6 |
| | | | | | | Will permit to improve performance with less check but more importantly simplify the message store a lot. | ||||
| * | fix old-division check for int(...) (#2892) | Anthony Sottile | 2019-04-30 | 1 | -5/+9 |
| | | |||||
| * | Refactor - Avoid intra-packages circular dependencies for constants | Pierre Sassoulas | 2019-03-29 | 1 | -1/+1 |
| | | | | | | | | | Some constants were package internal but were used by multiple packages. This created circular dependencies. By creating a file for constants we make sure this does not happen because we won't import everything important in this file and every thing else can depend on it. | ||||
| * | Style - Apply isort on all apllicable files | Pierre Sassoulas | 2019-03-20 | 1 | -5/+4 |
| | | |||||
| * | Modify range-builtin-not-iterating message (#2810) | bluesheeptoken | 2019-03-19 | 1 | -1/+1 |
| | | |||||
| * | ``old-division`` is not emitted for non-Const nodes. | Claudiu Popa | 2019-03-11 | 1 | -0/+7 |
| | | | | | Close #2808 | ||||
| * | Don't emit ``*-not-iterating`` checks for builtins consumed by ``itertools`` | Claudiu Popa | 2019-02-11 | 1 | -8/+8 |
| | | | | | Close #2731 | ||||
| * | Exempt starred unpacking from ``*-not-iterating`` Python 3 checks | Claudiu Popa | 2018-12-18 | 1 | -0/+2 |
| | | | | | Close #2651 | ||||
| * | Exempt ``yield from`` from ``*-not-iterating`` Python 3 checks. | Claudiu Popa | 2018-12-14 | 1 | -0/+3 |
| | | | | | Close #2643 | ||||
| * | Fix zip-builtin-not-iterating false positive with OrderedDict (#2634) | sbagan | 2018-12-10 | 1 | -0/+1 |
| | | | | | Add OrderedDict as accepting iterator | ||||
| * | Adding implicit-str-concat-in-sequence check (#1655) | Lucas Cimon | 2018-10-10 | 1 | -5/+5 |
| | | | | | | ``implicit-str-concat-in-sequence`` detects string concatenation inside lists, sets & tuples. It would warn on code such as `('a', 'b' 'c')`. | ||||
| * | dict-iter-method and dict-view-method no longer determines if the operand is ↵ | Claudiu Popa | 2018-10-02 | 1 | -20/+4 |
| | | | | | | | | a dictionary This inhibits the capability of the check of finding occurrences of these methods. There's a low chance of having a false positive. | ||||
| * | Reformat the code with black | Claudiu Popa | 2018-09-17 | 1 | -580/+925 |
| | | |||||
| * | Remove wrong modules from 'bad-python3-import' (#2454) | Aivar Annamaa | 2018-09-09 | 1 | -2/+2 |
| | | | | | Close #2453 | ||||
| * | first make mypy pass by ignoring type | ssolanki | 2018-08-21 | 1 | -1/+2 |
| | | |||||
| * | Do not emit *-builtin for Python 3 builtin checks when the builtin is used ↵ | Claudiu Popa | 2018-08-01 | 1 | -4/+11 |
| | | | | | | | inside a try-except Close PyCQA/pylint#2228 | ||||
| * | `chain.from_iterable` no longer emits `dict-{}-not-iterating` when dealing ↵ | Claudiu Popa | 2018-07-24 | 1 | -1/+2 |
| | | | | | with dict values and keys | ||||
| * | Update copyright notices | Claudiu Popa | 2018-07-15 | 1 | -3/+8 |
| | | |||||
| * | frozenset is an iterating context for dict.values() and friends | Claudiu Popa | 2018-07-10 | 1 | -1/+1 |
| | | |||||
| * | [].extend and similar builtin operations don't emit `dict-*-not-iterating` ↵ | Claudiu Popa | 2018-06-20 | 1 | -0/+13 |
| | | | | | | | with the Python 3 porting checker Close #2187 | ||||
| * | `in` is considered iterating context for some of the Python 3 porting checkers | Claudiu Popa | 2018-06-14 | 1 | -0/+5 |
| | | | | | Close #2186 | ||||
| * | Check that the potential leaked names are not used in the except handler | Claudiu Popa | 2018-06-01 | 1 | -0/+8 |
| | | |||||
| * | Completely remove six shims from the codebase | Sushobhit | 2018-05-30 | 1 | -5/+0 |
| | | |||||
| * | Make sure the value is not defined in the same comprehension when looking ↵ | Claudiu Popa | 2018-05-24 | 1 | -1/+8 |
| | | | | | for comprehension-escape values. Close #2106 | ||||
