소스 검색

Remove useless __all__ from commands and tasks.

tags/v0.1^2
Ben Kurtovic 14 년 전
부모
커밋
844e3a5f8e
35개의 변경된 파일과 0개의 추가작업 그리고 70개의 파일을 삭제
  1. +0
    -2
      earwigbot/commands/afc_pending.py
  2. +0
    -2
      earwigbot/commands/afc_report.py
  3. +0
    -2
      earwigbot/commands/afc_status.py
  4. +0
    -2
      earwigbot/commands/afc_submissions.py
  5. +0
    -2
      earwigbot/commands/calc.py
  6. +0
    -2
      earwigbot/commands/chanops.py
  7. +0
    -2
      earwigbot/commands/crypt.py
  8. +0
    -2
      earwigbot/commands/ctcp.py
  9. +0
    -2
      earwigbot/commands/editcount.py
  10. +0
    -2
      earwigbot/commands/geolocate.py
  11. +0
    -2
      earwigbot/commands/git.py
  12. +0
    -2
      earwigbot/commands/help.py
  13. +0
    -2
      earwigbot/commands/langcode.py
  14. +0
    -2
      earwigbot/commands/link.py
  15. +0
    -2
      earwigbot/commands/notes.py
  16. +0
    -2
      earwigbot/commands/praise.py
  17. +0
    -2
      earwigbot/commands/quit.py
  18. +0
    -2
      earwigbot/commands/registration.py
  19. +0
    -2
      earwigbot/commands/remind.py
  20. +0
    -2
      earwigbot/commands/replag.py
  21. +0
    -2
      earwigbot/commands/rights.py
  22. +0
    -2
      earwigbot/commands/test.py
  23. +0
    -2
      earwigbot/commands/threads.py
  24. +0
    -2
      earwigbot/commands/time.py
  25. +0
    -2
      earwigbot/commands/trout.py
  26. +0
    -2
      earwigbot/tasks/afc_catdelink.py
  27. +0
    -2
      earwigbot/tasks/afc_copyvios.py
  28. +0
    -2
      earwigbot/tasks/afc_dailycats.py
  29. +0
    -2
      earwigbot/tasks/afc_history.py
  30. +0
    -2
      earwigbot/tasks/afc_statistics.py
  31. +0
    -2
      earwigbot/tasks/afc_undated.py
  32. +0
    -2
      earwigbot/tasks/blp_tag.py
  33. +0
    -2
      earwigbot/tasks/image_display_resize.py
  34. +0
    -2
      earwigbot/tasks/wikiproject_tagger.py
  35. +0
    -2
      earwigbot/tasks/wrong_mime.py

+ 0
- 2
earwigbot/commands/afc_pending.py 파일 보기

@@ -22,8 +22,6 @@


from earwigbot.commands import Command from earwigbot.commands import Command


__all__ = ["AFCPending"]

class AFCPending(Command): class AFCPending(Command):
"""Link the user to the pending AFC submissions page and category.""" """Link the user to the pending AFC submissions page and category."""
name = "pending" name = "pending"


+ 0
- 2
earwigbot/commands/afc_report.py 파일 보기

@@ -23,8 +23,6 @@
from earwigbot import wiki from earwigbot import wiki
from earwigbot.commands import Command from earwigbot.commands import Command


__all__ = ["AFCReport"]

class AFCReport(Command): class AFCReport(Command):
"""Get information about an AFC submission by name.""" """Get information about an AFC submission by name."""
name = "report" name = "report"


+ 0
- 2
earwigbot/commands/afc_status.py 파일 보기

@@ -24,8 +24,6 @@ import re


from earwigbot.commands import Command from earwigbot.commands import Command


__all__ = ["AFCStatus"]

class AFCStatus(Command): class AFCStatus(Command):
"""Get the number of pending AfC submissions, open redirect requests, and """Get the number of pending AfC submissions, open redirect requests, and
open file upload requests.""" open file upload requests."""


+ 0
- 2
earwigbot/commands/afc_submissions.py 파일 보기

@@ -22,8 +22,6 @@


from earwigbot.commands import Command from earwigbot.commands import Command


__all__ = ["AFCSubmissions"]

class AFCSubmissions(Command): class AFCSubmissions(Command):
"""Link the user directly to some pending AFC submissions.""" """Link the user directly to some pending AFC submissions."""
name = "submissions" name = "submissions"


+ 0
- 2
earwigbot/commands/calc.py 파일 보기

@@ -25,8 +25,6 @@ import urllib


