Release-Candidate/tzolkin-calendar

View on GitHub

Showing 4 of 4 total issues

File tzolkin.py has 374 lines of code (exceeds 250 allowed). Consider refactoring.
Open

# SPDX-License-Identifier: MIT
# Copyright (C) 2021 Roland Csaszar
#
# Project:  tzolkin-calendar
# File:     tzolkin.py
Severity: Minor
Found in tzolkin_calendar/tzolkin.py - About 5 hrs to fix

    File calculate.py has 302 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    # SPDX-License-Identifier: MIT
    # Copyright (C) 2021 Roland Csaszar
    #
    # Project:  tzolkin-calendar
    # File:     calculate.py
    Severity: Minor
    Found in tzolkin_calendar/calculate.py - About 3 hrs to fix

      File main.py has 291 lines of code (exceeds 250 allowed). Consider refactoring.
      Open

      # SPDX-License-Identifier: MIT
      # Copyright (C) 2021 Roland Csaszar
      #
      # Project:  tzolkin-calendar
      # File:     main.py
      Severity: Minor
      Found in tzolkin_calendar/main.py - About 3 hrs to fix

        Tzolkin has 25 functions (exceeds 20 allowed). Consider refactoring.
        Open

        class Tzolkin:
            """A representation of a Tzolkin date.
            Use to do calculations and conversions from and to gregorian dates to Tzolkin dates
            and search for days.
            """
        Severity: Minor
        Found in tzolkin_calendar/tzolkin.py - About 2 hrs to fix
          Severity
          Category
          Status
          Source
          Language