src/booleano/parser/parsers.py
File parsers.py
has 324 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
# -*- coding: utf-8 -*-
# Copyright (c) 2009 by Gustavo Narea <http://gustavonarea.net/>.
# This file is part of Booleano <http://code.gustavonarea.net/booleano/>.
Function define_operation
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def define_operation(self):
Suppress(self._grammar.get_token("group_start"))
Suppress(self._grammar.get_token("group_end"))
# Making the relational operations:
Function define_operand
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def define_operand(self):
"""
Return the syntax definition for an operand.
An operand can be a variable, a string, a number or a set. A set
TODO found Open
Open
# TODO: Avoid doing this:
- Exclude checks
TODO found Open
Open
# TODO: Avoid doing this:
- Exclude checks