tekulvw/Squid-Plugins

View on GitHub
scheduler/scheduler.py

Summary

Maintainability
A
2 hrs
Test Coverage

File scheduler.py has 269 lines of code (exceeds 250 allowed). Consider refactoring.
Open

import discord
from discord.ext import commands
from cogs.utils import checks
from cogs.utils.dataIO import fileIO
from cogs.utils.chat_formatting import *
Severity: Minor
Found in scheduler/scheduler.py - About 2 hrs to fix

    Do not use bare 'except'
    Open

            except:
    Severity: Minor
    Found in scheduler/scheduler.py by pep8

    When catching exceptions, mention specific exceptions when possible.

    Okay: except Exception:
    Okay: except BaseException:
    E722: except:

    Do not use bare 'except'
    Open

            except:
    Severity: Minor
    Found in scheduler/scheduler.py by pep8

    When catching exceptions, mention specific exceptions when possible.

    Okay: except Exception:
    Okay: except BaseException:
    E722: except:

    There are no issues that match your filters.

    Category
    Status