john-kurkowski / tldextract

Accurately separates a URL’s subdomain, domain, and public suffix, using the Public Suffix List (PSL).
BSD 3-Clause "New" or "Revised" License
1.81k stars 211 forks source link

Disallow untyped calls and defs #256

Closed john-kurkowski closed 2 years ago

john-kurkowski commented 2 years ago

Hot off the heels of #255 …

Continue to allow untyped defs in tests, where the majority of errors are test functions (which pytest picks up by inspecting the function name).