Variables
roslint::pep8 Namespace Reference

Variables

string __version__ = '1.4.7a0'
tuple ARITHMETIC_OP = frozenset(['**', '*', '/', '//', '+', '-'])
list BENCHMARK_KEYS = ['directories', 'files', 'logical lines', 'physical lines']
tuple DEFAULT_CONFIG = os.path.expanduser(r'~\.pep8')
string DEFAULT_EXCLUDE = '.svn,CVS,.bzr,.hg,.git,__pycache__'
string DEFAULT_IGNORE = 'E123,E226,E24'
tuple ERRORCODE_REGEX = re.compile(r'\b[A-Z]\d{3}\b')
tuple INDENT_REGEX = re.compile(r'([ \t]*)')
tuple KEYWORDS = frozenset(keyword.kwlist + ['print'])
int MAX_LINE_LENGTH = 79
tuple PROJECT_CONFIG = ('setup.cfg', 'tox.ini', '.pep8')
int PyCF_ONLY_AST = 1024
tuple RAISE_COMMA_REGEX = re.compile(r'raise\s+\w+\s*,')
dictionary REPORT_FORMAT
tuple RERAISE_COMMA_REGEX = re.compile(r'raise\s+\w+\s*,\s*\w+\s*,\s*\w+')
tuple SINGLETONS = frozenset(['False', 'None', 'True'])
tuple SKIP_TOKENS
tuple TESTSUITE_PATH = os.path.join(os.path.dirname(__file__), 'testsuite')
tuple UNARY_OPERATORS = frozenset(['>>', '**', '*', '+', '-'])
tuple WHITESPACE = frozenset(' \t')
tuple WS_NEEDED_OPERATORS
tuple WS_OPTIONAL_OPERATORS = ARITHMETIC_OP.union(['^', '&', '|', '<<', '>>', '%'])

Variable Documentation

string roslint::pep8::__version__ = '1.4.7a0'

Definition at line 48 of file pep8.py.

tuple roslint::pep8::ARITHMETIC_OP = frozenset(['**', '*', '/', '//', '+', '-'])

Definition at line 84 of file pep8.py.

list roslint::pep8::BENCHMARK_KEYS = ['directories', 'files', 'logical lines', 'physical lines']

Definition at line 92 of file pep8.py.

tuple roslint::pep8::DEFAULT_CONFIG = os.path.expanduser(r'~\.pep8')

Definition at line 68 of file pep8.py.

string roslint::pep8::DEFAULT_EXCLUDE = '.svn,CVS,.bzr,.hg,.git,__pycache__'

Definition at line 65 of file pep8.py.

string roslint::pep8::DEFAULT_IGNORE = 'E123,E226,E24'

Definition at line 66 of file pep8.py.

tuple roslint::pep8::ERRORCODE_REGEX = re.compile(r'\b[A-Z]\d{3}\b')

Definition at line 97 of file pep8.py.

tuple roslint::pep8::INDENT_REGEX = re.compile(r'([ \t]*)')

Definition at line 94 of file pep8.py.

tuple roslint::pep8::KEYWORDS = frozenset(keyword.kwlist + ['print'])

Definition at line 82 of file pep8.py.

Definition at line 74 of file pep8.py.

tuple roslint::pep8::PROJECT_CONFIG = ('setup.cfg', 'tox.ini', '.pep8')

Definition at line 72 of file pep8.py.

Definition at line 80 of file pep8.py.

tuple roslint::pep8::RAISE_COMMA_REGEX = re.compile(r'raise\s+\w+\s*,')

Definition at line 95 of file pep8.py.

Initial value:
00001 {
00002     'default': '%(path)s:%(row)d:%(col)d: %(code)s %(text)s',
00003     'pylint': '%(path)s:%(row)d: [%(code)s] %(text)s',
00004 }

Definition at line 75 of file pep8.py.

tuple roslint::pep8::RERAISE_COMMA_REGEX = re.compile(r'raise\s+\w+\s*,\s*\w+\s*,\s*\w+')

Definition at line 96 of file pep8.py.

tuple roslint::pep8::SINGLETONS = frozenset(['False', 'None', 'True'])

Definition at line 81 of file pep8.py.

Initial value:
00001 frozenset([tokenize.COMMENT, tokenize.NL, tokenize.NEWLINE,
00002                          tokenize.INDENT, tokenize.DEDENT])

Definition at line 90 of file pep8.py.

tuple roslint::pep8::TESTSUITE_PATH = os.path.join(os.path.dirname(__file__), 'testsuite')

Definition at line 73 of file pep8.py.

tuple roslint::pep8::UNARY_OPERATORS = frozenset(['>>', '**', '*', '+', '-'])

Definition at line 83 of file pep8.py.

tuple roslint::pep8::WHITESPACE = frozenset(' \t')

Definition at line 89 of file pep8.py.

Initial value:
00001 frozenset([
00002     '**=', '*=', '/=', '//=', '+=', '-=', '!=', '<>', '<', '>',
00003     '%=', '^=', '&=', '|=', '==', '<=', '>=', '<<=', '>>=', '='])

Definition at line 86 of file pep8.py.

tuple roslint::pep8::WS_OPTIONAL_OPERATORS = ARITHMETIC_OP.union(['^', '&', '|', '<<', '>>', '%'])

Definition at line 85 of file pep8.py.



roslint
Author(s): Mike Purvis, Jack O'Quin
autogenerated on Mon Oct 6 2014 07:06:19