Replace usage of the term 'blacklist' in the context of ignored files
and directories (--ignore and --ignore-patterns), except in cases where
backward compatibility is needed. In documentation and help, supplement
'ignore' with 'skip'; in code use the term 'ignore list'.
This commit adds a new `notes-rgx` which is used by the "fixme" check for more
granular control over the what fixme messages to emit.
Co-authored-by: Claudiu Popa <pcmanticore@gmail.com>
Quoting PEP-8:
In Python, single-quoted strings and double-quoted strings are the same. This PEP does not make a recommendation for this. Pick a rule and stick to it. When a string contains single or double quote characters, however, use the other one to avoid backslashes in the string. It improves readability.
For triple-quoted strings, always use double quote characters to be consistent with the docstring convention in PEP 257.
Features:
Accounts for strings where the delimiter is swapped so an internal quote doesn't need to be escaped
Only errors on those lines that represent the module's minority delimiter.
Ignores longstrings (they could be docstrings, and checking those delimiters is someone else's responsibility)
Added threading.local to ignored classes default list
Note that the implementation names for Python 2/3 are used (threading.local is an alias).
Also changed related places for consistency.
- added Changelog to docs
- added list of contributors to docs
- updated CONTRIBUTORS info
- slight formating changes in Changelog
- updated auto-generated man page and example pylintrc
--HG--
branch : docs-improvements2
- added Changelog to docs
- added list of contributors to docs
- updated CONTRIBUTORS info
- slight formating changes in Changelog
- updated auto-generated man page and example pylintrc
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?