YT-Spammer-Purge icon indicating copy to clipboard operation
YT-Spammer-Purge copied to clipboard

test validate_channel_id

Open rachmadaniHaryono opened this issue 2 years ago • 1 comments

Related Issue/Addition to code

Please delete options that are not relevant.

  • Fixes #
  • Issue/Addition to code, goes here.

test validate_channel_id

related discussion https://github.com/ThioJoe/YT-Spammer-Purge/discussions/614

this is only for single url given by @TechStudent11

this pr is only to test url above, but can be expanded to other url format

pyi file is generated with mypy stubgen and modified based on test

test file and pyi file is formatted with black

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • [x] New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Proposed Changes

  • first item on function result can be skipped because because it always pair with (None, None) on second and third items
  • use urllib.parse.urlparse for better url parsing
  • isVideo[0] could raise erroe YT-Spammer-Purge/Scripts/validation.py:109:6 - error: "__getitem__" method not defined on type "bool" (reportGeneralTypeIssues)
  • startIndex possibly unbound
  • maybe split auth when getting channel title for easier testing

see also pyright result below

Additional Info

  • any additional info for context
pyright

No configuration file found.
pyproject.toml file found at /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge.
Loading pyproject.toml file at /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/pyproject.toml
Assuming Python platform Linux
Searching for source files
Found 1 source file
/mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:3:36 - warning: Wildcard import from a library not allowed (reportWildcardImportFromLibrary)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:16:13 - error: "re" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:21:20 - error: "B" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:21:27 - error: "F" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:21:61 - error: "S" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:47:13 - error: "traceback" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:49:24 - error: "B" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:49:31 - error: "F" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:49:48 - error: "S" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:49:54 - error: "F" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:49:100 - error: "S" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:50:24 - error: "F" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:50:70 - error: "S" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:51:59 - error: "F" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:51:87 - error: "S" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:63:22 - error: "B" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:63:29 - error: "F" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:63:63 - error: "S" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:67:22 - error: "B" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:67:29 - error: "F" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:67:63 - error: "S" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:82:8 - error: Operator "<" not supported for types "Unknown | Unbound" and "int | Unbound"
    Operator "<" not supported for types "Unbound" and "Unbound" (reportGeneralTypeIssues)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:82:8 - error: "startIndex" is possibly unbound (reportUnboundVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:82:21 - error: "endIndex" is possibly unbound (reportUnboundVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:82:34 - error: "endIndex" is possibly unbound (reportUnboundVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:83:33 - error: "startIndex" is possibly unbound (reportUnboundVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:83:44 - error: "endIndex" is possibly unbound (reportUnboundVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:88:10 - error: "isolatedPostID" is possibly unbound (reportUnboundVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:88:39 - error: "isolatedPostID" is possibly unbound (reportUnboundVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:89:8 - error: "isolatedPostID" is possibly unbound (reportUnboundVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:90:60 - error: "isolatedPostID" is possibly unbound (reportUnboundVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:91:43 - error: "isolatedPostID" is possibly unbound (reportUnboundVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:94:21 - error: "isolatedPostID" is possibly unbound (reportUnboundVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:109:6 - error: Object of type "None" is not subscriptable (reportOptionalSubscript)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:109:6 - error: "__getitem__" method not defined on type "bool" (reportGeneralTypeIssues)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:110:16 - error: "F" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:110:25 - error: "B" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:110:68 - error: "S" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:133:8 - error: "startIndex" is possibly unbound (reportUnboundVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:136:8 - error: "startIndex" is possibly unbound (reportUnboundVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:137:36 - error: "startIndex" is possibly unbound (reportUnboundVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:150:10 - error: "re" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:151:18 - error: "F" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:151:59 - error: "S" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:159:8 - error: "re" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:163:16 - error: "B" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:163:23 - error: "F" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:163:38 - error: "S" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:172:16 - error: "F" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:172:33 - error: "S" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:176:16 - error: "B" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:176:23 - error: "F" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:176:59 - error: "S" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:187:10 - error: "re" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:184:5 - error: "re" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:192:12 - error: "re" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:189:7 - error: "re" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:189:18 - error: "re" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:191:29 - error: "re" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:208:98 - error: "F" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:208:126 - error: "S" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:210:5 - error: "sys" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:213:16 - error: "B" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:213:23 - error: "F" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:213:40 - error: "S" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:231:26 - error: "B" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:231:33 - error: "F" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:231:50 - error: "S" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:236:22 - error: "B" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:236:29 - error: "F" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:236:46 - error: "S" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:243:20 - error: "B" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:243:27 - error: "F" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:243:44 - error: "S" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:255:20 - error: "B" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:255:27 - error: "F" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:255:44 - error: "S" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:259:18 - error: "B" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:259:25 - error: "F" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:259:42 - error: "S" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:266:10 - error: "os" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:269:18 - error: "B" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:269:25 - error: "F" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:269:42 - error: "S" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:278:18 - error: "B" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:278:25 - error: "F" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:278:42 - error: "S" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:289:20 - error: "B" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:289:27 - error: "F" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:289:44 - error: "S" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:292:14 - error: "videoList" is possibly unbound (reportUnboundVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:293:22 - error: "Unbound" is not iterable (reportGeneralTypeIssues)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:293:22 - error: "videoList" is possibly unbound (reportUnboundVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:295:24 - error: "B" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:295:31 - error: "F" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:295:48 - error: "S" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:299:20 - error: "B" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:299:27 - error: "F" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:299:44 - error: "S" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:309:20 - error: "B" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:309:27 - error: "F" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:309:44 - error: "S" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:322:20 - error: "B" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:322:27 - error: "F" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:322:44 - error: "S" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:325:22 - error: "Unbound" is not iterable (reportGeneralTypeIssues)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:325:22 - error: "channelList" is possibly unbound (reportUnboundVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:327:22 - error: "B" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:327:29 - error: "F" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:327:46 - error: "S" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:339:18 - error: "B" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:339:25 - error: "F" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:339:42 - error: "S" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:351:20 - error: "B" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:351:27 - error: "F" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:351:44 - error: "S" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:355:18 - error: "B" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:355:25 - error: "F" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:355:42 - error: "S" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:366:18 - error: "B" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:366:25 - error: "F" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:366:42 - error: "S" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:438:18 - error: "B" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:438:25 - error: "F" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:438:42 - error: "S" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:464:20 - error: "B" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:464:27 - error: "F" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:464:46 - error: "S" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:466:41 - error: "F" is not defined (reportUndefinedVariable)
  /mnt/ac54dceb-73a5-4f94-b52c-cb7a426c0f29/Documents/YT-Spammer-Purge/Scripts/validation.py:466:69 - error: "S" is not defined (reportUndefinedVariable)
129 errors, 1 warning, 0 informations 
Completed in 0.959sec

Checklist:

  • [x] My code follows the style guidelines of this project and have read CONTRIBUTING.md
  • [x] I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • [x] My changes generate no new warnings
  • [x] I have added tests that prove my fix is effective or that my feature works
  • [x] New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules
  • [x] I have checked my code and corrected any misspellings

Screenshots

Original Updated
** original screenshot ** updated screenshot **

rachmadaniHaryono avatar Feb 15 '22 02:02 rachmadaniHaryono

LGTM✅ @ThioJoe Do you have any issues with this?

ethnh avatar Mar 20 '22 21:03 ethnh