julienmalard/Tinamit

View on GitHub

Showing 188 of 188 total issues

Function __init__ has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

    def __init__(símismo, archivo, color, llenar, alpha):
Severity: Minor
Found in tinamit0/geog/mapa.py - About 35 mins to fix

    Function __init__ has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        def __init__(símismo, nombre: str, plataforma: str, versión: str, url: str):
    Severity: Minor
    Found in src/tinamit/instalador.py - About 35 mins to fix

      Function combin_datos has 5 arguments (exceeds 4 allowed). Consider refactoring.
      Open

          def combin_datos(símismo, f_inic, f_final, vars_clima):
      Severity: Minor
      Found in tinamit0/mod/clima.py - About 35 mins to fix

        Function __init__ has 5 arguments (exceeds 4 allowed). Consider refactoring.
        Open

            def __init__(
        Severity: Minor
        Found in src/tinamit/hilo.py - About 35 mins to fix

          Function __init__ has 5 arguments (exceeds 4 allowed). Consider refactoring.
          Open

              def __init__(símismo, obj, nombre, lugares=None, fechas=None):
          Severity: Minor
          Found in tinamit0/datos/fuente.py - About 35 mins to fix

            Function conectar has 5 arguments (exceeds 4 allowed). Consider refactoring.
            Open

                def conectar(símismo, var_mds, var_bf, mds_fuente, conv=None):
            Severity: Minor
            Found in tinamit0/conect/_mod.py - About 35 mins to fix

              Function _buscar has 5 arguments (exceeds 4 allowed). Consider refactoring.
              Open

                  def _buscar(símismo, var_fuente, modelo_fuente, modelo_recip, var_recip):
              Severity: Minor
              Found in tinamit0/conect/_conex.py - About 35 mins to fix

                Function gen_res has 5 arguments (exceeds 4 allowed). Consider refactoring.
                Open

                    def gen_res(símismo, nombre, t, vars_interés):
                Severity: Minor
                Found in tinamit0/conect/_vars.py - About 35 mins to fix

                  Function __init__ has 5 arguments (exceeds 4 allowed). Consider refactoring.
                  Open

                      def __init__(
                  Severity: Minor
                  Found in src/tinamit/rebanada.py - About 35 mins to fix

                    Function gen_res has 5 arguments (exceeds 4 allowed). Consider refactoring.
                    Open

                        def gen_res(símismo, nombre, t, vars_interés):
                    Severity: Minor
                    Found in tinamit0/mod/vars_mod.py - About 35 mins to fix

                      Function obt_vals has 5 arguments (exceeds 4 allowed). Consider refactoring.
                      Open

                          def obt_vals(símismo, vars_interés, lugares=None, fechas=None):
                      Severity: Minor
                      Found in tinamit0/datos/fuente.py - About 35 mins to fix

                        Function quitar has 5 arguments (exceeds 4 allowed). Consider refactoring.
                        Open

                            def quitar(símismo, var_fuente, modelo_fuente, modelo_recip, var_recip):
                        Severity: Minor
                        Found in tinamit0/conect/_conex.py - About 35 mins to fix

                          Function conectar_clima has 5 arguments (exceeds 4 allowed). Consider refactoring.
                          Open

                              def conectar_clima(
                          Severity: Minor
                          Found in src/tinamit/modelo.py - About 35 mins to fix

                            Function conectar_var_clima has 5 arguments (exceeds 4 allowed). Consider refactoring.
                            Open

                                def conectar_var_clima(símismo, var, var_clima, conv, combin='prom'):
                            Severity: Minor
                            Found in tinamit0/mod/modelo.py - About 35 mins to fix

                              Function __init__ has 5 arguments (exceeds 4 allowed). Consider refactoring.
                              Open

                                  def __init__(símismo, nombre, variables, lugares=None, fechas=None):
                              Severity: Minor
                              Found in tinamit0/datos/fuente.py - About 35 mins to fix

                                Function agregar_trad has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                Open

                                def agregar_trad(unid, trad, leng_trad, leng_orig=None, guardar=True):
                                Severity: Minor
                                Found in tinamit0/unids/trads.py - About 35 mins to fix

                                  Function __call__ has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                  Open

                                      def __call__(símismo, árbol, var, l_vars=None):
                                  Severity: Minor
                                  Found in tinamit0/calibs/sintx/_vstr.py - About 35 mins to fix

                                    Function __init__ has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                    Open

                                        def __init__(símismo, tmñ_ciclo, variables, nombre='bf'):
                                    Severity: Minor
                                    Found in tinamit0/envolt/bf/_impac.py - About 35 mins to fix

                                      Function comp has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring.
                                      Open

                                          def comp(símismo, x):
                                              comp_1 = símismo.convertir(x.children[0])
                                              comp_2 = símismo.convertir(x.children[2])
                                              op = símismo.convertir(x.children[1])
                                      
                                      
                                      Severity: Minor
                                      Found in tinamit0/calibs/sintx/_vstr_transf.py - About 35 mins to fix

                                      Cognitive Complexity

                                      Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

                                      A method's cognitive complexity is based on a few simple rules:

                                      • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
                                      • Code is considered more complex for each "break in the linear flow of the code"
                                      • Code is considered more complex when "flow breaking structures are nested"

                                      Further reading

                                      Function incrementar has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring.
                                      Open

                                          def incrementar(símismo, rebanada):
                                              def incr_mod(mod, d, reb):
                                                  try:
                                                      mod.incr(reb)
                                                  except BaseException as e:
                                      Severity: Minor
                                      Found in tinamit0/conect/_mod.py - About 35 mins to fix

                                      Cognitive Complexity

                                      Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

                                      A method's cognitive complexity is based on a few simple rules:

                                      • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
                                      • Code is considered more complex for each "break in the linear flow of the code"
                                      • Code is considered more complex when "flow breaking structures are nested"

                                      Further reading

                                      Severity
                                      Category
                                      Status
                                      Source
                                      Language