summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Can choose decorators that mutate a function's signature (#2926)Ashley Whetter2019-05-235-0/+54
| | | Close #259
* ``assignment-from-no-return`` not triggered for async methods.Claudiu Popa2019-05-233-2/+19
| | | | Close #2902
* Protect against non-Const nodes in is_complex_format_strClaudiu Popa2019-05-221-6/+5
|
* Use explicit astroid imports where implicit ones were being usedClaudiu Popa2019-05-222-8/+8
|
* Fix a bunch of linting errors from the codebaseClaudiu Popa2019-05-2224-131/+77
|
* Don't emit ``attribute-defined-outside-init`` for variables defined in setters.Claudiu Popa2019-05-213-6/+30
| | | | Close #409
* Add a function to figure out if a node is a property setter and use it ↵Claudiu Popa2019-05-213-24/+32
| | | | accordingly
* Fixed pragmas on their own line after a backlash being ignored (#2923)Ashley Whetter2019-05-213-0/+31
| | | Closes #199
* Fixed false positive for `undefined-loop-variable`Ashley Whetter2019-05-203-0/+25
| | | | Closes #202
* Use the right column number for syntax error on PyPyClaudiu Popa2019-05-201-3/+2
|
* Syntax errors report the column number.Claudiu Popa2019-05-203-4/+10
| | | | Close #2914
* Correct infered to inferredClaudiu Popa2019-05-209-83/+83
|
* Support fully qualified typing imports for type annotations.Claudiu Popa2019-05-204-13/+108
| | | | Close #2915
* Expect only certain errors from self regression testsClaudiu Popa2019-05-201-5/+13
| | | | | | | | These changes should fix a couple of failing tests when running the suite with pytest instead of tox. The reason for those failures was that pylint was reusing the config file from the root directory and some of its messages are disabled there. Close #2819
* tox stopped installing the latest pip resulting in various errors accross ↵Claudiu Popa2019-05-201-2/+1
| | | | AppVeyor
* Remove inadvertent changeClaudiu Popa2019-05-191-6/+0
|
* Pass the line number for bad-inline-option instead of passing the actual lineClaudiu Popa2019-05-191-1/+1
| | | | Close #2904
* Fix misspellings in documentation (#2922)Nick Smith2019-05-194-6/+5
|
* Add test to demonstrate that a recursion error does not happen. Close #2906Claudiu Popa2019-05-191-0/+14
|
* Exclude ``__dict__`` from ``attribute-defined-outside-init``Claudiu Popa2019-05-193-1/+14
| | | | Close #2909
* Correct word pointed when the same word has more than one error in the same lineagutole2019-05-144-3/+74
| | | | Fixes #2895
* Fix crash in callable check (#2901)Martin Vielsmaier2019-05-054-1/+22
|
* fix old-division check for int(...) (#2892)Anthony Sottile2019-04-303-13/+31
|
* Flip around the message of broad_try_clauseClaudiu Popa2019-04-292-2/+2
|
* Add a what's new entry for the new extensionClaudiu Popa2019-04-291-1/+12
|
* Add broad try clause extension. (#2890)Tyler Thieding2019-04-295-0/+131
| | | | | | | | | Add an extension checker (pylint.extensions.broad_try_clause) that enforces a configurable maximum number of statements inside of a try clause. This facilitates enforcing PEP 8's guidelines about try/except statements and the amount of code in the try clause: "Additionally, for all try/except clauses, limit the try clause to the absolute minimum amount of code necessary. Again, this avoids masking bugs."
* Add 'of' to GoogleDocstring multiple type (#2884)Zeb Nicholls2019-04-295-1/+35
| | | | | | | | | | | | | A docstring of the following form should pass (see https://sphinxcontrib-napoleon.readthedocs.io/en/latest/example_numpy.html, search for ':obj:list of :obj:str') def my_func(self): """This is a docstring. Returns ------- :obj:`list` of :obj:`str` List of strings """ return ["hi", "bye"] #@
* Rename a function to use only lowercase charactersClaudiu Popa2019-04-191-2/+2
|
* Squash a couple of lines into a single oneClaudiu Popa2019-04-191-5/+1
|
* Added subprocess.run explicit set `check` argument checker. Closes #2848fadedDexofan2019-04-197-0/+40
|
* Fix the typing annotationsClaudiu Popa2019-04-111-6/+8
|
* When we can't infer bare except handlers, skip ``try-except-raise``Claudiu Popa2019-04-094-13/+18
| | | | Close #2853
* Add missing closing parenthesis in option helpSantiago Castro2019-04-091-1/+1
|
* Handle more `unnecessary-lambda` cases when dealing with additional kwargs ↵Claudiu Popa2019-04-033-2/+18
| | | | | | in wrapped calls Close #2845
* Better postponed evaluation of annotations handlingClaudiu Popa2019-04-033-1/+16
| | | | Close #2847
* Fix - Remove the redefined build-in instead of using a pragmaPierre Sassoulas2019-03-291-4/+2
|
* Refactor - Remove unused and untested code in utilsPierre Sassoulas2019-03-295-44/+8
| | | | | There might be code that is used only in test but it's harder to detect.
* Style - Use a single list comprehension instead of a for loopClaudiu Popa2019-03-291-5/+4
| | | | Co-Authored-By: Pierre-Sassoulas <pierre.sassoulas@gmail.com>
* Refactor - Create file for BaseCheckerPierre Sassoulas2019-03-293-94/+105
| | | | It was 'hidden' in checkers.__init__.py
* Refactor - Move function for checker in CheckerPierre Sassoulas2019-03-298-58/+50
| | | | | | MsgStore.get_messages_from_checker => Checker.messages MsgStore.check_checker_consistency => Checker.check_consistency Probably makes more sense this way.
* Fix - Move checker.utils tests into their dedicated unittestPierre Sassoulas2019-03-292-195/+192
| | | | It turns out there is not that much utils unittests.
* Refactor - Create a new file for ASTWalker unittestPierre Sassoulas2019-03-292-61/+71
|
* Refactor - Move refactor.utils function to the utils packagePierre Sassoulas2019-03-2912-112/+125
| | | | | | | This permit to have less cross dependency as the utils package does not depend on anything. The checker package still depends on reporter. Also moved classes from __init__ to their own file in reporter.
* Refactor - Merge normalize text in utils.pyPierre Sassoulas2019-03-294-18/+12
| | | | Now that there is no more circular import we can do that.
* Refactor - Remove circular import between utils and reporterPierre Sassoulas2019-03-293-2/+2
| | | | | ReportsHandlerMixIn was importing Nodes from reporter and is probably more suited for the reporter package anyway.
* Refactor - Avoid intra-packages circular dependencies for constantsPierre Sassoulas2019-03-2916-55/+34
| | | | | | | | 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.
* Pin sphinx to the latest and fix the warning it causedClaudiu Popa2019-03-292-2/+2
|
* Support postponed evaluation of annotations for variable annotations.Claudiu Popa2019-03-293-1/+16
| | | | Close #2838
* ``epylint.py_run`` defaults to ``python`` in case the current executable is ↵Claudiu Popa2019-03-283-2/+8
| | | | | | not a Python one. Close #2837
* Drop the quotes to make the test actually workClaudiu Popa2019-03-271-1/+1
|