AngellusMortis/sxm-client

View on GitHub

Showing 4 of 6 total issues

File client.py has 773 lines of code (exceeds 250 allowed). Consider refactoring.
Open

import base64
import datetime
import json
import logging
import re
Severity: Major
Found in sxm/client.py - About 1 day to fix

    File models.py has 444 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    from __future__ import annotations
    
    from datetime import datetime, timedelta, timezone
    from enum import Enum
    from typing import List, Optional, Tuple, Union
    Severity: Minor
    Found in sxm/models.py - About 6 hrs to fix

      Avoid too many return statements within this function.
      Open

          return sxm_handler
      Severity: Major
      Found in sxm/http.py - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

                return response
        Severity: Major
        Found in sxm/http.py - About 30 mins to fix
          Severity
          Category
          Status
          Source
          Language