Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Added test case for issue #4163 (#4374) | Elizabeth Bott | 2021-04-18 | 2 | -0/+9 |
| | | | Co-authored-by: Elizabeth <ebott@umich.edu> | ||||
* | resolved false positive on unused variables in decorator functions (#4373) | haasea | 2021-04-18 | 2 | -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) | Qwiddle13 | 2021-04-17 | 2 | -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 Mueller | 2021-04-12 | 4 | -4/+18 |
| | | | Followup to #4340 | ||||
* | Improve check for invalid PEP 585 syntax inside functions (#4340) | Marc Mueller | 2021-04-12 | 5 | -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 Sassoulas | 2021-04-11 | 55 | -55/+55 |
| | |||||
* | New ConfusingConsecutiveElifCheckr (for: #3920) (#4318) | DudeNr33 | 2021-04-11 | 4 | -0/+239 |
| | |||||
* | Add a regression test for #2605 (#4337) | Pierre Sassoulas | 2021-04-11 | 2 | -0/+17 |
| | |||||
* | Add generic alias test cases (#4239) | Marc Mueller | 2021-04-10 | 31 | -0/+1260 |
| | |||||
* | Update ``astroid`` to 2.5.3 (#4334) | Marc Mueller | 2021-04-10 | 3 | -1/+17 |
| | | | | * Add test case for typing.Generic with ABCMeta | ||||
* | fixing comments to break into multiple lines | Eli Fine | 2021-04-10 | 1 | -5/+11 |
| | |||||
* | obtaining list of comment directives to ignore from pylintrc | Eli Fine | 2021-04-10 | 1 | -0/+21 |
| | |||||
* | skipping spellcheck for code flanked in backticks | Eli Fine | 2021-04-10 | 1 | -32/+40 |
| | |||||
* | skipping spellcheck for tool directives in comments | Eli Fine | 2021-04-10 | 1 | -0/+68 |
| | |||||
* | Enable loading of plugins in functional tests (Fix 4331) (#4332) | DudeNr33 | 2021-04-09 | 5 | -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 message | Pierre Sassoulas | 2021-04-09 | 1 | -2/+2 |
| | |||||
* | Don't show DuplicateBasesError for attribute access (#4317) | Marc Mueller | 2021-04-08 | 1 | -1/+4 |
| | |||||
* | Bug pylint 4019 (#4311) | hippo91 | 2021-04-08 | 2 | -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 regression | chohner | 2021-04-07 | 4 | -30/+35 |
| | |||||
* | test: dont fail on same score | chohner | 2021-04-07 | 1 | -1/+1 |
| | |||||
* | pass if score equals fail_under | chohner | 2021-04-07 | 1 | -1/+1 |
| | |||||
* | Fix false-positive used-before-assignment in function returns | Marc Mueller | 2021-04-07 | 2 | -13/+19 |
| | |||||
* | Bug pylint 4122 (#4304) | hippo91 | 2021-04-07 | 2 | -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-typecheck | DudeNr33 | 2021-04-06 | 1 | -14/+14 |
| | |||||
* | Fix test failing if setup.py is not a launchable script | Pierre Sassoulas | 2021-04-05 | 1 | -3/+6 |
| | |||||
* | Remove implicit concat in str shortened enough by black | Pierre Sassoulas | 2021-04-04 | 1 | -3/+1 |
| | |||||
* | Command without the equal for Windows | Pierre Sassoulas | 2021-04-03 | 1 | -1/+1 |
| | |||||
* | Add a test for epylint for issue 4286 | Pierre Sassoulas | 2021-04-03 | 1 | -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 creation | Pierre Sassoulas | 2021-04-03 | 1 | -4/+4 |
| | |||||
* | Add very basic tests for expand modules | Pierre Sassoulas | 2021-04-03 | 2 | -1/+64 |
| | |||||
* | Move utils.expand_module in its own file in lint | Pierre Sassoulas | 2021-04-03 | 2 | -13/+19 |
| | | | | We never used it anywhere else than lint so it belong in lint. | ||||
* | Apply const-naming-style to module const annotated with Final | Marc Mueller | 2021-04-03 | 5 | -0/+9 |
| | |||||
* | Allow protected-access in class methods (#4267) | James Sinclair | 2021-04-01 | 2 | -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 naming | Marc Mueller | 2021-04-01 | 8 | -4/+41 |
| | |||||
* | Add functional tests for issue #4273 | Pierre Sassoulas | 2021-04-01 | 2 | -44/+67 |
| | |||||
* | Reactivate test that was removed waiting for an astroid merge | Pierre Sassoulas | 2021-04-01 | 1 | -4/+2 |
| | |||||
* | Skip test_missing_graphviz if graphviz is installed (#4270) | Pierre Sassoulas | 2021-03-30 | 1 | -0/+4 |
| | |||||
* | Fix disabled warning not ignored (#4268)pylint-2.7.4 | Pierre Sassoulas | 2021-03-30 | 2 | -0/+10 |
| | | | | | * Fix ignores all disabled warnings #4265 * Update changelog and prepare 2.7.4 | ||||
* | Fix issue with annotated class constants (#4266) | Marc Mueller | 2021-03-30 | 2 | -18/+22 |
| | |||||
* | Prepare 2.7.3 release (#4261)pylint-2.7.32.7 | Pierre Sassoulas | 2021-03-29 | 5 | -0/+5 |
| | |||||
* | Fix various problems with --import-graph filename parsing (#4259) | Andrew Howe | 2021-03-29 | 1 | -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 Mueller | 2021-03-28 | 1 | -1/+4 |
| | |||||
* | Fix regression with sys.path filter (#4258) | Marc Mueller | 2021-03-28 | 1 | -25/+126 |
| | | | | * Fix regression with sys.path filter | ||||
* | Fix false-positive for unused-import on class keyword arguments | Marc Mueller | 2021-03-28 | 1 | -0/+38 |
| | |||||
* | Import astroid with import x or from x import y but not both | Pierre Sassoulas | 2021-03-28 | 1 | -3/+4 |
| | | | | Remove unused imports for astroid | ||||
* | Use value.qname() to check if class is subscriptable PEP585 | Marc Mueller | 2021-03-27 | 4 | -2/+36 |
| | |||||
* | Improve handling of assignment expressions | Marc Mueller | 2021-03-26 | 2 | -3/+25 |
| | |||||
* | Only print verbose logs if pytest -v | Marc Mueller | 2021-03-26 | 1 | -3/+3 |
| | |||||
* | Fix column index of FIXME warnings (#4246) | Konstantina Saketou | 2021-03-25 | 2 | -9/+9 |
| | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Fix private method hidden by ancestor class attribute (#4177) | tiagohonorato | 2021-03-21 | 1 | -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> |