Variables
roslint::pep8 Namespace Reference

Variables

string __version__ = '1.6.2'
tuple ARITHMETIC_OP = frozenset(['**', '*', '/', '//', '+', '-'])
list BENCHMARK_KEYS = ['directories', 'files', 'logical lines', 'physical lines']
string DEFAULT_EXCLUDE = '.svn,CVS,.bzr,.hg,.git,__pycache__,.tox'
string DEFAULT_IGNORE = 'E121,E123,E126,E226,E24,E704'
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 NEWLINE = frozenset([tokenize.NL, tokenize.NEWLINE])
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*$')
tuple SINGLETONS = frozenset(['False', 'None', 'True'])
tuple SKIP_COMMENTS = SKIP_TOKENS.union([tokenize.COMMENT, tokenize.ERRORTOKEN])
tuple SKIP_TOKENS = NEWLINE.union([tokenize.INDENT, tokenize.DEDENT])
tuple TESTSUITE_PATH = os.path.join(os.path.dirname(__file__), 'testsuite')
tuple UNARY_OPERATORS = frozenset(['>>', '**', '*', '+', '-'])
tuple USER_CONFIG = os.path.expanduser(r'~\.pep8')
tuple WHITESPACE = frozenset(' \t')
tuple WS_NEEDED_OPERATORS
tuple WS_OPTIONAL_OPERATORS = ARITHMETIC_OP.union(['^', '&', '|', '<<', '>>', '%'])

Variable Documentation

string roslint::pep8::__version__ = '1.6.2'

Definition at line 65 of file pep8.py.

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

Definition at line 92 of file pep8.py.

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

Definition at line 102 of file pep8.py.

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

Definition at line 67 of file pep8.py.

string roslint::pep8::DEFAULT_IGNORE = 'E121,E123,E126,E226,E24,E704'

Definition at line 68 of file pep8.py.

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

Definition at line 107 of file pep8.py.

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

Definition at line 104 of file pep8.py.

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

Definition at line 90 of file pep8.py.

Definition at line 82 of file pep8.py.

tuple roslint::pep8::NEWLINE = frozenset([tokenize.NL, tokenize.NEWLINE])

Definition at line 98 of file pep8.py.

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

Definition at line 80 of file pep8.py.

Definition at line 88 of file pep8.py.

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

Definition at line 105 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 83 of file pep8.py.

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

Definition at line 106 of file pep8.py.

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

Definition at line 89 of file pep8.py.

tuple roslint::pep8::SKIP_COMMENTS = SKIP_TOKENS.union([tokenize.COMMENT, tokenize.ERRORTOKEN])

Definition at line 101 of file pep8.py.

tuple roslint::pep8::SKIP_TOKENS = NEWLINE.union([tokenize.INDENT, tokenize.DEDENT])

Definition at line 99 of file pep8.py.

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

Definition at line 81 of file pep8.py.

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

Definition at line 91 of file pep8.py.

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

Definition at line 71 of file pep8.py.

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

Definition at line 97 of file pep8.py.

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

Definition at line 94 of file pep8.py.

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

Definition at line 93 of file pep8.py.



roslint
Author(s): Mike Purvis, Jack O'Quin
autogenerated on Fri May 3 2019 02:48:51