Skip to content

Fix all flake8 DOC105 issues#957

Merged
ajax146 merged 4 commits intomainfrom
flake8-DOC105
Apr 17, 2024
Merged

Fix all flake8 DOC105 issues#957
ajax146 merged 4 commits intomainfrom
flake8-DOC105

Conversation

@ajax146
Copy link
Contributor

@ajax146 ajax146 commented Apr 17, 2024

DOC105: Argument names match, but type hints do not match

30 issues
./techsupport_bot/bot.py:377:1: DOC105 Method TechSupportBot.get_log_channel_from_guild: Argument names match, but type hints in these args do not match: key
./techsupport_bot/bot.py:678:1: DOC105 Method TechSupportBot.register_file_extension: Argument names match, but type hints in these args do not match: fp
./techsupport_bot/commands/animal.py:23:1: DOC105 Method Animals.cat: Argument names match, but type hints in these args do not match: ctx
./techsupport_bot/commands/burn.py:31:1: DOC105 Method Burn.handle_burn: Argument names match, but type hints in these args do not match: ctx
./techsupport_bot/commands/commandcontrol.py:31:1: DOC105 Method CommandControl.command_group: Argument names match, but type hints in these args do not match: ctx
./techsupport_bot/commands/conch.py:61:1: DOC105 Method MagicConch.conch_command: Argument names match, but type hints in these args do not match: ctx
./techsupport_bot/commands/correct.py:20:1: DOC105 Method Corrector.correct_command: Argument names match, but type hints in these args do not match: ctx
./techsupport_bot/commands/echo.py:29:1: DOC105 Method MessageEcho.echo: Argument names match, but type hints in these args do not match: ctx
./techsupport_bot/commands/embed.py:155:1: DOC105 Method Embedder.process_request: Argument names match, but type hints in these args do not match: request_body
./techsupport_bot/commands/emoji.py:27:1: DOC105 Method Emojis.emoji_from_char: Argument names match, but type hints in these args do not match: char
./techsupport_bot/commands/emoji.py:58:1: DOC105 Method Emojis.generate_emoji_string: Argument names match, but type hints in these args do not match: string, only_emoji
./techsupport_bot/commands/emoji.py:83:1: DOC105 Method Emojis.emoji_commands: Argument names match, but type hints in these args do not match: ctx
./techsupport_bot/commands/extension.py:35:1: DOC105 Method ExtensionControl.extension_group: Argument names match, but type hints in these args do not match: ctx
./techsupport_bot/commands/factoids.py:192:1: DOC105 Method FactoidManager.delete_factoid_call: Argument names match, but type hints in these args do not match: factoid
./techsupport_bot/commands/factoids.py:846:1: DOC105 Method FactoidManager.cronjob: Argument names match, but type hints in these args do not match: job
./techsupport_bot/commands/hello.py:19:1: DOC105 Method Greeter.hello_command: Argument names match, but type hints in these args do not match: ctx
./techsupport_bot/commands/htd.py:134:1: DOC105 Method Htd.htd: Argument names match, but type hints in these args do not match: ctx, val_to_convert
./techsupport_bot/commands/htd.py:289:1: DOC105 Method Htd.htd_command: Argument names match, but type hints in these args do not match: ctx
./techsupport_bot/commands/relay.py:498:1: DOC105 Method DiscordToIRC.handle_dm_from_irc: Argument names match, but type hints in these args do not match: event
./techsupport_bot/commands/role.py:17:1: DOC105 Function setup: Argument names match, but type hints in these args do not match: bot
./techsupport_bot/commands/role.py:210:1: DOC105 Method RoleGiver.check_permissions: Argument names match, but type hints in these args do not match: roles
./techsupport_bot/commands/roll.py:27:1: DOC105 Method Roller.roll: Argument names match, but type hints in these args do not match: ctx
./techsupport_bot/commands/set.py:32:1: DOC105 Method Setter.set_group: Argument names match, but type hints in these args do not match: ctx
./techsupport_bot/commands/sync.py:31:1: DOC105 Method AppCommandSync.sync_slash_commands: Argument names match, but type hints in these args do not match: ctx
./techsupport_bot/core/auxiliary.py:44:1: DOC105 Function search_channel_for_message: Argument names match, but type hints in these args do not match: channel
./techsupport_bot/core/auxiliary.py:142:1: DOC105 Function send_deny_embed: Argument names match, but type hints in these args do not match: author
./techsupport_bot/core/auxiliary.py:180:1: DOC105 Function send_confirm_embed: Argument names match, but type hints in these args do not match: author
./techsupport_bot/tests/helpers/channel.py:21:1: DOC105 Method MockChannel.history: Argument names match, but type hints in these args do not match: limit
./techsupport_bot/tests/helpers/message.py:24:1: DOC105 Method MockMessage.add_reaction: Argument names match, but type hints in these args do not match: reaction
./techsupport_bot/ui/pagination.py:27:1: DOC105 Method PaginateView.send: Argument names match, but type hints in these args do not match: interaction

@ajax146 ajax146 merged commit d2b551b into main Apr 17, 2024
@ajax146 ajax146 deleted the flake8-DOC105 branch May 7, 2024 21:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant