diff --git a/earwigbot/commands/afc_pending.py b/earwigbot/commands/afc_pending.py index 7c6c72f..2baa02e 100644 --- a/earwigbot/commands/afc_pending.py +++ b/earwigbot/commands/afc_pending.py @@ -22,8 +22,6 @@ from earwigbot.commands import Command -__all__ = ["AFCPending"] - class AFCPending(Command): """Link the user to the pending AFC submissions page and category.""" name = "pending" diff --git a/earwigbot/commands/afc_report.py b/earwigbot/commands/afc_report.py index db9a952..379a745 100644 --- a/earwigbot/commands/afc_report.py +++ b/earwigbot/commands/afc_report.py @@ -23,8 +23,6 @@ from earwigbot import wiki from earwigbot.commands import Command -__all__ = ["AFCReport"] - class AFCReport(Command): """Get information about an AFC submission by name.""" name = "report" diff --git a/earwigbot/commands/afc_status.py b/earwigbot/commands/afc_status.py index c03da85..06cf529 100644 --- a/earwigbot/commands/afc_status.py +++ b/earwigbot/commands/afc_status.py @@ -24,8 +24,6 @@ import re from earwigbot.commands import Command -__all__ = ["AFCStatus"] - class AFCStatus(Command): """Get the number of pending AfC submissions, open redirect requests, and open file upload requests.""" diff --git a/earwigbot/commands/afc_submissions.py b/earwigbot/commands/afc_submissions.py index d20722e..783bd9e 100644 --- a/earwigbot/commands/afc_submissions.py +++ b/earwigbot/commands/afc_submissions.py @@ -22,8 +22,6 @@ from earwigbot.commands import Command -__all__ = ["AFCSubmissions"] - class AFCSubmissions(Command): """Link the user directly to some pending AFC submissions.""" name = "submissions" diff --git a/earwigbot/commands/calc.py b/earwigbot/commands/calc.py index 17aee65..94d1528 100644 --- a/earwigbot/commands/calc.py +++ b/earwigbot/commands/calc.py @@ -25,8 +25,6 @@ import urllib from earwigbot.commands import Command -__all__ = ["Calc"] - class Calc(Command): """A somewhat advanced calculator: see http://futureboy.us/fsp/frink.fsp for details.""" diff --git a/earwigbot/commands/chanops.py b/earwigbot/commands/chanops.py index 7d48670..530e4f7 100644 --- a/earwigbot/commands/chanops.py +++ b/earwigbot/commands/chanops.py @@ -22,8 +22,6 @@ from earwigbot.commands import Command -__all__ = ["ChanOps"] - class ChanOps(Command): """Voice, devoice, op, or deop users in the channel, or join or part from other channels.""" diff --git a/earwigbot/commands/crypt.py b/earwigbot/commands/crypt.py index ff0c07a..d0fa8a5 100644 --- a/earwigbot/commands/crypt.py +++ b/earwigbot/commands/crypt.py @@ -26,8 +26,6 @@ from Crypto.Cipher import Blowfish from earwigbot.commands import Command -__all__ = ["Crypt"] - class Crypt(Command): """Provides hash functions with !hash (!hash list for supported algorithms) and Blowfish encryption with !encrypt and !decrypt.""" diff --git a/earwigbot/commands/ctcp.py b/earwigbot/commands/ctcp.py index 13f35d7..9b3f7cf 100644 --- a/earwigbot/commands/ctcp.py +++ b/earwigbot/commands/ctcp.py @@ -26,8 +26,6 @@ import time from earwigbot import __version__ from earwigbot.commands import Command -__all__ = ["CTCP"] - class CTCP(Command): """Not an actual command; this module implements responses to the CTCP requests PING, TIME, and VERSION.""" diff --git a/earwigbot/commands/editcount.py b/earwigbot/commands/editcount.py index 856e982..f798ea1 100644 --- a/earwigbot/commands/editcount.py +++ b/earwigbot/commands/editcount.py @@ -25,8 +25,6 @@ from urllib import quote_plus from earwigbot import exceptions from earwigbot.commands import Command -__all__ = ["Editcount"] - class Editcount(Command): """Return a user's edit count.""" name = "editcount" diff --git a/earwigbot/commands/geolocate.py b/earwigbot/commands/geolocate.py index 370f26f..58095ee 100644 --- a/earwigbot/commands/geolocate.py +++ b/earwigbot/commands/geolocate.py @@ -25,8 +25,6 @@ import urllib2 from earwigbot.commands import Command -__all__ = ["Geolocate"] - class Geolocate(Command): """Geolocate an IP address (via http://ipinfodb.com/).""" name = "geolocate" diff --git a/earwigbot/commands/git.py b/earwigbot/commands/git.py index 4c2a29c..f43e9b5 100644 --- a/earwigbot/commands/git.py +++ b/earwigbot/commands/git.py @@ -26,8 +26,6 @@ import git from earwigbot.commands import Command -__all__ = ["Git"] - class Git(Command): """Commands to interface with the bot's git repository; use '!git' for a sub-command list.""" diff --git a/earwigbot/commands/help.py b/earwigbot/commands/help.py index 80b92a0..741681f 100644 --- a/earwigbot/commands/help.py +++ b/earwigbot/commands/help.py @@ -24,8 +24,6 @@ import re from earwigbot.commands import Command -__all__ = ["Help"] - class Help(Command): """Displays help information.""" name = "help" diff --git a/earwigbot/commands/langcode.py b/earwigbot/commands/langcode.py index 43142c3..885fe40 100644 --- a/earwigbot/commands/langcode.py +++ b/earwigbot/commands/langcode.py @@ -22,8 +22,6 @@ from earwigbot.commands import Command -__all__ = ["Langcode"] - class Langcode(Command): """Convert a language code into its name and a list of WMF sites in that language.""" diff --git a/earwigbot/commands/link.py b/earwigbot/commands/link.py index 7799b0f..0b54554 100644 --- a/earwigbot/commands/link.py +++ b/earwigbot/commands/link.py @@ -25,8 +25,6 @@ from urllib import quote from earwigbot.commands import Command -__all__ = ["Link"] - class Link(Command): """Convert a Wikipedia page name into a URL.""" name = "link" diff --git a/earwigbot/commands/notes.py b/earwigbot/commands/notes.py index 29d387f..3720385 100644 --- a/earwigbot/commands/notes.py +++ b/earwigbot/commands/notes.py @@ -22,8 +22,6 @@ from earwigbot.commands import Command -__all__ = ["Notes"] - class Notes(Command): """A mini IRC-based wiki for storing notes, tips, and reminders.""" name = "notes" diff --git a/earwigbot/commands/praise.py b/earwigbot/commands/praise.py index 13ce35e..03b3ff4 100644 --- a/earwigbot/commands/praise.py +++ b/earwigbot/commands/praise.py @@ -22,8 +22,6 @@ from earwigbot.commands import Command -__all__ = ["Praise"] - class Praise(Command): """Praise people!""" name = "praise" diff --git a/earwigbot/commands/quit.py b/earwigbot/commands/quit.py index 6b165b2..da4a5dc 100644 --- a/earwigbot/commands/quit.py +++ b/earwigbot/commands/quit.py @@ -22,8 +22,6 @@ from earwigbot.commands import Command -__all__ = ["Quit"] - class Quit(Command): """Quit, restart, or reload components from the bot. Only the owners can run this command.""" diff --git a/earwigbot/commands/registration.py b/earwigbot/commands/registration.py index cd498c1..54e648c 100644 --- a/earwigbot/commands/registration.py +++ b/earwigbot/commands/registration.py @@ -25,8 +25,6 @@ import time from earwigbot import exceptions from earwigbot.commands import Command -__all__ = ["Registration"] - class Registration(Command): """Return when a user registered.""" name = "registration" diff --git a/earwigbot/commands/remind.py b/earwigbot/commands/remind.py index 3a44e3c..20704b9 100644 --- a/earwigbot/commands/remind.py +++ b/earwigbot/commands/remind.py @@ -25,8 +25,6 @@ import time from earwigbot.commands import Command -__all__ = ["Remind"] - class Remind(Command): """Set a message to be repeated to you in a certain amount of time.""" name = "remind" diff --git a/earwigbot/commands/replag.py b/earwigbot/commands/replag.py index bb970aa..349ebd0 100644 --- a/earwigbot/commands/replag.py +++ b/earwigbot/commands/replag.py @@ -26,8 +26,6 @@ import oursql from earwigbot.commands import Command -__all__ = ["Replag"] - class Replag(Command): """Return the replag for a specific database on the Toolserver.""" name = "replag" diff --git a/earwigbot/commands/rights.py b/earwigbot/commands/rights.py index f768ff7..95a8029 100644 --- a/earwigbot/commands/rights.py +++ b/earwigbot/commands/rights.py @@ -23,8 +23,6 @@ from earwigbot import exceptions from earwigbot.commands import Command -__all__ = ["Rights"] - class Rights(Command): """Retrieve a list of rights for a given username.""" name = "rights" diff --git a/earwigbot/commands/test.py b/earwigbot/commands/test.py index 7ea9545..a6210a2 100644 --- a/earwigbot/commands/test.py +++ b/earwigbot/commands/test.py @@ -24,8 +24,6 @@ import random from earwigbot.commands import Command -__all__ = ["Test"] - class Test(Command): """Test the bot!""" name = "test" diff --git a/earwigbot/commands/threads.py b/earwigbot/commands/threads.py index 8166433..c254ee7 100644 --- a/earwigbot/commands/threads.py +++ b/earwigbot/commands/threads.py @@ -25,8 +25,6 @@ import re from earwigbot.commands import Command -__all__ = ["Threads"] - class Threads(Command): """Manage wiki tasks from IRC, and check on thread status.""" name = "threads" diff --git a/earwigbot/commands/time.py b/earwigbot/commands/time.py index 78eed82..48f3743 100644 --- a/earwigbot/commands/time.py +++ b/earwigbot/commands/time.py @@ -31,8 +31,6 @@ except ImportError: from earwigbot.commands import Command -__all__ = ["Time"] - class Time(Command): """Report the current time in any timezone (UTC default), or in beats.""" name = "time" diff --git a/earwigbot/commands/trout.py b/earwigbot/commands/trout.py index fd203c9..d0d495b 100644 --- a/earwigbot/commands/trout.py +++ b/earwigbot/commands/trout.py @@ -24,8 +24,6 @@ from unicodedata import normalize from earwigbot.commands import Command -__all__ = ["Trout"] - class Trout(Command): """Slap someone with a trout, or related fish.""" name = "trout" diff --git a/earwigbot/tasks/afc_catdelink.py b/earwigbot/tasks/afc_catdelink.py index 21e23a3..63d9c69 100644 --- a/earwigbot/tasks/afc_catdelink.py +++ b/earwigbot/tasks/afc_catdelink.py @@ -22,8 +22,6 @@ from earwigbot.tasks import Task -__all__ = ["AFCCatDelink"] - class AFCCatDelink(Task): """A task to delink mainspace categories in declined [[WP:AFC]] submissions.""" diff --git a/earwigbot/tasks/afc_copyvios.py b/earwigbot/tasks/afc_copyvios.py index 5f72ea8..afcb7f9 100644 --- a/earwigbot/tasks/afc_copyvios.py +++ b/earwigbot/tasks/afc_copyvios.py @@ -28,8 +28,6 @@ import oursql from earwigbot.tasks import Task -__all__ = ["AFCCopyvios"] - class AFCCopyvios(Task): """A task to check newly-edited [[WP:AFC]] submissions for copyright violations.""" diff --git a/earwigbot/tasks/afc_dailycats.py b/earwigbot/tasks/afc_dailycats.py index 200e5c7..5a50239 100644 --- a/earwigbot/tasks/afc_dailycats.py +++ b/earwigbot/tasks/afc_dailycats.py @@ -22,8 +22,6 @@ from earwigbot.tasks import Task -__all__ = ["AFCDailyCats"] - class AFCDailyCats(Task): """ A task to create daily categories for [[WP:AFC]].""" name = "afc_dailycats" diff --git a/earwigbot/tasks/afc_history.py b/earwigbot/tasks/afc_history.py index 7a0582a..e23498e 100644 --- a/earwigbot/tasks/afc_history.py +++ b/earwigbot/tasks/afc_history.py @@ -34,8 +34,6 @@ import oursql from earwigbot import wiki from earwigbot.tasks import Task -__all__ = ["AFCHistory"] - class AFCHistory(Task): """A task to generate charts about AfC submissions over time. diff --git a/earwigbot/tasks/afc_statistics.py b/earwigbot/tasks/afc_statistics.py index be6d95a..9efe581 100644 --- a/earwigbot/tasks/afc_statistics.py +++ b/earwigbot/tasks/afc_statistics.py @@ -32,8 +32,6 @@ from earwigbot import exceptions from earwigbot import wiki from earwigbot.tasks import Task -__all__ = ["AFCStatistics"] - class AFCStatistics(Task): """A task to generate statistics for WikiProject Articles for Creation. diff --git a/earwigbot/tasks/afc_undated.py b/earwigbot/tasks/afc_undated.py index a483766..e3da071 100644 --- a/earwigbot/tasks/afc_undated.py +++ b/earwigbot/tasks/afc_undated.py @@ -22,8 +22,6 @@ from earwigbot.tasks import Task -__all__ = ["AFCUndated"] - class AFCUndated(Task): """A task to clear [[Category:Undated AfC submissions]].""" name = "afc_undated" diff --git a/earwigbot/tasks/blp_tag.py b/earwigbot/tasks/blp_tag.py index 57ce94e..de4c996 100644 --- a/earwigbot/tasks/blp_tag.py +++ b/earwigbot/tasks/blp_tag.py @@ -22,8 +22,6 @@ from earwigbot.tasks import Task -__all__ = ["BLPTag"] - class BLPTag(Task): """A task to add |blp=yes to ``{{WPB}}`` or ``{{WPBS}}`` when it is used along with ``{{WP Biography}}``.""" diff --git a/earwigbot/tasks/image_display_resize.py b/earwigbot/tasks/image_display_resize.py index ebf2bdf..d099036 100644 --- a/earwigbot/tasks/image_display_resize.py +++ b/earwigbot/tasks/image_display_resize.py @@ -22,8 +22,6 @@ from earwigbot.tasks import Task -__all__ = ["ImageDisplayResize"] - class ImageDisplayResize(Task): """A task to resize upscaled portraits in infoboxes.""" name = "image_display_resize" diff --git a/earwigbot/tasks/wikiproject_tagger.py b/earwigbot/tasks/wikiproject_tagger.py index 7c3939f..1584ffd 100644 --- a/earwigbot/tasks/wikiproject_tagger.py +++ b/earwigbot/tasks/wikiproject_tagger.py @@ -22,8 +22,6 @@ from earwigbot.tasks import Task -__all__ = ["WikiProjectTagger"] - class WikiProjectTagger(Task): """A task to tag talk pages with WikiProject Banners.""" name = "wikiproject_tagger" diff --git a/earwigbot/tasks/wrong_mime.py b/earwigbot/tasks/wrong_mime.py index c3c9aba..f65c486 100644 --- a/earwigbot/tasks/wrong_mime.py +++ b/earwigbot/tasks/wrong_mime.py @@ -22,8 +22,6 @@ from earwigbot.tasks import Task -__all__ = ["WrongMIME"] - class WrongMIME(Task): """A task to tag files whose extensions do not agree with their MIME type."""