Description
************* Module tests.software
tests/software.py:56:0: C0301: Line too long (108/100) (line-too-long)
tests/software.py:93:0: C0301: Line too long (378/100) (line-too-long)
tests/software.py:97:0: C0301: Line too long (335/100) (line-too-long)
tests/software.py:100:0: C0301: Line too long (213/100) (line-too-long)
tests/software.py:114:0: C0303: Trailing whitespace (trailing-whitespace)
tests/software.py:165:0: C0301: Line too long (122/100) (line-too-long)
tests/software.py:190:0: C0301: Line too long (112/100) (line-too-long)
tests/software.py:208:0: C0303: Trailing whitespace (trailing-whitespace)
tests/software.py:248:0: C0301: Line too long (124/100) (line-too-long)
tests/software.py:287:0: C0301: Line too long (142/100) (line-too-long)
tests/software.py:309:0: C0301: Line too long (142/100) (line-too-long)
tests/software.py:342:0: C0303: Trailing whitespace (trailing-whitespace)
tests/software.py:347:0: C0301: Line too long (142/100) (line-too-long)
tests/software.py:370:0: C0301: Line too long (142/100) (line-too-long)
tests/software.py:413:0: C0301: Line too long (105/100) (line-too-long)
tests/software.py:423:0: C0301: Line too long (104/100) (line-too-long)
tests/software.py:484:0: C0303: Trailing whitespace (trailing-whitespace)
tests/software.py:563:0: C0303: Trailing whitespace (trailing-whitespace)
tests/software.py:620:0: C0301: Line too long (118/100) (line-too-long)
tests/software.py:624:0: C0301: Line too long (104/100) (line-too-long)
tests/software.py:628:0: C0301: Line too long (283/100) (line-too-long)
tests/software.py:634:0: C0301: Line too long (115/100) (line-too-long)
tests/software.py:637:0: C0301: Line too long (165/100) (line-too-long)
tests/software.py:667:0: C0301: Line too long (161/100) (line-too-long)
tests/software.py:696:30: C0303: Trailing whitespace (trailing-whitespace)
tests/software.py:700:0: C0303: Trailing whitespace (trailing-whitespace)
tests/software.py:718:0: C0303: Trailing whitespace (trailing-whitespace)
tests/software.py:723:0: C0301: Line too long (211/100) (line-too-long)
tests/software.py:754:0: C0303: Trailing whitespace (trailing-whitespace)
tests/software.py:814:0: C0301: Line too long (124/100) (line-too-long)
tests/software.py:827:0: C0303: Trailing whitespace (trailing-whitespace)
tests/software.py:832:0: C0301: Line too long (131/100) (line-too-long)
tests/software.py:843:0: C0301: Line too long (106/100) (line-too-long)
tests/software.py:844:0: C0301: Line too long (146/100) (line-too-long)
tests/software.py:845:0: C0301: Line too long (123/100) (line-too-long)
tests/software.py:887:0: C0301: Line too long (127/100) (line-too-long)
tests/software.py:917:0: C0301: Line too long (126/100) (line-too-long)
tests/software.py:920:0: C0301: Line too long (108/100) (line-too-long)
tests/software.py:935:0: C0301: Line too long (130/100) (line-too-long)
tests/software.py:942:0: C0301: Line too long (115/100) (line-too-long)
tests/software.py:950:0: C0301: Line too long (113/100) (line-too-long)
tests/software.py:965:0: C0301: Line too long (103/100) (line-too-long)
tests/software.py:974:0: C0301: Line too long (125/100) (line-too-long)
tests/software.py:999:0: C0301: Line too long (137/100) (line-too-long)
tests/software.py:1011:0: C0301: Line too long (138/100) (line-too-long)
tests/software.py:1427:0: R0915: Too many statements (59/50) (too-many-statements)
tests/software.py:1427:58: W0613: Unused argument 'origin_domain' (unused-argument)
tests/software.py:1459:12: W0612: Unused variable 'matchNum' (unused-variable)
tests/software.py:1509:0: C0116: Missing function or method docstring (missing-function-docstring)
tests/software.py:1517:0: C0116: Missing function or method docstring (missing-function-docstring)
tests/software.py:1517:0: R0914: Too many local variables (22/15) (too-many-locals)
tests/software.py:1543:16: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
tests/software.py:1545:12: C0103: Variable name "matchNum" doesn't conform to snake_case naming style (invalid-name)
tests/software.py:1556:47: C0121: Comparison 'match_name == None' should be 'match_name is None' (singleton-comparison)
tests/software.py:1558:50: C0121: Comparison 'match_version == None' should be 'match_version is None' (singleton-comparison)
tests/software.py:1517:0: R0912: Too many branches (24/12) (too-many-branches)
tests/software.py:1517:0: R0915: Too many statements (56/50) (too-many-statements)
tests/software.py:1517:67: W0613: Unused argument 'origin_domain' (unused-argument)
tests/software.py:1545:12: W0612: Unused variable 'matchNum' (unused-variable)
tests/software.py:1595:0: C0116: Missing function or method docstring (missing-function-docstring)
tests/software.py:1596:4: W0622: Redefining built-in 'dir' (redefined-builtin)
tests/software.py:1599:16: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
tests/software.py:1601:20: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
tests/software.py:1605:9: W1514: Using open without explicitly specifying an encoding (unspecified-encoding)
tests/software.py:1606:16: E1101: Module 'json' has no 'load' member (no-member)
tests/software.py:1609:16: C0103: Argument name "langCode" doesn't conform to snake_case naming style (invalid-name)
tests/software.py:1633:4: C0206: Consider iterating with .items() (consider-using-dict-items)
tests/software.py:1633:15: C0201: Consider iterating the dictionary directly instead of calling .keys() (consider-iterating-dictionary)
tests/software.py:1637:19: E1101: Module 'json' has no 'dumps' member (no-member)
tests/software.py:5:0: C0411: standard import "hashlib" should be placed before third party imports "PIL.ExifTags.TAGS", "PIL.Image" (wrong-import-order)
tests/software.py:6:0: C0411: standard import "pathlib.Path" should be placed before third party imports "PIL.ExifTags.TAGS", "PIL.Image" (wrong-import-order)
tests/software.py:7:0: C0411: standard import "shutil" should be placed before third party imports "PIL.ExifTags.TAGS", "PIL.Image" (wrong-import-order)
tests/software.py:9:0: C0411: standard import "os" should be placed before third party imports "PIL.ExifTags.TAGS", "PIL.Image" and first party import "models.Rating" (wrong-import-order)
tests/software.py:10:0: C0411: standard import "json" should be placed before third party imports "PIL.ExifTags.TAGS", "PIL.Image" and first party import "models.Rating" (wrong-import-order)
tests/software.py:11:0: C0411: third party import "config" should be placed before first party import "models.Rating" (wrong-import-order)
tests/software.py:12:0: C0411: standard import "re" should be placed before third party imports "PIL.ExifTags.TAGS", "PIL.Image", "config" and first party import "models.Rating" (wrong-import-order)
tests/software.py:14:0: C0411: standard import "urllib.parse.urlparse" should be placed before third party imports "PIL.ExifTags.TAGS", "PIL.Image", "config" and first party import "models.Rating" (wrong-import-order)
tests/software.py:17:0: C0411: standard import "datetime" should be placed before third party imports "PIL.ExifTags.TAGS", "PIL.Image", "config" and first party imports "models.Rating", "tests.utils.", "tests.sitespeed_base.get_result" (wrong-import-order)
tests/software.py:18:0: C0411: third party import "packaging.version" should be placed before first party imports "models.Rating", "tests.utils.", "tests.sitespeed_base.get_result" (wrong-import-order)
tests/software.py:19:0: C0411: standard import "gettext" should be placed before third party imports "PIL.ExifTags.TAGS", "PIL.Image", "config", "packaging.version" and first party imports "models.Rating", "tests.utils.*", "tests.sitespeed_base.get_result" (wrong-import-order)
tests/software.py:3:0: W0611: Unused GPSTAGS imported from PIL.ExifTags (unused-import)
tests/software.py:7:0: W0611: Unused import shutil (unused-import)
tests/software.py:15:0: W0614: Unused import(s) request_timeout, useragent, sys, socket, ssl, time, requests, urllib, uuid, dns, IP2Location, ip2location_db, ex, googlePageSpeedApiKey, gitHubApiKey, dns_server, change_url_to_test_url, get_cache_path, get_cache_file, has_cache_file, clean_cache_files, set_cache_file, get_content_type, get_url_headers, has_redirect, get_guid, convert_to_seconds, is_sitemap, dns_lookup, dns_response_to_list, get_eu_countries, get_exception_countries, is_country_code_in_eu, is_country_code_in_exception_list, is_country_code_in_eu_or_on_exception_list, get_country_code_from_ip2location, get_best_country_code, get_friendly_url_name, BeautifulSoup, ParseResult and urlunparse from wildcard import of tests.utils (unused-wildcard-import)