from earwigbot.commands import Command from earwigbot.commands import Command


__all__ = ["Calc"]

class Calc(Command): class Calc(Command):
"""A somewhat advanced calculator: see http://futureboy.us/fsp/frink.fsp """A somewhat advanced calculator: see http://futureboy.us/fsp/frink.fsp
for details.""" for details."""


+ 0
- 2
earwigbot/commands/chanops.py 파일 보기

@@ -22,8 +22,6 @@


from earwigbot.commands import Command from earwigbot.commands import Command


__all__ = ["ChanOps"]

class ChanOps(Command): class ChanOps(Command):
"""Voice, devoice, op, or deop users in the channel, or join or part from """Voice, devoice, op, or deop users in the channel, or join or part from
other channels.""" other channels."""


+ 0
- 2
earwigbot/commands/crypt.py 파일 보기

@@ -26,8 +26,6 @@ from Crypto.Cipher import Blowfish


from earwigbot.commands import Command from earwigbot.commands import Command


__all__ = ["Crypt"]

class Crypt(Command): class Crypt(Command):
"""Provides hash functions with !hash (!hash list for supported algorithms) """Provides hash functions with !hash (!hash list for supported algorithms)
and Blowfish encryption with !encrypt and !decrypt.""" and Blowfish encryption with !encrypt and !decrypt."""


+ 0
- 2
earwigbot/commands/ctcp.py 파일 보기

@@ -26,8 +26,6 @@ import time
from earwigbot import __version__ from earwigbot import __version__
from earwigbot.commands import Command from earwigbot.commands import Command


__all__ = ["CTCP"]

class CTCP(Command): class CTCP(Command):
"""Not an actual command; this module implements responses to the CTCP """Not an actual command; this module implements responses to the CTCP
requests PING, TIME, and VERSION.""" requests PING, TIME, and VERSION."""


+ 0
- 2
earwigbot/commands/editcount.py 파일 보기

@@ -25,8 +25,6 @@ from urllib import quote_plus
from earwigbot import exceptions from earwigbot import exceptions
from earwigbot.commands import Command from earwigbot.commands import Command


__all__ = ["Editcount"]

class Editcount(Command): class Editcount(Command):
"""Return a user's edit count.""" """Return a user's edit count."""
name = "editcount" name = "editcount"


+ 0
- 2
earwigbot/commands/geolocate.py 파일 보기

@@ -25,8 +25,6 @@ import urllib2


from earwigbot.commands import Command from earwigbot.commands import Command


__all__ = ["Geolocate"]

class Geolocate(Command): class Geolocate(Command):
"""Geolocate an IP address (via http://ipinfodb.com/).""" """Geolocate an IP address (via http://ipinfodb.com/)."""
name = "geolocate" name = "geolocate"


+ 0
- 2
earwigbot/commands/git.py 파일 보기

@@ -26,8 +26,6 @@ import git


from earwigbot.commands import Command from earwigbot.commands import Command


__all__ = ["Git"]

class Git(Command): class Git(Command):
"""Commands to interface with the bot's git repository; use '!git' for a """Commands to interface with the bot's git repository; use '!git' for a
sub-command list.""" sub-command list."""


+ 0
- 2
earwigbot/commands/help.py 파일 보기

@@ -24,8 +24,6 @@ import re


from earwigbot.commands import Command from earwigbot.commands import Command


__all__ = ["Help"]

class Help(Command): class Help(Command):
"""Displays help information.""" """Displays help information."""
name = "help" name = "help"


+ 0
- 2
earwigbot/commands/langcode.py 파일 보기

@@ -22,8 +22,6 @@


from earwigbot.commands import Command from earwigbot.commands import Command


__all__ = ["Langcode"]

class Langcode(Command): class Langcode(Command):
"""Convert a language code into its name and a list of WMF sites in that """Convert a language code into its name and a list of WMF sites in that
language.""" language."""


+ 0
- 2
earwigbot/commands/link.py 파일 보기

@@ -25,8 +25,6 @@ from urllib import quote


from earwigbot.commands import Command from earwigbot.commands import Command


__all__ = ["Link"]

class Link(Command): class Link(Command):
"""Convert a Wikipedia page name into a URL.""" """Convert a Wikipedia page name into a URL."""
name = "link" name = "link"


+ 0
- 2
earwigbot/commands/notes.py 파일 보기

@@ -22,8 +22,6 @@


from earwigbot.commands import Command from earwigbot.commands import Command


__all__ = ["Notes"]

