Commit Graph

32 Commits

Author SHA1 Message Date
Claudiu Popa
3f28424007 Reformat the code with black 2018-09-17 09:07:42 +02:00
Claudiu Popa
3a8635a9ef Update copyright notices 2018-07-15 11:36:36 +02:00
ssolanki
3cf841a6a2 Add new checker useless-object-inheritance.
Close #2177
2018-06-20 06:55:02 +05:30
Sushobhit
8c5256dd2d Remove six package usages. (#2151) 2018-05-27 13:12:14 +08:00
Bryce Guinta
9a40ee4768 Add ability to specify message column offset independent of node for messages that rely on tokens 2018-01-03 11:21:45 +01:00
Claudiu Popa
9ff44de0ca
Regenerate copyright notices 2017-12-15 12:24:15 +01:00
Claudiu Popa
6765dee741
Make functions and classes from testutils private. Close #1438 2017-07-08 17:19:25 +03:00
Derek Gustafson
2fa1375777 Remove unneeded test utilities. 2016-12-08 20:59:15 +00:00
Derek Gustafson
4faacf2119 Reduce dependency on unittest 2016-12-06 16:07:00 +00:00
Derek Gustafson
72ea777b1f Added test_functional tests back in. 2016-12-06 15:49:33 +00:00
Derek Gustafson
5ff3e04e42 Added test_func tests back in. 2016-12-06 15:49:32 +00:00
Derek Gustafson
2e692c6d12 Fix pylint warnings. 2016-12-06 15:49:32 +00:00
Derek Gustafson
8dfe195254 Switch test runner from unnittest to pytest. 2016-12-06 15:49:30 +00:00
Roy Williams
38c652c17a Add confidence to error messages about str.translate and str.encode/decode (#1197) 2016-12-05 15:06:45 -08:00
Claudiu Popa
f110903515 PyLinter.should_analyze_file has a new optional parameter, called is_argument
Close #1079
2016-08-23 14:31:55 +03:00
Claudiu Popa
ec09cc7578 Even more granular copyrights (thanks to copyrite) 2016-07-23 00:22:28 +03:00
Claudiu Popa
211d81f84f Keep a consistent copyright notice across the board.
This was changed automatically in #894, but apparently
we need to have the copyright notice somewhere.
2016-07-19 17:42:07 +03:00
Claudiu Popa
8322781baa Add the new shorter license header, including to missing files. Close #894. 2016-06-01 16:25:07 +01:00
xmo-odoo
849f8d3304 Allow UnittestLinter.is_message_enabled to take kwargs
External examples of custom linters (e.g. @nedbat's edx_lint[0]) and some 
internal pylint code[1] pass is_message_enabled's `line` parameter by keyword.

However this does not work when trying to test those lints using the 
UnittestLinter mock object, as its is_message_enabled only takes positional
parameters.

[0] https://github.com/edx/edx-lint/blob/master/edx_lint/pylint/getattr_check.py#L63
[1] https://github.com/PyCQA/pylint/blob/master/pylint/test/unittest_lint.py#L261
2016-02-04 15:54:14 +01:00
Claudiu Popa
81b66e0a69 Rename display_results to display_reports, the old name being deprecated. 2016-01-09 20:55:13 +02:00
Claudiu Popa
dc07196639 Remove features in 1.6.0 which were scheduled for removal. 2015-12-17 03:08:25 +02:00
Claudiu Popa
e87abe90f2 Fix new import related errors in pylint's codebase. 2015-11-25 15:12:59 +02:00
Claudiu Popa
444a387eee Correct the name of the messages. 2015-10-18 19:01:31 +03:00
Claudiu Popa
fed3648450 Disable not-iterable-context for a couple of false positives. 2015-10-18 18:58:15 +03:00
Claudiu Popa
981829d451 Update pylint to use the new astroid.parse, not testutils.build_module. 2015-07-13 23:28:24 +03:00
Claudiu Popa
f67d43227e Fix some pylint warnings over pylint's codebase. 2015-05-16 18:25:57 +03:00
Claudiu Popa
badb3f8c92 Ignore Jython compiled files when gathering old style tests. 2015-05-08 12:40:04 +03:00
Claudiu Popa
1d4ff5ae6a Fix other pylint warnings over pylint's codebase. 2015-05-08 00:22:36 +03:00
Claudiu Popa
d957ae5764 Get rid of abstract-method warnings emitted over pylint's codebase. 2015-05-07 23:38:59 +03:00
Claudiu Popa
190462bacb Try to make the tests compatible with both Python 2 and Python 3. 2015-03-26 16:45:52 +02:00
Pavel Roskin
6eb3ef3595 Fix the number of underscores in __implements__ 2015-03-02 09:11:28 -05:00
Ionel Cristian Maries
26eb7f9a2e Move all package files to a pylint package. 2015-02-14 18:13:20 +02:00