Commit Graph

22 Commits

Author SHA1 Message Date
Torsten Marek
f69623ed42 Only emit symbolic warnings from the misc checker. 2014-04-17 11:07:03 +02:00
Arun Persaud
f91020d413 Updated FSF address. 2014-02-23 15:02:47 -08:00
Sylvain Thénault
a93f0907fc some pylint and style fixes 2013-07-31 09:05:01 +02:00
Torsten Marek
c55ede14f4 Do not emit [fixme] for every line if the config value 'notes' is empty, but [fixme] is enabled.
Also added a very basic test for checkers/misc.py.
2013-07-24 11:17:37 +02:00
Julien Cristau
b6da6929b5 Ignore invalid-encoded-data on python3
It became a syntax error.
2013-06-19 18:27:43 +02:00
Julien Cristau
fdd8a05368 python3: deal with astroid's module.file_stream returning bytes
Use tokenize.tokenize() which wants a byte stream.  Everywhere else,
decode as necessary.
2013-06-19 13:31:16 +02:00
Torsten Marek
3fd411930f Fix a typo (unexcepted -> unexpected) in the description of the invalid encoding warning. 2013-06-19 13:21:58 +02:00
Torsten Marek
3c96b2f385 Added a new warning 'invalid-encoded-data' for files that contain an encoding, but whose
contents cannot be decoded with this encoding.
2013-06-19 11:43:19 +02:00
Torsten Marek
0353142ac9 Clean up misc checker, use single regex instead of several ones. 2013-06-19 10:59:37 +02:00
David Douard
f1786ae74b astng has been renamed astroid 2013-06-17 15:06:48 +02:00
Martin Pool
399d5890db Closes #104572: symbolic warning names in output (by Martin Pool)
triggered whatever the format using a command line option
2012-09-19 17:15:43 +02:00
Sylvain Thénault
bfc5ea47c9 pylint fixes 2012-08-22 11:42:40 +02:00
Sylvain Thénault
d3f545682f add note about soon useless stream.seek() 2011-10-26 09:35:41 +02:00
Emile Anclin
4192e79a83 py3k: need to handle guess_encoding in astng
Astng will try to find the right encoding and provide the right "stream"
interface for the Pylint checkers.
Reading a stream with the wrong encoding in py3k will generate a UnicodeError.

The introduced a 'F0010' failure should maybe be replaced by E0501, E0502 and
F0002? However, can we call 'unexpected errors' the ASTNGBuildingExceptions
that we raise in logilab.astng.builder?
2010-11-22 15:36:44 +01:00
Emile Anclin
62b387d773 223 : run python2.x compatible fixers 2010-11-15 14:52:57 +01:00
Emile Anclin
36935b394d cleanup: we don't support python 2.2 anymore 2010-11-08 14:22:19 +01:00
Sylvain Thénault
0af504b46b use generic disable / enable methods and inline option 2010-04-19 11:18:08 +02:00
Sylvain Thénault
b629af106e d-t-w 2010-04-16 17:52:38 +02:00
Emile Anclin
9edcbd9419 copyright update : date up 2010 2010-03-23 11:39:48 +01:00
Sylvain Thénault
99d4443eb4 set E0501 line no to the first line where non ascii character has been found 2009-03-23 12:40:04 +01:00
Sylvain Thénault
6adc616ae2 check ChangeLog 2006-05-09 09:55:16 +02:00
root
4becf6f9e5 forget the past.
forget the past.
2006-04-26 10:48:09 +00:00