funilrys / PyFunceble

The tool to check the availability or syntax of domain, IP or URL.
https://pyfunceble.github.io
Apache License 2.0
289 stars 44 forks source link

Added new special rules #345

Closed spirillen closed 6 months ago

spirillen commented 7 months ago

As I worked through https://github.com/mitchellkrogza/phishing/blob/main/add-link I've added new sources to the special rule filter

Fixed a single wording


@funilrys my compiler complained about unresolved references in

# typing
from typing import Optional

# box + Box
from box import Box
...

# dict
regex_active2inactive: dict = {}

...

# super
super().__init__(status)

...
# dict
def __regex_registry_handler(self, regex_registry: dict) -> "ExtraRulesHandler":

...
# isinstance
if isinstance(element, tuple):

...
# tuple
if isinstance(element, tuple):
funilrys commented 6 months ago

@spirillen, which compiler are you talking about?

spirillen commented 6 months ago

@spirillen, which compiler are you talking about?

TBH I don't know which compiler exactly is used with Jetbrain's IntelliJ by default, but these was in the "problem" list, so would just mention them here to you for sharing.