class Notes(Command): class Notes(Command):
"""A mini IRC-based wiki for storing notes, tips, and reminders.""" """A mini IRC-based wiki for storing notes, tips, and reminders."""
name = "notes" name = "notes"


+ 0
- 2
earwigbot/commands/praise.py 파일 보기

@@ -22,8 +22,6 @@


from earwigbot.commands import Command from earwigbot.commands import Command


__all__ = ["Praise"]

class Praise(Command): class Praise(Command):
"""Praise people!""" """Praise people!"""
name = "praise" name = "praise"


+ 0
- 2
earwigbot/commands/quit.py 파일 보기

@@ -22,8 +22,6 @@


from earwigbot.commands import Command from earwigbot.commands import Command


__all__ = ["Quit"]

class Quit(Command): class Quit(Command):
"""Quit, restart, or reload components from the bot. Only the owners can """Quit, restart, or reload components from the bot. Only the owners can
run this command.""" run this command."""


+ 0
- 2
earwigbot/commands/registration.py 파일 보기

@@ -25,8 +25,6 @@ import time
from earwigbot import exceptions from earwigbot import exceptions
from earwigbot.commands import Command from earwigbot.commands import Command


__all__ = ["Registration"]

class Registration(Command): class Registration(Command):
"""Return when a user registered.""" """Return when a user registered."""
name = "registration" name = "registration"


+ 0
- 2
earwigbot/commands/remind.py 파일 보기

@@ -25,8 +25,6 @@ import time


from earwigbot.commands import Command from earwigbot.commands import Command


__all__ = ["Remind"]

class Remind(Command): class Remind(Command):
"""Set a message to be repeated to you in a certain amount of time.""" """Set a message to be repeated to you in a certain amount of time."""
name = "remind" name = "remind"


+ 0
- 2
earwigbot/commands/replag.py 파일 보기

@@ -26,8 +26,6 @@ import oursql


from earwigbot.commands import Command from earwigbot.commands import Command


__all__ = ["Replag"]

class Replag(Command): class Replag(Command):
"""Return the replag for a specific database on the Toolserver.""" """Return the replag for a specific database on the Toolserver."""
name = "replag" name = "replag"


+ 0
- 2
earwigbot/commands/rights.py 파일 보기

@@ -23,8 +23,6 @@
from earwigbot import exceptions from earwigbot import exceptions
from earwigbot.commands import Command from earwigbot.commands import Command


__all__ = ["Rights"]

class Rights(Command): class Rights(Command):
"""Retrieve a list of rights for a given username.""" """Retrieve a list of rights for a given username."""
name = "rights" name = "rights"


+ 0
- 2
earwigbot/commands/test.py 파일 보기

@@ -24,8 +24,6 @@ import random


from earwigbot.commands import Command from earwigbot.commands import Command


__all__ = ["Test"]

class Test(Command): class Test(Command):
"""Test the bot!""" """Test the bot!"""
name = "test" name = "test"


+ 0
- 2
earwigbot/commands/threads.py 파일 보기

@@ -25,8 +25,6 @@ import re


from earwigbot.commands import Command from earwigbot.commands import Command


__all__ = ["Threads"]

class Threads(Command): class Threads(Command):
"""Manage wiki tasks from IRC, and check on thread status.""" """Manage wiki tasks from IRC, and check on thread status."""
name = "threads" name = "threads"


+ 0
- 2
earwigbot/commands/time.py 파일 보기

@@ -31,8 +31,6 @@ except ImportError:


from earwigbot.commands import Command from earwigbot.commands import Command


__all__ = ["Time"]

class Time(Command): class Time(Command):
"""Report the current time in any timezone (UTC default), or in beats.""" """Report the current time in any timezone (UTC default), or in beats."""
name = "time" name = "time"


+ 0
- 2
earwigbot/commands/trout.py 파일 보기

@@ -24,8 +24,6 @@ from unicodedata import normalize


from earwigbot.commands import Command from earwigbot.commands import Command


__all__ = ["Trout"]

class Trout(Command): class Trout(Command):
"""Slap someone with a trout, or related fish.""" """Slap someone with a trout, or related fish."""
name = "trout" name = "trout"


+ 0
- 2
earwigbot/tasks/afc_catdelink.py 파일 보기

@@ -22,8 +22,6 @@


from earwigbot.tasks import Task from earwigbot.tasks import Task


__all__ = ["AFCCatDelink"]

class AFCCatDelink(Task): class AFCCatDelink(Task):
"""A task to delink mainspace categories in declined [[WP:AFC]] """A task to delink mainspace categories in declined [[WP:AFC]]
submissions.""" submissions."""


