edgewall/trac

View on GitHub

Showing 1,048 of 1,370 total issues

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

def _format_datetime(t, format, tzinfo, locale, hint):
Severity: Minor
Found in trac/util/datefmt.py - About 35 mins to fix

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

        def wiki_page_changed(self, page, version, t, comment, author):
    Severity: Minor
    Found in trac/wiki/interwiki.py - About 35 mins to fix

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

      def format_to(env, flavor, context, wikidom, **options):
      Severity: Minor
      Found in trac/wiki/formatter.py - About 35 mins to fix

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

            def _make_link(self, ns, target, match, label, fullmatch):
        Severity: Minor
        Found in trac/wiki/formatter.py - About 35 mins to fix

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

              def format(self, text, out, max_depth=6, min_depth=1, shorten=True):
          Severity: Minor
          Found in trac/wiki/formatter.py - About 35 mins to fix

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

                    def dngettext(self, domain, singular, plural, num, **kwargs):
            Severity: Minor
            Found in trac/util/translation.py - About 35 mins to fix

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

                  def _from_database(self, filename, description, size, time, author):
              Severity: Minor
              Found in trac/attachment.py - About 35 mins to fix

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

                def dngettext_noop(domain, singular, plural, num, **kwargs):
                Severity: Minor
                Found in trac/util/translation.py - About 35 mins to fix

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

                          def dtngettext(self, domain, singular, plural, num, **kwargs):
                  Severity: Minor
                  Found in trac/util/translation.py - About 35 mins to fix

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

                        def reparent_all(cls, env, parent_realm, parent_id, new_realm, new_id):
                    Severity: Minor
                    Found in trac/attachment.py - About 35 mins to fix

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

                      def dtngettext_noop(domain, singular, plural, num, **kwargs):
                      Severity: Minor
                      Found in trac/util/translation.py - About 35 mins to fix

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

                        def _as_numeric(numeric_type, s, default, min, max):
                        Severity: Minor
                        Found in trac/util/__init__.py - About 35 mins to fix

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

                          def print_table(data, headers=None, sep='  ', out=None, ambiwidth=None):
                          Severity: Minor
                          Found in trac/util/text.py - About 35 mins to fix

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

                                def __init__(self, path, mode='w', bufsize=-1, encoding='utf-8',
                            Severity: Minor
                            Found in trac/util/__init__.py - About 35 mins to fix

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

                              def create_file(path, data='', mode='w', encoding='utf-8', errors='strict'):
                              Severity: Minor
                              Found in trac/util/__init__.py - About 35 mins to fix

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

                                def copytree(src, dst, symlinks=False, skip=[], overwrite=False):
                                Severity: Minor
                                Found in trac/util/__init__.py - About 35 mins to fix

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

                                      def __init__(self, filename, mode='r', bufsize=-1, encoding='utf-8',
                                  Severity: Minor
                                  Found in trac/util/__init__.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 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 __init__ has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                        Open

                                            def __init__(self, env, username=None, resource=None, cache=None,
                                        Severity: Minor
                                        Found in trac/perm.py - About 35 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language