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
Jakub Wilk
f7643c06f4
Fix typos ( #916 )
...
* Split words that were inadvertently glued together
* Fix typos in the documentation
* Fix typos in message descriptions
2016-05-25 13:42:09 +01:00
Claudiu Popa
46f51312ce
Merge StringMethodChecker with StringFormatChecker.
...
This fixes a bug where disabling all the messages and enabling only a
handful of messages from the StringFormatChecker would have resulted in no
messages at all.
2016-01-13 16:21:47 +02:00
Claudiu Popa
e87abe90f2
Fix new import related errors in pylint's codebase.
2015-11-25 15:12:59 +02:00
Claudiu Popa
538c30ef91
Import has_known_bases and safe_infer back into pylint from astroid, until the latter stabilizes its API.
...
Currently astroid goes into a total revamp, having a couple of development branches with partially
incompatible APIs, which means that pylint can't rely on the exact location of has_known_bases
and safe_infer until astroid reaches a new major release. With this in mind, these two
functions are backported in pylint again.
2015-11-20 12:52:19 +02:00
Claudiu Popa
222be7b46c
Make pylint work with Python 3.5 changes in astroid.
2015-09-18 22:43:24 +00:00
Claudiu Popa
a1b3c9623a
Use the new node names for the visit and leave methods
...
Also, emit a PendingDeprecationWarning if the old names are still
used, this support being removed in pylint 2.0.
2015-08-26 22:09:27 +03:00
Claudiu Popa
7378c72503
Update pylint to use the new astroid AST names and methods
...
Also improve a couple of imports and added support for the
old visit_ names. Priority will have the old visit_ names, such
as visit_discard over visit_expr, visit_callfunc over visit_call
etc.
2015-08-25 21:06:19 +03:00
Rene Zhang
3b98cd7ae2
Fix inference error on string format
2015-08-20 18:01:44 -07:00
Claudiu Popa
d8bd67823e
Use the new CallFunc.keywords instead of filtering out Keyword from CallFunc.args.
2015-08-08 23:48:38 +03:00
Claudiu Popa
47b1c77360
Use safe_infer and has_known_bases from astroid.helpers. Closes issue #593 .
2015-07-06 19:57:11 +03:00
Claudiu Popa
2a3e3b1d5e
Remove trailing whitespace.
2015-05-24 20:16:47 +03:00
Claudiu Popa
23f9ff743c
Handle format-combined-specification explicitly on Jython, where parsing such a string fails with ValueError, contrary to CPython, where the failure is in the intepreter.
2015-05-24 15:19:30 +03:00
Claudiu Popa
d8d7a23216
Don't fail in the string checker when encountering a bytes string on Python 3 with a .format method called.
2015-04-01 13:47:51 +03:00
Ionel Cristian Maries
26eb7f9a2e
Move all package files to a pylint package.
2015-02-14 18:13:20 +02:00