Skip to content

Commit

Permalink
Fix linting issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
funilrys committed Jan 8, 2023
1 parent d9aa127 commit 02f2dd5
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions PyFunceble/checker/availability/extras/rules.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,21 +82,21 @@ def __init__(self, status: Optional[AvailabilityCheckerStatus] = None) -> None:
r"\.000webhostapp\.com": [
(self.switch_to_down_if_status_code, 410),
],
r"\.24\.eu$": [(self.__switch_to_down_if, 503)],
r"\.altervista\.org$": [(self.__switch_to_down_if, 403)],
r"\.angelfire\.com$": [(self.__switch_to_down_if, 404)],
r"\.blogspot\.": [self.__handle_blogspot],
r"\.canalblog\.com$": [(self.__switch_to_down_if, 404)],
r"\.dr\.ag$": [(self.__switch_to_down_if, 503)],
r"\.fc2\.com$": [self.__handle_fc2_dot_com],
r"\.github\.io$": [(self.__switch_to_down_if, 404)],
r"\.godaddysites\.com$": [(self.__switch_to_down_if, 404)],
r"\.hpg.com.br$": [(self.__switch_to_down_if, 404)],
r"\.imgur\.com$": [self.__handle_imgur_dot_com],
r"\.liveadvert\.com$": [(self.__switch_to_down_if, 404)],
r"\.skyrock\.com$": [(self.__switch_to_down_if, 404)],
r"\.tumblr\.com$": [(self.__switch_to_down_if, 404)],
r"\.wix\.com$": [(self.__switch_to_down_if, 404)],
r"\.24\.eu$": [(self.switch_to_down_if_status_code, 503)],
r"\.altervista\.org$": [(self.switch_to_down_if_status_code, 403)],
r"\.angelfire\.com$": [(self.switch_to_down_if_status_code, 404)],
r"\.blogspot\.": [self.handle_blogspot],
r"\.canalblog\.com$": [(self.switch_to_down_if_status_code, 404)],
r"\.dr\.ag$": [(self.switch_to_down_if_status_code, 503)],
r"\.fc2\.com$": [self.handle_fc2_dot_com],
r"\.github\.io$": [(self.switch_to_down_if_status_code, 404)],
r"\.godaddysites\.com$": [(self.switch_to_down_if_status_code, 404)],
r"\.hpg.com.br$": [(self.switch_to_down_if_status_code, 404)],
r"\.imgur\.com$": [self.handle_imgur_dot_com],
r"\.liveadvert\.com$": [(self.switch_to_down_if_status_code, 404)],
r"\.skyrock\.com$": [(self.switch_to_down_if_status_code, 404)],
r"\.tumblr\.com$": [(self.switch_to_down_if_status_code, 404)],
r"\.wix\.com$": [(self.switch_to_down_if_status_code, 404)],
r"\.wordpress\.com$": [
(self.switch_to_down_if_status_code, 410),
self.handle_wordpress_dot_com,
Expand Down Expand Up @@ -234,7 +234,7 @@ def handle_fc2_dot_com(self) -> "ExtraRulesHandler":

return self

def __handle_imgur_dot_com(self) -> "ExtraRulesHandler":
def handle_imgur_dot_com(self) -> "ExtraRulesHandler":
"""
Handles the :code:`imgur.com` case.
Expand Down

0 comments on commit 02f2dd5

Please sign in to comment.