-
-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PyLint for Improved Code Quality - tests/tracking_validator.py #329
Comments
tests/tracking_validator.py:10:0: C0301: Line too long (152/100) (line-too-long) |
************* Module tests.tracking_validator
tests/tracking_validator.py:227:0: C0325: Unnecessary parens after 'if' keyword (superfluous-parens)
tests/tracking_validator.py:272:0: C0301: Line too long (103/100) (line-too-long)
tests/tracking_validator.py:290:0: C0301: Line too long (118/100) (line-too-long)
tests/tracking_validator.py:302:0: C0301: Line too long (123/100) (line-too-long)
tests/tracking_validator.py:314:0: C0301: Line too long (123/100) (line-too-long)
tests/tracking_validator.py:326:0: C0301: Line too long (123/100) (line-too-long)
tests/tracking_validator.py:333:0: C0301: Line too long (107/100) (line-too-long)
tests/tracking_validator.py:346:0: C0301: Line too long (104/100) (line-too-long)
tests/tracking_validator.py:366:0: C0301: Line too long (120/100) (line-too-long)
tests/tracking_validator.py:373:0: C0301: Line too long (106/100) (line-too-long)
tests/tracking_validator.py:461:0: C0301: Line too long (104/100) (line-too-long)
tests/tracking_validator.py:488:0: C0301: Line too long (116/100) (line-too-long)
tests/tracking_validator.py:489:0: C0303: Trailing whitespace (trailing-whitespace)
tests/tracking_validator.py:544:0: C0303: Trailing whitespace (trailing-whitespace)
tests/tracking_validator.py:559:0: C0301: Line too long (103/100) (line-too-long)
tests/tracking_validator.py:575:0: C0301: Line too long (115/100) (line-too-long)
tests/tracking_validator.py:666:0: C0301: Line too long (102/100) (line-too-long)
tests/tracking_validator.py:165:0: R0912: Too many branches (41/12) (too-many-branches)
tests/tracking_validator.py:165:0: R0915: Too many statements (156/50) (too-many-statements)
tests/tracking_validator.py:408:0: C0116: Missing function or method docstring (missing-function-docstring)
tests/tracking_validator.py:408:0: R0914: Too many local variables (26/15) (too-many-locals)
tests/tracking_validator.py:513:4: W0621: Redefining name 'ex' from outer scope (line 9) (redefined-outer-name)
tests/tracking_validator.py:513:11: W0718: Catching too general exception Exception (broad-exception-caught)
tests/tracking_validator.py:420:23: E1101: Module 'json' has no 'loads' member (no-member)
tests/tracking_validator.py:452:15: R1714: Consider merging these comparisons with 'in' by using 'entry_country_code in ('', '-')'. Use a set instead if elements are hashable. (consider-using-in)
tests/tracking_validator.py:455:48: R1734: Consider using [] instead of list() (use-list-literal)
tests/tracking_validator.py:460:81: R1734: Consider using [] instead of list() (use-list-literal)
tests/tracking_validator.py:477:19: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
tests/tracking_validator.py:493:34: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
tests/tracking_validator.py:408:0: R0912: Too many branches (16/12) (too-many-branches)
tests/tracking_validator.py:408:0: R0915: Too many statements (64/50) (too-many-statements)
tests/tracking_validator.py:517:0: C0116: Missing function or method docstring (missing-function-docstring)
tests/tracking_validator.py:518:4: W0622: Redefining built-in 'dir' (redefined-builtin)
tests/tracking_validator.py:521:16: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
tests/tracking_validator.py:523:20: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
tests/tracking_validator.py:527:9: W1514: Using open without explicitly specifying an encoding (unspecified-encoding)
tests/tracking_validator.py:528:16: E1101: Module 'json' has no 'load' member (no-member)
tests/tracking_validator.py:532:0: C0116: Missing function or method docstring (missing-function-docstring)
tests/tracking_validator.py:532:0: R0914: Too many local variables (25/15) (too-many-locals)
tests/tracking_validator.py:540:21: R1735: Consider using '{}' instead of a call to 'dict'. (use-dict-literal)
tests/tracking_validator.py:557:34: R1735: Consider using '{}' instead of a call to 'dict'. (use-dict-literal)
tests/tracking_validator.py:603:32: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
tests/tracking_validator.py:532:0: R0912: Too many branches (16/12) (too-many-branches)
tests/tracking_validator.py:532:0: R0915: Too many statements (63/50) (too-many-statements)
tests/tracking_validator.py:602:28: W0612: Unused variable 'analytics_should_count' (unused-variable)
tests/tracking_validator.py:634:0: C0116: Missing function or method docstring (missing-function-docstring)
tests/tracking_validator.py:634:0: R0914: Too many local variables (17/15) (too-many-locals)
tests/tracking_validator.py:647:21: W0612: Unused variable 'website_url_content' (unused-variable)
tests/tracking_validator.py:705:0: C0116: Missing function or method docstring (missing-function-docstring)
tests/tracking_validator.py:705:0: R0914: Too many local variables (17/15) (too-many-locals)
tests/tracking_validator.py:718:21: W0612: Unused variable 'website_url_content' (unused-variable)
tests/tracking_validator.py:779:0: C0116: Missing function or method docstring (missing-function-docstring)
tests/tracking_validator.py:810:4: W0621: Redefining name 'ex' from outer scope (line 9) (redefined-outer-name)
tests/tracking_validator.py:785:20: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
tests/tracking_validator.py:810:11: W0718: Catching too general exception Exception (broad-exception-caught)
tests/tracking_validator.py:815:11: W0718: Catching too general exception Exception (broad-exception-caught)
tests/tracking_validator.py:820:11: W0718: Catching too general exception Exception (broad-exception-caught)
tests/tracking_validator.py:792:5: W0612: Unused variable 'result_folder_name' (unused-variable)
tests/tracking_validator.py:825:16: C0103: Argument name "langCode" doesn't conform to snake_case naming style (invalid-name)
tests/tracking_validator.py:851:0: C0116: Missing function or method docstring (missing-function-docstring)
tests/tracking_validator.py:3:0: C0411: standard import "os" should be placed before first party import "models.Rating" (wrong-import-order)
tests/tracking_validator.py:4:0: C0411: standard import "json" should be placed before first party import "models.Rating" (wrong-import-order)
tests/tracking_validator.py:5:0: C0411: third party import "config" should be placed before first party import "models.Rating" (wrong-import-order)
tests/tracking_validator.py:6:0: C0411: standard import "re" should be placed before third party import "config" and first party import "models.Rating" (wrong-import-order)
tests/tracking_validator.py:8:0: C0411: standard import "urllib.parse.urlparse" should be placed before third party import "config" and first party import "models.Rating" (wrong-import-order)
tests/tracking_validator.py:10:0: C0411: standard import "datetime" should be placed before third party import "config" and first party imports "models.Rating", "tests.utils." (wrong-import-order)
tests/tracking_validator.py:12:0: C0411: standard import "gettext" should be placed before third party import "config" and first party imports "models.Rating", "tests.utils.", "tests.sitespeed_base.get_result" (wrong-import-order)
tests/tracking_validator.py:9:0: W0614: Unused import(s) request_timeout, useragent, use_cache, cache_time_delta, hashlib, shutil, sys, socket, ssl, time, requests, urllib, uuid, dns, IP2Location, ip2location_db, ex, googlePageSpeedApiKey, gitHubApiKey, dns_server, change_url_to_test_url, is_file_older_than, get_cache_path, get_cache_file, has_cache_file, clean_cache_files, set_cache_file, httpRequestGetContent, 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, get_country_code_from_ip2location, BeautifulSoup, ParseResult and urlunparse from wildcard import of tests.utils (unused-wildcard-import)
The text was updated successfully, but these errors were encountered: