edgewall/trac

View on GitHub

Showing 1,048 of 1,370 total issues

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

    def __init__(self, name, type='text', size=None, key_size=None,
Severity: Minor
Found in trac/db/schema.py - About 35 mins to fix

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

        def __init__(self, pool, cnx, key, tid, log=None):
    Severity: Minor
    Found in trac/db/pool.py - About 35 mins to fix

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

          def require(self, action, realm_or_resource=None, id=False, version=False,
      Severity: Minor
      Found in trac/web/main.py - About 35 mins to fix

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

        def get_relative_url(env, resource, href, path='', **kwargs):
        Severity: Minor
        Found in trac/resource.py - About 35 mins to fix

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

              def get(self, section, option, raw=False, vars=None,
          Severity: Minor
          Found in trac/config.py - About 35 mins to fix

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

                def _do_send(self, transport, event, message, cc_addrs, bcc_addrs):
            Severity: Minor
            Found in trac/notification/mail.py - About 35 mins to fix

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

                  def require(self, action, realm_or_resource=None, id=False, version=False,
              Severity: Minor
              Found in trac/test.py - About 35 mins to fix

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

                    def __init__(self, realm, category, target, time, author=""):
                Severity: Minor
                Found in trac/notification/api.py - About 35 mins to fix

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

                  def assemble_pg_dsn(path, user=None, password=None, host=None, port=None):
                  Severity: Minor
                  Found in trac/db/postgres_backend.py - About 35 mins to fix

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

                        def getlist(self, section, key, default='', sep=',', keep_empty=False):
                    Severity: Minor
                    Found in trac/config.py - About 35 mins to fix

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

                          def move(cls, env, rule_id, priority, sid=None, authenticated=None):
                      Severity: Minor
                      Found in trac/notification/model.py - About 35 mins to fix

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

                        def set_header(message, key, value=None, charset=None, addresses=None):
                        Severity: Minor
                        Found in trac/notification/mail.py - About 35 mins to fix

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

                              def require(self, action, realm_or_resource=None, id=False, version=False,
                          Severity: Minor
                          Found in trac/perm.py - About 35 mins to fix

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

                                def render(self, context, mimetype, content, filename=None, rev=None):
                            Severity: Minor
                            Found in trac/mimeview/txtl.py - About 35 mins to fix

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

                                  def send_converted(self, req, in_type, content, selector, filename='file'):
                              Severity: Minor
                              Found in trac/mimeview/api.py - About 35 mins to fix

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

                                    def render(self, context, mimetype, content, filename=None, url=None):
                                Severity: Minor
                                Found in trac/mimeview/api.py - About 35 mins to fix

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

                                      def trac_get_reference(env, context, rawtext, target, text):
                                  Severity: Minor
                                  Found in trac/mimeview/rst.py - About 35 mins to fix

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

                                    def get_session_attribute(env, sid, authenticated, name, default=None):
                                    Severity: Minor
                                    Found in trac/web/session.py - About 35 mins to fix

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

                                          def prepare_template(self, req, filename, data, text=False, domain=None):
                                      Severity: Minor
                                      Found in trac/web/chrome.py - About 35 mins to fix

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

                                            def render(self, context, mimetype, content, filename=None, url=None):
                                        Severity: Minor
                                        Found in trac/mimeview/api.py - About 35 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language