+ 0
- 2
earwigbot/tasks/afc_copyvios.py 파일 보기

@@ -28,8 +28,6 @@ import oursql


from earwigbot.tasks import Task from earwigbot.tasks import Task


__all__ = ["AFCCopyvios"]

class AFCCopyvios(Task): class AFCCopyvios(Task):
"""A task to check newly-edited [[WP:AFC]] submissions for copyright """A task to check newly-edited [[WP:AFC]] submissions for copyright
violations.""" violations."""


+ 0
- 2
earwigbot/tasks/afc_dailycats.py 파일 보기

@@ -22,8 +22,6 @@


from earwigbot.tasks import Task from earwigbot.tasks import Task


__all__ = ["AFCDailyCats"]

class AFCDailyCats(Task): class AFCDailyCats(Task):
""" A task to create daily categories for [[WP:AFC]].""" """ A task to create daily categories for [[WP:AFC]]."""
name = "afc_dailycats" name = "afc_dailycats"


+ 0
- 2
earwigbot/tasks/afc_history.py 파일 보기

@@ -34,8 +34,6 @@ import oursql
from earwigbot import wiki from earwigbot import wiki
from earwigbot.tasks import Task from earwigbot.tasks import Task


__all__ = ["AFCHistory"]

class AFCHistory(Task): class AFCHistory(Task):
"""A task to generate charts about AfC submissions over time. """A task to generate charts about AfC submissions over time.




+ 0
- 2
earwigbot/tasks/afc_statistics.py 파일 보기

@@ -32,8 +32,6 @@ from earwigbot import exceptions
from earwigbot import wiki from earwigbot import wiki
from earwigbot.tasks import Task from earwigbot.tasks import Task


__all__ = ["AFCStatistics"]

class AFCStatistics(Task): class AFCStatistics(Task):
"""A task to generate statistics for WikiProject Articles for Creation. """A task to generate statistics for WikiProject Articles for Creation.




+ 0
- 2
earwigbot/tasks/afc_undated.py 파일 보기

@@ -22,8 +22,6 @@


from earwigbot.tasks import Task from earwigbot.tasks import Task


__all__ = ["AFCUndated"]

class AFCUndated(Task): class AFCUndated(Task):
"""A task to clear [[Category:Undated AfC submissions]].""" """A task to clear [[Category:Undated AfC submissions]]."""
name = "afc_undated" name = "afc_undated"


+ 0
- 2
earwigbot/tasks/blp_tag.py 파일 보기

@@ -22,8 +22,6 @@


from earwigbot.tasks import Task from earwigbot.tasks import Task


__all__ = ["BLPTag"]

class BLPTag(Task): class BLPTag(Task):
"""A task to add |blp=yes to ``{{WPB}}`` or ``{{WPBS}}`` when it is used """A task to add |blp=yes to ``{{WPB}}`` or ``{{WPBS}}`` when it is used
along with ``{{WP Biography}}``.""" along with ``{{WP Biography}}``."""


+ 0
- 2
earwigbot/tasks/image_display_resize.py 파일 보기

@@ -22,8 +22,6 @@


from earwigbot.tasks import Task from earwigbot.tasks import Task


__all__ = ["ImageDisplayResize"]

class ImageDisplayResize(Task): class ImageDisplayResize(Task):
"""A task to resize upscaled portraits in infoboxes.""" """A task to resize upscaled portraits in infoboxes."""
name = "image_display_resize" name = "image_display_resize"


+ 0
- 2
earwigbot/tasks/wikiproject_tagger.py 파일 보기

@@ -22,8 +22,6 @@


from earwigbot.tasks import Task from earwigbot.tasks import Task


__all__ = ["WikiProjectTagger"]

class WikiProjectTagger(Task): class WikiProjectTagger(Task):
"""A task to tag talk pages with WikiProject Banners.""" """A task to tag talk pages with WikiProject Banners."""
name = "wikiproject_tagger" name = "wikiproject_tagger"


+ 0
- 2
earwigbot/tasks/wrong_mime.py 파일 보기

@@ -22,8 +22,6 @@


from earwigbot.tasks import Task from earwigbot.tasks import Task


__all__ = ["WrongMIME"]

class WrongMIME(Task): class WrongMIME(Task):
"""A task to tag files whose extensions do not agree with their MIME """A task to tag files whose extensions do not agree with their MIME
type.""" type."""


불러오는 중...
취소
저장