summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Added test case for issue #4163 (#4374)Elizabeth Bott2021-04-182-0/+9
| | | Co-authored-by: Elizabeth <ebott@umich.edu>
* resolved false positive on unused variables in decorator functions (#4373)haasea2021-04-182-0/+13
| | | | | * resolved false positive on unused variables in decorator functions and added corresponding test cases Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* Enhancement/add checker consider using min max builtin (#4359)Qwiddle132021-04-172-0/+108
| | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> Co-authored-by: manderj <joffrey.mander+pro@gmail.com>
* Fix - Improve check for invalid PEP 585 syntax (#4345)Marc Mueller2021-04-124-4/+18
| | | Followup to #4340
* Improve check for invalid PEP 585 syntax inside functions (#4340)Marc Mueller2021-04-125-3/+52
| | | | * Improve check for invalid PEP 585 syntax inside functions * Improve check for invalid PEP 585 syntax as default function arguments
* Rename copying to license and upgrade the setup.cfg (#4338)Pierre Sassoulas2021-04-1155-55/+55
|
* New ConfusingConsecutiveElifCheckr (for: #3920) (#4318)DudeNr332021-04-114-0/+239
|
* Add a regression test for #2605 (#4337)Pierre Sassoulas2021-04-112-0/+17
|
* Add generic alias test cases (#4239)Marc Mueller2021-04-1031-0/+1260
|
* Update ``astroid`` to 2.5.3 (#4334)Marc Mueller2021-04-103-1/+17
| | | | * Add test case for typing.Generic with ABCMeta
* fixing comments to break into multiple linesEli Fine2021-04-101-5/+11
|
* obtaining list of comment directives to ignore from pylintrcEli Fine2021-04-101-0/+21
|
* skipping spellcheck for code flanked in backticksEli Fine2021-04-101-32/+40
|
* skipping spellcheck for tool directives in commentsEli Fine2021-04-101-0/+68
|
* Enable loading of plugins in functional tests (Fix 4331) (#4332)DudeNr332021-04-095-2/+18
| | | | | * Load plugins if defined in option file of functional test. * Fix functional test which now fails after optional plugins are now loaded correctly * Added functional test for bad_builtins from #4291
* Refactor MessageId Store with a better error messagePierre Sassoulas2021-04-091-2/+2
|
* Don't show DuplicateBasesError for attribute access (#4317)Marc Mueller2021-04-081-1/+4
|
* Bug pylint 4019 (#4311)hippo912021-04-082-0/+20
| | | | | | | | | | | * Detects an `assert False` and consider it as a return node * Test the detection of `assert False` * Adds an entry * Takes into account @cdce8p and @Pierre-Sassoulas remarks * Formatting
* test: fix fail_under regressionchohner2021-04-074-30/+35
|
* test: dont fail on same scorechohner2021-04-071-1/+1
|
* pass if score equals fail_underchohner2021-04-071-1/+1
|
* Fix false-positive used-before-assignment in function returnsMarc Mueller2021-04-072-13/+19
|
* Bug pylint 4122 (#4304)hippo912021-04-072-0/+53
| | | | | | | * Adds detection of return type hint to determine if a function has NoReturn * Adds unittests to check return type hints are correctly interpreted * Adds an entry * Adds argparse.parse_error as default for never-returning-functions option * Simplification of NoReturn detection as suggested by cdce8p
* Use prescriptve description for unidiomatic-typecheckDudeNr332021-04-061-14/+14
|
* Fix test failing if setup.py is not a launchable scriptPierre Sassoulas2021-04-051-3/+6
|
* Remove implicit concat in str shortened enough by blackPierre Sassoulas2021-04-041-3/+1
|
* Command without the equal for WindowsPierre Sassoulas2021-04-031-1/+1
|
* Add a test for epylint for issue 4286Pierre Sassoulas2021-04-031-0/+61
| | | | | We can't do better than that without breaking the multiple files analysis from command line.
* Fix paths under windows with better path creationPierre Sassoulas2021-04-031-4/+4
|
* Add very basic tests for expand modulesPierre Sassoulas2021-04-032-1/+64
|
* Move utils.expand_module in its own file in lintPierre Sassoulas2021-04-032-13/+19
| | | | We never used it anywhere else than lint so it belong in lint.
* Apply const-naming-style to module const annotated with FinalMarc Mueller2021-04-035-0/+9
|
* Allow protected-access in class methods (#4267)James Sinclair2021-04-012-0/+119
| | | | | | * Add failing tests for protected member access in class methods. * Allow protected-access to class/instance members inside class methods. Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* Fix class constant namingMarc Mueller2021-04-018-4/+41
|
* Add functional tests for issue #4273Pierre Sassoulas2021-04-012-44/+67
|
* Reactivate test that was removed waiting for an astroid mergePierre Sassoulas2021-04-011-4/+2
|
* Skip test_missing_graphviz if graphviz is installed (#4270)Pierre Sassoulas2021-03-301-0/+4
|
* Fix disabled warning not ignored (#4268)pylint-2.7.4Pierre Sassoulas2021-03-302-0/+10
| | | | | * Fix ignores all disabled warnings #4265 * Update changelog and prepare 2.7.4
* Fix issue with annotated class constants (#4266)Marc Mueller2021-03-302-18/+22
|
* Prepare 2.7.3 release (#4261)pylint-2.7.32.7Pierre Sassoulas2021-03-295-0/+5
|
* Fix various problems with --import-graph filename parsing (#4259)Andrew Howe2021-03-291-3/+15
| | | | | | | | | | | | | | Avoids backwards-incompatible changes. - Raise error if graphvis is not installed (instead of reporting success) - Fix tempfile creation bug when outputfile includes directories - Fix bug when using file extension that isn't 3 characters long - Fix confusing help text - Rename deprecated .dot extension to .gv - Default to .png if no extension is specified * Add typing to modified functions (and ignore mypy thinking codecs.open() returns an int) Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* Fix regession with sys.path filter (2)Marc Mueller2021-03-281-1/+4
|
* Fix regression with sys.path filter (#4258)Marc Mueller2021-03-281-25/+126
| | | | * Fix regression with sys.path filter
* Fix false-positive for unused-import on class keyword argumentsMarc Mueller2021-03-281-0/+38
|
* Import astroid with import x or from x import y but not bothPierre Sassoulas2021-03-281-3/+4
| | | | Remove unused imports for astroid
* Use value.qname() to check if class is subscriptable PEP585Marc Mueller2021-03-274-2/+36
|
* Improve handling of assignment expressionsMarc Mueller2021-03-262-3/+25
|
* Only print verbose logs if pytest -vMarc Mueller2021-03-261-3/+3
|
* Fix column index of FIXME warnings (#4246)Konstantina Saketou2021-03-252-9/+9
| | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* Fix private method hidden by ancestor class attribute (#4177)tiagohonorato2021-03-211-0/+30
| | | | | | | | | | | | | | * Fix private method hidden by ancestor class attribute A class defined private method won't be hidden by an ancestor class private attribute as the class will mangle the latter to avoid naming collisions. Add tests to assert method-hidden : Although private attributes from the parent class should not hide methods in the child class, this is not true for protected attributes. This test ensures that ``method-hidden`` catches the error when private attributes are not in use. Signed-off-by: Tiago Honorato <tiagohonorato1@gmail.com> Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>