Unable to import 'discord.ext' Open
from discord.ext import tasks
- Read upRead up
- Exclude checks
Used when pylint has been unable to import a module.
Cannot import 'base_bot' due to syntax error 'invalid syntax (<unknown>, line 222)'</unknown> Open
from base_bot import log
- Read upRead up
- Exclude checks
Used when a syntax error is raised for a module.
Cannot import 'search' due to syntax error 'invalid syntax (<unknown>, line 108)'</unknown> Open
from search import TeamExpander, update_translations
- Read upRead up
- Exclude checks
Used when a syntax error is raised for a module.
Catching too general exception Exception Open
except Exception as e:
- Read upRead up
- Exclude checks
Used when an except catches a too general exception, possibly burying unrelated errors.
Cannot import 'jobs.status_reporter' due to syntax error 'invalid syntax (<unknown>, line 49)'</unknown> Open
from jobs.status_reporter import StatusReporter
- Read upRead up
- Exclude checks
Used when a syntax error is raised for a module.
No name 'status_reporter' in module 'jobs' Open
from jobs.status_reporter import StatusReporter
- Read upRead up
- Exclude checks
Used when a name cannot be found in a module.
Catching too general exception Exception Open
except Exception as e:
- Read upRead up
- Exclude checks
Used when an except catches a too general exception, possibly burying unrelated errors.
Line too long (103/100) Open
discord_client.pet_rescues = [rescue for rescue in discord_client.pet_rescues if rescue.active]
- Read upRead up
- Exclude checks
Used when a line is longer than a given number of characters.
Line too long (119/100) Open
filenames = LANG_FILES + ['World.json', 'User.json', 'Campaign.json', 'Soulforge.json', 'Event.json', 'Store.json']
- Read upRead up
- Exclude checks
Used when a line is longer than a given number of characters.
Missing module docstring Open
import asyncio
- Read upRead up
- Exclude checks
Used when a module has no docstring.Empty modules do not require a docstring.
Line too long (113/100) Open
modified = now - modification_time <= datetime.timedelta(seconds=CONFIG.get('file_update_check_seconds'))
- Read upRead up
- Exclude checks
Used when a line is longer than a given number of characters.
Missing function or method docstring Open
async def task_check_for_news(discord_client):
- Read upRead up
- Exclude checks
Used when a function or method has no docstring.Some special methods like init do not require a docstring.
Variable name e
doesn't conform to snake_case naming style Open
e = discord_client.views.render_pet_rescue(rescue)
- Read upRead up
- Exclude checks
Used when the name doesn't conform to naming rules associated to its type (constant, variable, class...).
Missing function or method docstring Open
async def task_check_for_data_updates(discord_client):
- Read upRead up
- Exclude checks
Used when a function or method has no docstring.Some special methods like init do not require a docstring.
Missing function or method docstring Open
async def task_update_pet_rescues(discord_client):
- Read upRead up
- Exclude checks
Used when a function or method has no docstring.Some special methods like init do not require a docstring.
Variable name e
doesn't conform to snake_case naming style Open
except Exception as e:
- Read upRead up
- Exclude checks
Used when the name doesn't conform to naming rules associated to its type (constant, variable, class...).
Variable name e
doesn't conform to snake_case naming style Open
except Exception as e:
- Read upRead up
- Exclude checks
Used when the name doesn't conform to naming rules associated to its type (constant, variable, class...).
Missing function or method docstring Open
async def task_report_status(discord_client):
- Read upRead up
- Exclude checks
Used when a function or method has no docstring.Some special methods like init do not require a docstring.