************* Module config
config.py:52:0: C0303: Trailing whitespace (trailing-whitespace)
config.py:61:0: C0303: Trailing whitespace (trailing-whitespace)
config.py:65:0: C0303: Trailing whitespace (trailing-whitespace)
config.py:69:0: C0303: Trailing whitespace (trailing-whitespace)
config.py:74:0: C0303: Trailing whitespace (trailing-whitespace)
config.py:76:0: C0303: Trailing whitespace (trailing-whitespace)
config.py:80:0: C0303: Trailing whitespace (trailing-whitespace)
config.py:90:0: C0303: Trailing whitespace (trailing-whitespace)
config.py:92:0: C0303: Trailing whitespace (trailing-whitespace)
config.py:95:0: C0303: Trailing whitespace (trailing-whitespace)
config.py:98:0: C0303: Trailing whitespace (trailing-whitespace)
config.py:103:0: C0303: Trailing whitespace (trailing-whitespace)
config.py:106:0: C0303: Trailing whitespace (trailing-whitespace)
config.py:108:0: C0303: Trailing whitespace (trailing-whitespace)
config.py:112:0: C0303: Trailing whitespace (trailing-whitespace)
config.py:122:0: C0303: Trailing whitespace (trailing-whitespace)
config.py:134:0: C0303: Trailing whitespace (trailing-whitespace)
config.py:140:0: C0303: Trailing whitespace (trailing-whitespace)
config.py:142:0: C0303: Trailing whitespace (trailing-whitespace)
config.py:145:0: C0303: Trailing whitespace (trailing-whitespace)
config.py:149:0: C0303: Trailing whitespace (trailing-whitespace)
config.py:153:0: C0303: Trailing whitespace (trailing-whitespace)
config.py:156:0: C0303: Trailing whitespace (trailing-whitespace)
config.py:159:0: C0303: Trailing whitespace (trailing-whitespace)
config.py:163:0: C0303: Trailing whitespace (trailing-whitespace)
config.py:167:0: C0303: Trailing whitespace (trailing-whitespace)
config.py:170:0: C0303: Trailing whitespace (trailing-whitespace)
config.py:173:0: C0303: Trailing whitespace (trailing-whitespace)
config.py:182:0: C0303: Trailing whitespace (trailing-whitespace)
config.py:184:0: C0303: Trailing whitespace (trailing-whitespace)
config.py:187:0: C0303: Trailing whitespace (trailing-whitespace)
config.py:190:0: C0303: Trailing whitespace (trailing-whitespace)
config.py:196:0: C0303: Trailing whitespace (trailing-whitespace)
config.py:206:0: C0303: Trailing whitespace (trailing-whitespace)
config.py:209:0: C0303: Trailing whitespace (trailing-whitespace)
config.py:223:0: C0303: Trailing whitespace (trailing-whitespace)
config.py:227:0: C0303: Trailing whitespace (trailing-whitespace)
config.py:231:0: C0303: Trailing whitespace (trailing-whitespace)
config.py:238:0: C0303: Trailing whitespace (trailing-whitespace)
config.py:243:0: C0303: Trailing whitespace (trailing-whitespace)
config.py:250:0: C0303: Trailing whitespace (trailing-whitespace)
config.py:251:39: C0303: Trailing whitespace (trailing-whitespace)
config.py:254:0: C0303: Trailing whitespace (trailing-whitespace)
config.py:259:0: C0303: Trailing whitespace (trailing-whitespace)
config.py:264:0: C0303: Trailing whitespace (trailing-whitespace)
config.py:268:0: C0303: Trailing whitespace (trailing-whitespace)
config.py:278:0: C0303: Trailing whitespace (trailing-whitespace)
config.py:282:0: C0303: Trailing whitespace (trailing-whitespace)
config.py:296:0: C0303: Trailing whitespace (trailing-whitespace)
config.py:300:0: C0303: Trailing whitespace (trailing-whitespace)
config.py:303:0: C0303: Trailing whitespace (trailing-whitespace)
config.py:305:0: C0303: Trailing whitespace (trailing-whitespace)
config.py:308:0: C0303: Trailing whitespace (trailing-whitespace)
config.py:310:0: C0303: Trailing whitespace (trailing-whitespace)
config.py:314:0: C0303: Trailing whitespace (trailing-whitespace)
config.py:317:0: C0303: Trailing whitespace (trailing-whitespace)
config.py:327:0: C0303: Trailing whitespace (trailing-whitespace)
config.py:330:0: C0303: Trailing whitespace (trailing-whitespace)
config.py:333:0: C0303: Trailing whitespace (trailing-whitespace)
config.py:337:0: C0303: Trailing whitespace (trailing-whitespace)
config.py:343:0: C0303: Trailing whitespace (trailing-whitespace)
config.py:351:0: C0303: Trailing whitespace (trailing-whitespace)
config.py:355:0: C0303: Trailing whitespace (trailing-whitespace)
config.py:362:0: C0303: Trailing whitespace (trailing-whitespace)
config.py:366:0: C0303: Trailing whitespace (trailing-whitespace)
config.py:369:32: C0303: Trailing whitespace (trailing-whitespace)
config.py:373:0: C0303: Trailing whitespace (trailing-whitespace)
config.py:376:0: C0303: Trailing whitespace (trailing-whitespace)
config.py:382:0: C0303: Trailing whitespace (trailing-whitespace)
config.py:397:0: C0303: Trailing whitespace (trailing-whitespace)
config.py:400:0: C0303: Trailing whitespace (trailing-whitespace)
config.py:402:0: C0303: Trailing whitespace (trailing-whitespace)
config.py:426:40: C0303: Trailing whitespace (trailing-whitespace)
config.py:457:0: C0304: Final newline missing (missing-final-newline)
config.py:1:0: C0114: Missing module docstring (missing-module-docstring)
config.py:10:0: C0103: Constant name "config_cache" doesn't conform to UPPER_CASE naming style (invalid-name)
config.py:12:0: C0103: Constant name "config_loaded" doesn't conform to UPPER_CASE naming style (invalid-name)
config.py:48:0: C0115: Missing class docstring (missing-class-docstring)
config.py:51:8: W0602: Using global for 'app_config' but no assignment is done (global-variable-not-assigned)
config.py:51:8: W0602: Using global for 'config_cache' but no assignment is done (global-variable-not-assigned)
config.py:66:4: C0116: Missing function or method docstring (missing-function-docstring)
config.py:68:8: W0603: Using the global statement (global-statement)
config.py:93:23: W0718: Catching too general exception Exception (broad-exception-caught)
config.py:109:4: C0116: Missing function or method docstring (missing-function-docstring)
config.py:111:8: W0602: Using global for 'app_config' but no assignment is done (global-variable-not-assigned)
config.py:143:23: W0718: Catching too general exception Exception (broad-exception-caught)
config.py:146:4: C0116: Missing function or method docstring (missing-function-docstring)
config.py:148:8: W0602: Using global for 'app_config' but no assignment is done (global-variable-not-assigned)
config.py:157:15: W0718: Catching too general exception Exception (broad-exception-caught)
config.py:151:17: W1514: Using open without explicitly specifying an encoding (unspecified-encoding)
config.py:160:4: C0116: Missing function or method docstring (missing-function-docstring)
config.py:162:8: W0602: Using global for 'app_config' but no assignment is done (global-variable-not-assigned)
config.py:188:15: W0718: Catching too general exception Exception (broad-exception-caught)
config.py:191:4: C0116: Missing function or method docstring (missing-function-docstring)
config.py:207:15: W0718: Catching too general exception Exception (broad-exception-caught)
config.py:194:17: W1514: Using open without explicitly specifying an encoding (unspecified-encoding)
config.py:210:4: C0116: Missing function or method docstring (missing-function-docstring)
config.py:224:4: C0116: Missing function or method docstring (missing-function-docstring)
config.py:226:8: W0602: Using global for 'app_config' but no assignment is done (global-variable-not-assigned)
config.py:275:27: W0718: Catching too general exception Exception (broad-exception-caught)
config.py:224:4: R0912: Too many branches (18/12) (too-many-branches)
config.py:279:4: C0116: Missing function or method docstring (missing-function-docstring)
config.py:281:8: W0602: Using global for 'app_config' but no assignment is done (global-variable-not-assigned)
config.py:283:8: R1705: Unnecessary "elif" after "return", remove the leading "el" from "elif" (no-else-return)
config.py:286:12: R1705: Unnecessary "elif" after "return", remove the leading "el" from "elif" (no-else-return)
config.py:297:4: C0116: Missing function or method docstring (missing-function-docstring)
config.py:299:8: W0602: Using global for 'app_config' but no assignment is done (global-variable-not-assigned)
config.py:311:4: C0116: Missing function or method docstring (missing-function-docstring)
config.py:313:8: W0602: Using global for 'app_config' but no assignment is done (global-variable-not-assigned)
config.py:334:15: W0718: Catching too general exception Exception (broad-exception-caught)
config.py:328:17: W1514: Using open without explicitly specifying an encoding (unspecified-encoding)
config.py:338:4: C0116: Missing function or method docstring (missing-function-docstring)
config.py:340:8: W0603: Using the global statement (global-statement)
config.py:344:4: C0116: Missing function or method docstring (missing-function-docstring)
config.py:352:4: C0116: Missing function or method docstring (missing-function-docstring)
config.py:354:8: W0602: Using global for 'app_config' but no assignment is done (global-variable-not-assigned)
config.py:354:8: W0602: Using global for 'config_cache' but no assignment is done (global-variable-not-assigned)
config.py:370:0: C0116: Missing function or method docstring (missing-function-docstring)
config.py:372:4: W0602: Using global for 'app_config' but no assignment is done (global-variable-not-assigned)
config.py:372:4: W0602: Using global for 'config_cache' but no assignment is done (global-variable-not-assigned)
config.py:375:8: W0612: Unused variable 'manager' (unused-variable)
config.py:379:0: C0116: Missing function or method docstring (missing-function-docstring)
config.py:381:4: W0602: Using global for 'app_config' but no assignment is done (global-variable-not-assigned)
config.py:390:11: W0718: Catching too general exception Exception (broad-exception-caught)
config.py:386:8: R1705: Unnecessary "else" after "return", remove the "else" and de-indent the code inside it (no-else-return)
config.py:394:0: C0116: Missing function or method docstring (missing-function-docstring)
config.py:396:4: W0602: Using global for 'app_config' but no assignment is done (global-variable-not-assigned)
config.py:396:4: W0602: Using global for 'temp_config_data' but no assignment is done (global-variable-not-assigned)
config.py:409:0: C0116: Missing function or method docstring (missing-function-docstring)
config.py:413:0: C0116: Missing function or method docstring (missing-function-docstring)
config.py:417:0: C0116: Missing function or method docstring (missing-function-docstring)
config.py:421:0: C0116: Missing function or method docstring (missing-function-docstring)
config.py:425:0: C0116: Missing function or method docstring (missing-function-docstring)
config.py:433:0: C0116: Missing function or method docstring (missing-function-docstring)
config.py:434:4: W0602: Using global for 'app_config' but no assignment is done (global-variable-not-assigned)
config.py:439:0: C0116: Missing function or method docstring (missing-function-docstring)
config.py:440:4: W0603: Using the global statement (global-statement)
config.py:446:0: C0116: Missing function or method docstring (missing-function-docstring)
config.py:448:4: W0603: Using the global statement (global-statement)
************* Module log_analyzer
log_analyzer.py:3:11: C0303: Trailing whitespace (trailing-whitespace)
log_analyzer.py:20:33: C0303: Trailing whitespace (trailing-whitespace)
log_analyzer.py:25:0: C0303: Trailing whitespace (trailing-whitespace)
log_analyzer.py:33:0: C0303: Trailing whitespace (trailing-whitespace)
log_analyzer.py:37:0: C0303: Trailing whitespace (trailing-whitespace)
log_analyzer.py:41:0: C0303: Trailing whitespace (trailing-whitespace)
log_analyzer.py:45:0: C0303: Trailing whitespace (trailing-whitespace)
log_analyzer.py:49:0: C0303: Trailing whitespace (trailing-whitespace)
log_analyzer.py:51:0: C0303: Trailing whitespace (trailing-whitespace)
log_analyzer.py:57:0: C0303: Trailing whitespace (trailing-whitespace)
log_analyzer.py:76:0: C0303: Trailing whitespace (trailing-whitespace)
log_analyzer.py:78:0: C0303: Trailing whitespace (trailing-whitespace)
log_analyzer.py:83:34: C0303: Trailing whitespace (trailing-whitespace)
log_analyzer.py:87:0: C0303: Trailing whitespace (trailing-whitespace)
log_analyzer.py:93:0: C0303: Trailing whitespace (trailing-whitespace)
log_analyzer.py:102:0: C0303: Trailing whitespace (trailing-whitespace)
log_analyzer.py:106:0: C0303: Trailing whitespace (trailing-whitespace)
log_analyzer.py:107:34: C0303: Trailing whitespace (trailing-whitespace)
log_analyzer.py:110:0: C0303: Trailing whitespace (trailing-whitespace)
log_analyzer.py:114:0: C0303: Trailing whitespace (trailing-whitespace)
log_analyzer.py:121:0: C0303: Trailing whitespace (trailing-whitespace)
log_analyzer.py:125:0: C0303: Trailing whitespace (trailing-whitespace)
log_analyzer.py:138:0: C0303: Trailing whitespace (trailing-whitespace)
log_analyzer.py:145:0: C0303: Trailing whitespace (trailing-whitespace)
log_analyzer.py:151:0: C0303: Trailing whitespace (trailing-whitespace)
log_analyzer.py:155:0: C0303: Trailing whitespace (trailing-whitespace)
log_analyzer.py:164:0: C0303: Trailing whitespace (trailing-whitespace)
log_analyzer.py:167:0: C0303: Trailing whitespace (trailing-whitespace)
log_analyzer.py:170:0: C0303: Trailing whitespace (trailing-whitespace)
log_analyzer.py:173:0: C0303: Trailing whitespace (trailing-whitespace)
log_analyzer.py:176:0: C0303: Trailing whitespace (trailing-whitespace)
log_analyzer.py:180:0: C0303: Trailing whitespace (trailing-whitespace)
log_analyzer.py:185:0: C0303: Trailing whitespace (trailing-whitespace)
log_analyzer.py:187:0: C0303: Trailing whitespace (trailing-whitespace)
log_analyzer.py:195:0: C0303: Trailing whitespace (trailing-whitespace)
log_analyzer.py:202:0: C0303: Trailing whitespace (trailing-whitespace)
log_analyzer.py:206:0: C0303: Trailing whitespace (trailing-whitespace)
log_analyzer.py:209:0: C0303: Trailing whitespace (trailing-whitespace)
log_analyzer.py:213:0: C0303: Trailing whitespace (trailing-whitespace)
log_analyzer.py:217:0: C0303: Trailing whitespace (trailing-whitespace)
log_analyzer.py:224:0: C0303: Trailing whitespace (trailing-whitespace)
log_analyzer.py:229:0: C0303: Trailing whitespace (trailing-whitespace)
log_analyzer.py:231:0: C0303: Trailing whitespace (trailing-whitespace)
log_analyzer.py:235:0: C0303: Trailing whitespace (trailing-whitespace)
log_analyzer.py:239:0: C0303: Trailing whitespace (trailing-whitespace)
log_analyzer.py:243:0: C0303: Trailing whitespace (trailing-whitespace)
log_analyzer.py:248:0: C0303: Trailing whitespace (trailing-whitespace)
log_analyzer.py:253:0: C0303: Trailing whitespace (trailing-whitespace)
log_analyzer.py:255:0: C0303: Trailing whitespace (trailing-whitespace)
log_analyzer.py:256:26: C0303: Trailing whitespace (trailing-whitespace)
log_analyzer.py:260:0: C0303: Trailing whitespace (trailing-whitespace)
log_analyzer.py:262:0: C0303: Trailing whitespace (trailing-whitespace)
log_analyzer.py:265:0: C0303: Trailing whitespace (trailing-whitespace)
log_analyzer.py:269:0: C0303: Trailing whitespace (trailing-whitespace)
log_analyzer.py:278:0: C0303: Trailing whitespace (trailing-whitespace)
log_analyzer.py:291:0: C0303: Trailing whitespace (trailing-whitespace)
log_analyzer.py:298:0: C0303: Trailing whitespace (trailing-whitespace)
log_analyzer.py:302:0: C0303: Trailing whitespace (trailing-whitespace)
log_analyzer.py:305:0: C0303: Trailing whitespace (trailing-whitespace)
log_analyzer.py:307:0: C0303: Trailing whitespace (trailing-whitespace)
log_analyzer.py:311:0: C0303: Trailing whitespace (trailing-whitespace)
log_analyzer.py:325:0: C0303: Trailing whitespace (trailing-whitespace)
log_analyzer.py:335:0: C0303: Trailing whitespace (trailing-whitespace)
log_analyzer.py:337:0: C0303: Trailing whitespace (trailing-whitespace)
log_analyzer.py:348:0: C0303: Trailing whitespace (trailing-whitespace)
log_analyzer.py:353:0: C0303: Trailing whitespace (trailing-whitespace)
log_analyzer.py:359:0: C0303: Trailing whitespace (trailing-whitespace)
log_analyzer.py:365:0: C0303: Trailing whitespace (trailing-whitespace)
log_analyzer.py:374:0: C0303: Trailing whitespace (trailing-whitespace)
log_analyzer.py:376:0: C0303: Trailing whitespace (trailing-whitespace)
log_analyzer.py:381:0: C0303: Trailing whitespace (trailing-whitespace)
log_analyzer.py:386:0: C0304: Final newline missing (missing-final-newline)
log_analyzer.py:1:0: C0114: Missing module docstring (missing-module-docstring)
log_analyzer.py:13:0: C0103: Constant name "current_analysis" doesn't conform to UPPER_CASE naming style (invalid-name)
log_analyzer.py:16:0: C0115: Missing class docstring (missing-class-docstring)
log_analyzer.py:27:8: C0103: Attribute name "ERROR_THRESHOLD" doesn't conform to snake_case naming style (invalid-name)
log_analyzer.py:28:8: C0103: Attribute name "WARNING_THRESHOLD" doesn't conform to snake_case naming style (invalid-name)
log_analyzer.py:29:8: C0103: Attribute name "CRITICAL_PATTERNS" doesn't conform to snake_case naming style (invalid-name)
log_analyzer.py:16:0: R0902: Too many instance attributes (9/7) (too-many-instance-attributes)
log_analyzer.py:34:4: C0116: Missing function or method docstring (missing-function-docstring)
log_analyzer.py:34:4: R0914: Too many local variables (25/15) (too-many-locals)
log_analyzer.py:36:8: W0602: Using global for 'analysis_cache' but no assignment is done (global-variable-not-assigned)
log_analyzer.py:36:8: W0602: Using global for 'temp_results' but no assignment is done (global-variable-not-assigned)
log_analyzer.py:152:23: W0718: Catching too general exception Exception (broad-exception-caught)
log_analyzer.py:143:28: W0702: No exception type(s) specified (bare-except)
log_analyzer.py:88:8: R1702: Too many nested blocks (6/5) (too-many-nested-blocks)
log_analyzer.py:193:19: W0718: Catching too general exception Exception (broad-exception-caught)
log_analyzer.py:200:19: W0718: Catching too general exception Exception (broad-exception-caught)
log_analyzer.py:34:4: R0912: Too many branches (32/12) (too-many-branches)
log_analyzer.py:34:4: R0915: Too many statements (96/50) (too-many-statements)
log_analyzer.py:152:16: W0612: Unused variable 'e' (unused-variable)
log_analyzer.py:210:4: C0116: Missing function or method docstring (missing-function-docstring)
log_analyzer.py:232:4: C0116: Missing function or method docstring (missing-function-docstring)
log_analyzer.py:263:15: W0718: Catching too general exception Exception (broad-exception-caught)
log_analyzer.py:266:4: C0116: Missing function or method docstring (missing-function-docstring)
log_analyzer.py:303:19: W0718: Catching too general exception Exception (broad-exception-caught)
log_analyzer.py:296:24: W0702: No exception type(s) specified (bare-except)
log_analyzer.py:303:12: W0612: Unused variable 'e' (unused-variable)
log_analyzer.py:308:4: C0116: Missing function or method docstring (missing-function-docstring)
log_analyzer.py:338:4: C0116: Missing function or method docstring (missing-function-docstring)
log_analyzer.py:342:28: W1309: Using an f-string that does not have any interpolated variables (f-string-without-interpolation)
log_analyzer.py:372:15: W0718: Catching too general exception Exception (broad-exception-caught)
log_analyzer.py:369:17: W1514: Using open without explicitly specifying an encoding (unspecified-encoding)
log_analyzer.py:378:0: C0116: Missing function or method docstring (missing-function-docstring)
log_analyzer.py:379:4: W0602: Using global for 'analysis_cache' but no assignment is done (global-variable-not-assigned)
log_analyzer.py:382:0: C0116: Missing function or method docstring (missing-function-docstring)
log_analyzer.py:383:4: W0603: Using the global statement (global-statement)
log_analyzer.py:3:0: W0611: Unused import json (unused-import)
log_analyzer.py:4:0: W0611: Unused import re (unused-import)
log_analyzer.py:5:0: W0611: Unused timedelta imported from datetime (unused-import)
************* Module log_cleaner
log_cleaner.py:24:0: C0303: Trailing whitespace (trailing-whitespace)
log_cleaner.py:25:40: C0303: Trailing whitespace (trailing-whitespace)
log_cleaner.py:36:0: C0303: Trailing whitespace (trailing-whitespace)
log_cleaner.py:40:0: C0303: Trailing whitespace (trailing-whitespace)
log_cleaner.py:44:0: C0303: Trailing whitespace (trailing-whitespace)
log_cleaner.py:54:0: C0303: Trailing whitespace (trailing-whitespace)
log_cleaner.py:56:0: C0303: Trailing whitespace (trailing-whitespace)
log_cleaner.py:58:0: C0303: Trailing whitespace (trailing-whitespace)
log_cleaner.py:63:0: C0303: Trailing whitespace (trailing-whitespace)
log_cleaner.py:69:0: C0303: Trailing whitespace (trailing-whitespace)
log_cleaner.py:71:0: C0303: Trailing whitespace (trailing-whitespace)
log_cleaner.py:78:0: C0303: Trailing whitespace (trailing-whitespace)
log_cleaner.py:83:0: C0301: Line too long (115/100) (line-too-long)
log_cleaner.py:85:0: C0303: Trailing whitespace (trailing-whitespace)
log_cleaner.py:87:0: C0303: Trailing whitespace (trailing-whitespace)
log_cleaner.py:90:0: C0303: Trailing whitespace (trailing-whitespace)
log_cleaner.py:93:0: C0303: Trailing whitespace (trailing-whitespace)
log_cleaner.py:101:0: C0301: Line too long (107/100) (line-too-long)
log_cleaner.py:103:0: C0303: Trailing whitespace (trailing-whitespace)
log_cleaner.py:106:0: C0301: Line too long (102/100) (line-too-long)
log_cleaner.py:110:0: C0303: Trailing whitespace (trailing-whitespace)
log_cleaner.py:113:0: C0303: Trailing whitespace (trailing-whitespace)
log_cleaner.py:119:0: C0301: Line too long (117/100) (line-too-long)
log_cleaner.py:121:0: C0303: Trailing whitespace (trailing-whitespace)
log_cleaner.py:124:0: C0303: Trailing whitespace (trailing-whitespace)
log_cleaner.py:127:0: C0303: Trailing whitespace (trailing-whitespace)
log_cleaner.py:133:0: C0303: Trailing whitespace (trailing-whitespace)
log_cleaner.py:136:0: C0303: Trailing whitespace (trailing-whitespace)
log_cleaner.py:139:0: C0303: Trailing whitespace (trailing-whitespace)
log_cleaner.py:144:0: C0303: Trailing whitespace (trailing-whitespace)
log_cleaner.py:146:0: C0303: Trailing whitespace (trailing-whitespace)
log_cleaner.py:150:0: C0303: Trailing whitespace (trailing-whitespace)
log_cleaner.py:155:0: C0303: Trailing whitespace (trailing-whitespace)
log_cleaner.py:163:0: C0303: Trailing whitespace (trailing-whitespace)
log_cleaner.py:173:0: C0303: Trailing whitespace (trailing-whitespace)
log_cleaner.py:178:0: C0303: Trailing whitespace (trailing-whitespace)
log_cleaner.py:181:0: C0303: Trailing whitespace (trailing-whitespace)
log_cleaner.py:185:0: C0303: Trailing whitespace (trailing-whitespace)
log_cleaner.py:189:0: C0303: Trailing whitespace (trailing-whitespace)
log_cleaner.py:194:0: C0303: Trailing whitespace (trailing-whitespace)
log_cleaner.py:198:0: C0303: Trailing whitespace (trailing-whitespace)
log_cleaner.py:205:0: C0303: Trailing whitespace (trailing-whitespace)
log_cleaner.py:209:0: C0303: Trailing whitespace (trailing-whitespace)
log_cleaner.py:212:0: C0303: Trailing whitespace (trailing-whitespace)
log_cleaner.py:215:0: C0303: Trailing whitespace (trailing-whitespace)
log_cleaner.py:218:0: C0303: Trailing whitespace (trailing-whitespace)
log_cleaner.py:220:0: C0303: Trailing whitespace (trailing-whitespace)
log_cleaner.py:230:0: C0303: Trailing whitespace (trailing-whitespace)
log_cleaner.py:235:0: C0303: Trailing whitespace (trailing-whitespace)
log_cleaner.py:240:0: C0303: Trailing whitespace (trailing-whitespace)
log_cleaner.py:244:0: C0303: Trailing whitespace (trailing-whitespace)
log_cleaner.py:249:0: C0303: Trailing whitespace (trailing-whitespace)
log_cleaner.py:254:52: C0303: Trailing whitespace (trailing-whitespace)
log_cleaner.py:257:0: C0301: Line too long (109/100) (line-too-long)
log_cleaner.py:260:0: C0301: Line too long (101/100) (line-too-long)
log_cleaner.py:261:0: C0303: Trailing whitespace (trailing-whitespace)
log_cleaner.py:269:0: C0301: Line too long (112/100) (line-too-long)
log_cleaner.py:272:0: C0301: Line too long (103/100) (line-too-long)
log_cleaner.py:273:0: C0303: Trailing whitespace (trailing-whitespace)
log_cleaner.py:276:0: C0303: Trailing whitespace (trailing-whitespace)
log_cleaner.py:281:56: C0303: Trailing whitespace (trailing-whitespace)
log_cleaner.py:283:0: C0303: Trailing whitespace (trailing-whitespace)
log_cleaner.py:287:0: C0303: Trailing whitespace (trailing-whitespace)
log_cleaner.py:297:0: C0303: Trailing whitespace (trailing-whitespace)
log_cleaner.py:308:0: C0303: Trailing whitespace (trailing-whitespace)
log_cleaner.py:311:0: C0303: Trailing whitespace (trailing-whitespace)
log_cleaner.py:317:0: C0303: Trailing whitespace (trailing-whitespace)
log_cleaner.py:332:0: C0303: Trailing whitespace (trailing-whitespace)
log_cleaner.py:335:0: C0303: Trailing whitespace (trailing-whitespace)
log_cleaner.py:340:56: C0303: Trailing whitespace (trailing-whitespace)
log_cleaner.py:342:0: C0303: Trailing whitespace (trailing-whitespace)
log_cleaner.py:360:0: C0303: Trailing whitespace (trailing-whitespace)
log_cleaner.py:364:0: C0303: Trailing whitespace (trailing-whitespace)
log_cleaner.py:372:0: C0303: Trailing whitespace (trailing-whitespace)
log_cleaner.py:377:0: C0303: Trailing whitespace (trailing-whitespace)
log_cleaner.py:379:0: C0303: Trailing whitespace (trailing-whitespace)
log_cleaner.py:384:0: C0303: Trailing whitespace (trailing-whitespace)
log_cleaner.py:389:0: C0303: Trailing whitespace (trailing-whitespace)
log_cleaner.py:391:0: C0303: Trailing whitespace (trailing-whitespace)
log_cleaner.py:396:0: C0303: Trailing whitespace (trailing-whitespace)
log_cleaner.py:409:0: C0303: Trailing whitespace (trailing-whitespace)
log_cleaner.py:420:0: C0303: Trailing whitespace (trailing-whitespace)
log_cleaner.py:428:0: C0303: Trailing whitespace (trailing-whitespace)
log_cleaner.py:430:0: C0304: Final newline missing (missing-final-newline)
log_cleaner.py:1:0: C0114: Missing module docstring (missing-module-docstring)
log_cleaner.py:15:0: C0103: Constant name "temp_cleanup_data" doesn't conform to UPPER_CASE naming style (invalid-name)
log_cleaner.py:17:0: C0115: Missing class docstring (missing-class-docstring)
log_cleaner.py:26:8: C0103: Attribute name "MAX_LOG_AGE_DAYS" doesn't conform to snake_case naming style (invalid-name)
log_cleaner.py:27:8: C0103: Attribute name "MAX_LOG_SIZE_MB" doesn't conform to snake_case naming style (invalid-name)
log_cleaner.py:28:8: C0103: Attribute name "COMPRESS_AGE_DAYS" doesn't conform to snake_case naming style (invalid-name)
log_cleaner.py:29:8: C0103: Attribute name "LOG_DIRS" doesn't conform to snake_case naming style (invalid-name)
log_cleaner.py:38:8: C0103: Attribute name "BYTES_PER_MB" doesn't conform to snake_case naming style (invalid-name)
log_cleaner.py:39:8: C0103: Attribute name "SECONDS_PER_DAY" doesn't conform to snake_case naming style (invalid-name)
log_cleaner.py:17:0: R0902: Too many instance attributes (10/7) (too-many-instance-attributes)
log_cleaner.py:41:4: C0116: Missing function or method docstring (missing-function-docstring)
log_cleaner.py:43:8: W0602: Using global for 'cleanup_stats' but no assignment is done (global-variable-not-assigned)
log_cleaner.py:43:8: W0602: Using global for 'deleted_files' but no assignment is done (global-variable-not-assigned)
log_cleaner.py:43:8: W0602: Using global for 'compressed_files' but no assignment is done (global-variable-not-assigned)
log_cleaner.py:125:15: W0718: Catching too general exception Exception (broad-exception-caught)
log_cleaner.py:88:27: W0718: Catching too general exception Exception (broad-exception-caught)
log_cleaner.py:111:27: W0718: Catching too general exception Exception (broad-exception-caught)
log_cleaner.py:64:8: R1702: Too many nested blocks (6/5) (too-many-nested-blocks)
log_cleaner.py:122:23: W0718: Catching too general exception Exception (broad-exception-caught)
log_cleaner.py:131:15: W0718: Catching too general exception Exception (broad-exception-caught)
log_cleaner.py:41:4: R0912: Too many branches (15/12) (too-many-branches)
log_cleaner.py:41:4: R0915: Too many statements (57/50) (too-many-statements)
log_cleaner.py:140:4: C0116: Missing function or method docstring (missing-function-docstring)
log_cleaner.py:164:15: W0718: Catching too general exception Exception (broad-exception-caught)
log_cleaner.py:157:12: R1705: Unnecessary "else" after "return", remove the "else" and de-indent the code inside it (no-else-return)
log_cleaner.py:170:16: W0702: No exception type(s) specified (bare-except)
log_cleaner.py:174:4: C0116: Missing function or method docstring (missing-function-docstring)
log_cleaner.py:221:15: W0718: Catching too general exception Exception (broad-exception-caught)
log_cleaner.py:191:12: R1732: Consider using 'with' for resource-allocating operations (consider-using-with)
log_cleaner.py:191:12: W1514: Using open without explicitly specifying an encoding (unspecified-encoding)
log_cleaner.py:227:16: W0702: No exception type(s) specified (bare-except)
log_cleaner.py:231:4: C0116: Missing function or method docstring (missing-function-docstring)
log_cleaner.py:274:23: W0718: Catching too general exception Exception (broad-exception-caught)
log_cleaner.py:259:35: W0718: Catching too general exception Exception (broad-exception-caught)
log_cleaner.py:237:8: R1702: Too many nested blocks (6/5) (too-many-nested-blocks)
log_cleaner.py:271:35: W0718: Catching too general exception Exception (broad-exception-caught)
log_cleaner.py:237:8: R1702: Too many nested blocks (7/5) (too-many-nested-blocks)
log_cleaner.py:237:18: W0612: Unused variable 'dirs' (unused-variable)
log_cleaner.py:277:4: C0116: Missing function or method docstring (missing-function-docstring)
log_cleaner.py:309:15: W0718: Catching too general exception Exception (broad-exception-caught)
log_cleaner.py:281:21: W1510: 'subprocess.run' used without explicitly defining the value for 'check'. (subprocess-run-check)
log_cleaner.py:295:28: W0702: No exception type(s) specified (bare-except)
log_cleaner.py:279:8: R1702: Too many nested blocks (6/5) (too-many-nested-blocks)
log_cleaner.py:306:27: W0718: Catching too general exception Exception (broad-exception-caught)
log_cleaner.py:312:4: C0116: Missing function or method docstring (missing-function-docstring)
log_cleaner.py:333:15: W0718: Catching too general exception Exception (broad-exception-caught)
log_cleaner.py:324:23: W0718: Catching too general exception Exception (broad-exception-caught)
log_cleaner.py:320:29: W1510: 'subprocess.run' used without explicitly defining the value for 'check'. (subprocess-run-check)
log_cleaner.py:330:20: W0702: No exception type(s) specified (bare-except)
log_cleaner.py:327:24: W1510: 'subprocess.run' used without explicitly defining the value for 'check'. (subprocess-run-check)
log_cleaner.py:312:36: W0613: Unused argument 'file_path' (unused-argument)
log_cleaner.py:324:16: W0612: Unused variable 'e' (unused-variable)
log_cleaner.py:336:4: C0116: Missing function or method docstring (missing-function-docstring)
log_cleaner.py:361:15: W0718: Catching too general exception Exception (broad-exception-caught)
log_cleaner.py:340:21: W1510: 'subprocess.run' used without explicitly defining the value for 'check'. (subprocess-run-check)
log_cleaner.py:343:12: R1705: Unnecessary "else" after "return", remove the "else" and de-indent the code inside it (no-else-return)
log_cleaner.py:355:28: W0702: No exception type(s) specified (bare-except)
log_cleaner.py:338:8: R1702: Too many nested blocks (7/5) (too-many-nested-blocks)
log_cleaner.py:365:4: C0116: Missing function or method docstring (missing-function-docstring)
log_cleaner.py:370:8: W0702: No exception type(s) specified (bare-except)
log_cleaner.py:368:17: W1514: Using open without explicitly specifying an encoding (unspecified-encoding)
log_cleaner.py:373:4: C0116: Missing function or method docstring (missing-function-docstring)
log_cleaner.py:392:4: C0116: Missing function or method docstring (missing-function-docstring)
log_cleaner.py:394:8: W0602: Using global for 'cleanup_stats' but no assignment is done (global-variable-not-assigned)
log_cleaner.py:397:4: C0116: Missing function or method docstring (missing-function-docstring)
log_cleaner.py:399:8: W0603: Using the global statement (global-statement)
log_cleaner.py:406:0: C0116: Missing function or method docstring (missing-function-docstring)
log_cleaner.py:426:24: W0702: No exception type(s) specified (bare-except)
log_cleaner.py:411:4: R1702: Too many nested blocks (7/5) (too-many-nested-blocks)
log_cleaner.py:413:22: W0612: Unused variable 'dirs' (unused-variable)
log_cleaner.py:6:0: W0611: Unused timedelta imported from datetime (unused-import)
log_cleaner.py:9:0: W0611: Unused import glob (unused-import)
************* Module log_parser
log_parser.py:22:0: C0303: Trailing whitespace (trailing-whitespace)
log_parser.py:27:0: C0301: Line too long (109/100) (line-too-long)
log_parser.py:31:0: C0303: Trailing whitespace (trailing-whitespace)
log_parser.py:37:0: C0303: Trailing whitespace (trailing-whitespace)
log_parser.py:40:0: C0303: Trailing whitespace (trailing-whitespace)
log_parser.py:44:0: C0303: Trailing whitespace (trailing-whitespace)
log_parser.py:48:0: C0303: Trailing whitespace (trailing-whitespace)
log_parser.py:51:0: C0303: Trailing whitespace (trailing-whitespace)
log_parser.py:53:0: C0303: Trailing whitespace (trailing-whitespace)
log_parser.py:57:0: C0303: Trailing whitespace (trailing-whitespace)
log_parser.py:60:0: C0303: Trailing whitespace (trailing-whitespace)
log_parser.py:68:0: C0303: Trailing whitespace (trailing-whitespace)
log_parser.py:72:72: C0303: Trailing whitespace (trailing-whitespace)
log_parser.py:75:0: C0303: Trailing whitespace (trailing-whitespace)
log_parser.py:82:0: C0303: Trailing whitespace (trailing-whitespace)
log_parser.py:87:57: C0303: Trailing whitespace (trailing-whitespace)
log_parser.py:89:0: C0303: Trailing whitespace (trailing-whitespace)
log_parser.py:97:0: C0303: Trailing whitespace (trailing-whitespace)
log_parser.py:100:0: C0303: Trailing whitespace (trailing-whitespace)
log_parser.py:104:0: C0303: Trailing whitespace (trailing-whitespace)
log_parser.py:106:0: C0303: Trailing whitespace (trailing-whitespace)
log_parser.py:110:24: C0303: Trailing whitespace (trailing-whitespace)
log_parser.py:113:0: C0303: Trailing whitespace (trailing-whitespace)
log_parser.py:118:0: C0303: Trailing whitespace (trailing-whitespace)
log_parser.py:127:0: C0303: Trailing whitespace (trailing-whitespace)
log_parser.py:135:0: C0303: Trailing whitespace (trailing-whitespace)
log_parser.py:141:0: C0303: Trailing whitespace (trailing-whitespace)
log_parser.py:146:0: C0303: Trailing whitespace (trailing-whitespace)
log_parser.py:155:0: C0303: Trailing whitespace (trailing-whitespace)
log_parser.py:165:0: C0303: Trailing whitespace (trailing-whitespace)
log_parser.py:170:0: C0303: Trailing whitespace (trailing-whitespace)
log_parser.py:175:0: C0303: Trailing whitespace (trailing-whitespace)
log_parser.py:185:0: C0303: Trailing whitespace (trailing-whitespace)
log_parser.py:190:0: C0303: Trailing whitespace (trailing-whitespace)
log_parser.py:195:0: C0303: Trailing whitespace (trailing-whitespace)
log_parser.py:207:0: C0303: Trailing whitespace (trailing-whitespace)
log_parser.py:211:0: C0303: Trailing whitespace (trailing-whitespace)
log_parser.py:217:0: C0303: Trailing whitespace (trailing-whitespace)
log_parser.py:225:0: C0303: Trailing whitespace (trailing-whitespace)
log_parser.py:230:0: C0303: Trailing whitespace (trailing-whitespace)
log_parser.py:235:0: C0303: Trailing whitespace (trailing-whitespace)
log_parser.py:237:0: C0303: Trailing whitespace (trailing-whitespace)
log_parser.py:240:0: C0303: Trailing whitespace (trailing-whitespace)
log_parser.py:246:0: C0303: Trailing whitespace (trailing-whitespace)
log_parser.py:251:0: C0303: Trailing whitespace (trailing-whitespace)
log_parser.py:266:0: C0303: Trailing whitespace (trailing-whitespace)
log_parser.py:270:0: C0303: Trailing whitespace (trailing-whitespace)
log_parser.py:274:26: C0303: Trailing whitespace (trailing-whitespace)
log_parser.py:283:0: C0303: Trailing whitespace (trailing-whitespace)
log_parser.py:288:0: C0303: Trailing whitespace (trailing-whitespace)
log_parser.py:295:0: C0303: Trailing whitespace (trailing-whitespace)
log_parser.py:320:0: C0304: Final newline missing (missing-final-newline)
log_parser.py:1:0: C0114: Missing module docstring (missing-module-docstring)
log_parser.py:11:0: C0103: Constant name "current_file" doesn't conform to UPPER_CASE naming style (invalid-name)
log_parser.py:12:0: C0103: Constant name "temp_buffer" doesn't conform to UPPER_CASE naming style (invalid-name)
log_parser.py:14:0: C0115: Missing class docstring (missing-class-docstring)
log_parser.py:32:4: C0116: Missing function or method docstring (missing-function-docstring)
log_parser.py:38:8: W0602: Using global for 'parsed_entries' but no assignment is done (global-variable-not-assigned)
log_parser.py:101:15: W0718: Catching too general exception Exception (broad-exception-caught)
log_parser.py:32:4: R0912: Too many branches (14/12) (too-many-branches)
log_parser.py:107:4: C0116: Missing function or method docstring (missing-function-docstring)
log_parser.py:137:8: R1705: Unnecessary "else" after "return", remove the "else" and de-indent the code inside it (no-else-return)
log_parser.py:142:4: C0116: Missing function or method docstring (missing-function-docstring)
log_parser.py:153:12: W0702: No exception type(s) specified (bare-except)
log_parser.py:166:4: C0116: Missing function or method docstring (missing-function-docstring)
log_parser.py:173:12: W0702: No exception type(s) specified (bare-except)
log_parser.py:186:4: C0116: Missing function or method docstring (missing-function-docstring)
log_parser.py:193:12: W0702: No exception type(s) specified (bare-except)
log_parser.py:208:4: C0116: Missing function or method docstring (missing-function-docstring)
log_parser.py:241:4: C0116: Missing function or method docstring (missing-function-docstring)
log_parser.py:244:8: R1705: Unnecessary "else" after "return", remove the "else" and de-indent the code inside it (no-else-return)
log_parser.py:249:12: W0702: No exception type(s) specified (bare-except)
log_parser.py:267:4: C0116: Missing function or method docstring (missing-function-docstring)
log_parser.py:271:8: R1705: Unnecessary "elif" after "return", remove the leading "el" from "elif" (no-else-return)
log_parser.py:284:4: C0116: Missing function or method docstring (missing-function-docstring)
log_parser.py:286:8: W0602: Using global for 'parsed_entries' but no assignment is done (global-variable-not-assigned)
log_parser.py:289:4: C0116: Missing function or method docstring (missing-function-docstring)
log_parser.py:291:8: W0603: Using the global statement (global-statement)
log_parser.py:297:0: C0116: Missing function or method docstring (missing-function-docstring)
log_parser.py:307:0: C0116: Missing function or method docstring (missing-function-docstring)
log_parser.py:315:0: C0116: Missing function or method docstring (missing-function-docstring)
log_parser.py:317:4: W0603: Using the global statement (global-statement)
log_parser.py:6:0: W0611: Unused import time (unused-import)
log_parser.py:7:0: W0611: Unused import sys (unused-import)
************* Module main
main.py:10:32: C0303: Trailing whitespace (trailing-whitespace)
main.py:12:34: C0303: Trailing whitespace (trailing-whitespace)
main.py:30:41: C0303: Trailing whitespace (trailing-whitespace)
main.py:35:0: C0303: Trailing whitespace (trailing-whitespace)
main.py:39:0: C0303: Trailing whitespace (trailing-whitespace)
main.py:47:0: C0303: Trailing whitespace (trailing-whitespace)
main.py:51:0: C0301: Line too long (111/100) (line-too-long)
main.py:52:78: C0303: Trailing whitespace (trailing-whitespace)
main.py:55:0: C0303: Trailing whitespace (trailing-whitespace)
main.py:57:0: C0303: Trailing whitespace (trailing-whitespace)
main.py:60:0: C0303: Trailing whitespace (trailing-whitespace)
main.py:74:0: C0303: Trailing whitespace (trailing-whitespace)
main.py:84:0: C0303: Trailing whitespace (trailing-whitespace)
main.py:85:47: C0303: Trailing whitespace (trailing-whitespace)
main.py:94:0: C0303: Trailing whitespace (trailing-whitespace)
main.py:97:0: C0303: Trailing whitespace (trailing-whitespace)
main.py:105:0: C0303: Trailing whitespace (trailing-whitespace)
main.py:119:0: C0303: Trailing whitespace (trailing-whitespace)
main.py:120:30: C0303: Trailing whitespace (trailing-whitespace)
main.py:134:0: C0303: Trailing whitespace (trailing-whitespace)
main.py:147:0: C0303: Trailing whitespace (trailing-whitespace)
main.py:170:0: C0303: Trailing whitespace (trailing-whitespace)
main.py:176:0: C0301: Line too long (101/100) (line-too-long)
main.py:178:0: C0301: Line too long (105/100) (line-too-long)
main.py:179:0: C0303: Trailing whitespace (trailing-whitespace)
main.py:182:0: C0303: Trailing whitespace (trailing-whitespace)
main.py:196:0: C0304: Final newline missing (missing-final-newline)
main.py:1:0: C0114: Missing module docstring (missing-module-docstring)
main.py:14:0: W0401: Wildcard import utils (wildcard-import)
main.py:15:0: W0401: Wildcard import config (wildcard-import)
main.py:20:0: C0103: Constant name "global_config" doesn't conform to UPPER_CASE naming style (invalid-name)
main.py:22:0: C0103: Constant name "thing" doesn't conform to UPPER_CASE naming style (invalid-name)
main.py:24:0: C0115: Missing class docstring (missing-class-docstring)
main.py:24:0: R0902: Too many instance attributes (9/7) (too-many-instance-attributes)
main.py:37:8: W0603: Using the global statement (global-statement)
main.py:48:4: C0116: Missing function or method docstring (missing-function-docstring)
main.py:48:4: R0914: Too many local variables (20/15) (too-many-locals)
main.py:62:11: R1714: Consider merging these comparisons with 'in' by using 'args.action in ('monitor', 'all')'. Use a set instead if elements are hashable. (consider-using-in)
main.py:72:24: W0602: Using global for 'temp_data' but no assignment is done (global-variable-not-assigned)
main.py:77:8: R1702: Too many nested blocks (6/5) (too-many-nested-blocks)
main.py:107:15: R1714: Consider merging these comparisons with 'in' by using 'args.action in ('parse', 'all')'. Use a set instead if elements are hashable. (consider-using-in)
main.py:115:23: W0718: Catching too general exception Exception (broad-exception-caught)
main.py:113:24: W0602: Using global for 'current_logs' but no assignment is done (global-variable-not-assigned)
main.py:121:15: R1714: Consider merging these comparisons with 'in' by using 'args.action in ('analyze', 'all')'. Use a set instead if elements are hashable. (consider-using-in)
main.py:130:23: W0718: Catching too general exception Exception (broad-exception-caught)
main.py:128:24: W0602: Using global for 'analysis_results' but no assignment is done (global-variable-not-assigned)
main.py:136:15: R1714: Consider merging these comparisons with 'in' by using 'args.action in ('clean', 'all')'. Use a set instead if elements are hashable. (consider-using-in)
main.py:143:23: W0718: Catching too general exception Exception (broad-exception-caught)
main.py:162:19: W0718: Catching too general exception Exception (broad-exception-caught)
main.py:151:21: W1514: Using open without explicitly specifying an encoding (unspecified-encoding)
main.py:166:18: W1309: Using an f-string that does not have any interpolated variables (f-string-without-interpolation)
main.py:48:4: R0912: Too many branches (45/12) (too-many-branches)
main.py:48:4: R0915: Too many statements (97/50) (too-many-statements)
main.py:24:0: R0903: Too few public methods (1/2) (too-few-public-methods)
main.py:183:0: C0116: Missing function or method docstring (missing-function-docstring)
main.py:191:11: W0718: Catching too general exception Exception (broad-exception-caught)
main.py:8:0: W0611: Unused import time (unused-import)
main.py:9:0: W0611: Unused import glob (unused-import)
main.py:14:0: W0614: Unused import(s) thing, hashlib, re, shutil, subprocess, temp_cache, utility_data, get_file_size, calculate_md5, format_timestamp, FileHandler, parse_log_level, TimeUtils, validate_file_path, clean_string, extract_ip_addresses, CacheManager, run_system_command, generate_unique_id, compress_data, decompress_data, merge_dictionaries, file_handler, time_utils, cache_manager, get_temp_cache, clear_temp_cache, emergency_file_cleanup and timedelta from wildcard import of utils (unused-wildcard-import)
main.py:15:0: W0614: Unused import(s) configparser, app_config, config_cache, temp_config_data, config_loaded, DEFAULT_CONFIG, ConfigManager, get_config_value, update_config_value, is_debug_mode, is_verbose_output, get_temp_directory, get_error_threshold, get_warning_threshold, config_manager, get_all_config, clear_config_cache and emergency_reset_config from wildcard import of config (unused-wildcard-import)
************* Module process_monitor
process_monitor.py:24:0: C0303: Trailing whitespace (trailing-whitespace)
process_monitor.py:33:0: C0303: Trailing whitespace (trailing-whitespace)
process_monitor.py:43:0: C0303: Trailing whitespace (trailing-whitespace)
process_monitor.py:47:0: C0303: Trailing whitespace (trailing-whitespace)
process_monitor.py:55:0: C0303: Trailing whitespace (trailing-whitespace)
process_monitor.py:57:0: C0303: Trailing whitespace (trailing-whitespace)
process_monitor.py:59:0: C0303: Trailing whitespace (trailing-whitespace)
process_monitor.py:62:0: C0301: Line too long (117/100) (line-too-long)
process_monitor.py:66:0: C0303: Trailing whitespace (trailing-whitespace)
process_monitor.py:72:0: C0301: Line too long (102/100) (line-too-long)
process_monitor.py:74:0: C0301: Line too long (119/100) (line-too-long)
process_monitor.py:75:0: C0301: Line too long (103/100) (line-too-long)
process_monitor.py:78:0: C0303: Trailing whitespace (trailing-whitespace)
process_monitor.py:82:0: C0303: Trailing whitespace (trailing-whitespace)
process_monitor.py:85:0: C0303: Trailing whitespace (trailing-whitespace)
process_monitor.py:89:0: C0303: Trailing whitespace (trailing-whitespace)
process_monitor.py:95:0: C0303: Trailing whitespace (trailing-whitespace)
process_monitor.py:98:0: C0303: Trailing whitespace (trailing-whitespace)
process_monitor.py:102:0: C0303: Trailing whitespace (trailing-whitespace)
process_monitor.py:112:0: C0303: Trailing whitespace (trailing-whitespace)
process_monitor.py:127:0: C0303: Trailing whitespace (trailing-whitespace)
process_monitor.py:129:0: C0303: Trailing whitespace (trailing-whitespace)
process_monitor.py:132:0: C0303: Trailing whitespace (trailing-whitespace)
process_monitor.py:134:0: C0303: Trailing whitespace (trailing-whitespace)
process_monitor.py:137:0: C0303: Trailing whitespace (trailing-whitespace)
process_monitor.py:140:0: C0303: Trailing whitespace (trailing-whitespace)
process_monitor.py:145:0: C0303: Trailing whitespace (trailing-whitespace)
process_monitor.py:149:0: C0301: Line too long (102/100) (line-too-long)
process_monitor.py:150:0: C0303: Trailing whitespace (trailing-whitespace)
process_monitor.py:154:0: C0303: Trailing whitespace (trailing-whitespace)
process_monitor.py:158:0: C0303: Trailing whitespace (trailing-whitespace)
process_monitor.py:160:0: C0303: Trailing whitespace (trailing-whitespace)
process_monitor.py:164:0: C0303: Trailing whitespace (trailing-whitespace)
process_monitor.py:167:61: C0303: Trailing whitespace (trailing-whitespace)
process_monitor.py:169:0: C0303: Trailing whitespace (trailing-whitespace)
process_monitor.py:172:0: C0303: Trailing whitespace (trailing-whitespace)
process_monitor.py:181:0: C0303: Trailing whitespace (trailing-whitespace)
process_monitor.py:186:0: C0303: Trailing whitespace (trailing-whitespace)
process_monitor.py:201:0: C0303: Trailing whitespace (trailing-whitespace)
process_monitor.py:203:0: C0303: Trailing whitespace (trailing-whitespace)
process_monitor.py:211:0: C0303: Trailing whitespace (trailing-whitespace)
process_monitor.py:213:0: C0303: Trailing whitespace (trailing-whitespace)
process_monitor.py:217:0: C0303: Trailing whitespace (trailing-whitespace)
process_monitor.py:219:0: C0303: Trailing whitespace (trailing-whitespace)
process_monitor.py:223:0: C0303: Trailing whitespace (trailing-whitespace)
process_monitor.py:226:0: C0303: Trailing whitespace (trailing-whitespace)
process_monitor.py:233:0: C0303: Trailing whitespace (trailing-whitespace)
process_monitor.py:237:0: C0303: Trailing whitespace (trailing-whitespace)
process_monitor.py:241:0: C0301: Line too long (107/100) (line-too-long)
process_monitor.py:242:0: C0301: Line too long (106/100) (line-too-long)
process_monitor.py:245:0: C0303: Trailing whitespace (trailing-whitespace)
process_monitor.py:250:0: C0303: Trailing whitespace (trailing-whitespace)
process_monitor.py:252:0: C0303: Trailing whitespace (trailing-whitespace)
process_monitor.py:255:0: C0303: Trailing whitespace (trailing-whitespace)
process_monitor.py:259:0: C0303: Trailing whitespace (trailing-whitespace)
process_monitor.py:262:0: C0303: Trailing whitespace (trailing-whitespace)
process_monitor.py:264:0: C0303: Trailing whitespace (trailing-whitespace)
process_monitor.py:268:56: C0303: Trailing whitespace (trailing-whitespace)
process_monitor.py:270:0: C0303: Trailing whitespace (trailing-whitespace)
process_monitor.py:273:0: C0303: Trailing whitespace (trailing-whitespace)
process_monitor.py:281:0: C0303: Trailing whitespace (trailing-whitespace)
process_monitor.py:296:0: C0303: Trailing whitespace (trailing-whitespace)
process_monitor.py:299:0: C0303: Trailing whitespace (trailing-whitespace)
process_monitor.py:302:0: C0303: Trailing whitespace (trailing-whitespace)
process_monitor.py:304:0: C0303: Trailing whitespace (trailing-whitespace)
process_monitor.py:308:0: C0303: Trailing whitespace (trailing-whitespace)
process_monitor.py:311:0: C0303: Trailing whitespace (trailing-whitespace)
process_monitor.py:314:0: C0303: Trailing whitespace (trailing-whitespace)
process_monitor.py:317:0: C0303: Trailing whitespace (trailing-whitespace)
process_monitor.py:321:0: C0303: Trailing whitespace (trailing-whitespace)
process_monitor.py:325:0: C0303: Trailing whitespace (trailing-whitespace)
process_monitor.py:333:0: C0303: Trailing whitespace (trailing-whitespace)
process_monitor.py:335:0: C0303: Trailing whitespace (trailing-whitespace)
process_monitor.py:336:0: C0301: Line too long (128/100) (line-too-long)
process_monitor.py:337:0: C0303: Trailing whitespace (trailing-whitespace)
process_monitor.py:340:0: C0303: Trailing whitespace (trailing-whitespace)
process_monitor.py:342:0: C0303: Trailing whitespace (trailing-whitespace)
process_monitor.py:346:0: C0303: Trailing whitespace (trailing-whitespace)
process_monitor.py:358:0: C0303: Trailing whitespace (trailing-whitespace)
process_monitor.py:362:0: C0303: Trailing whitespace (trailing-whitespace)
process_monitor.py:366:0: C0303: Trailing whitespace (trailing-whitespace)
process_monitor.py:370:0: C0303: Trailing whitespace (trailing-whitespace)
process_monitor.py:373:0: C0303: Trailing whitespace (trailing-whitespace)
process_monitor.py:382:0: C0303: Trailing whitespace (trailing-whitespace)
process_monitor.py:384:0: C0303: Trailing whitespace (trailing-whitespace)
process_monitor.py:388:0: C0303: Trailing whitespace (trailing-whitespace)
process_monitor.py:391:0: C0303: Trailing whitespace (trailing-whitespace)
process_monitor.py:395:76: C0303: Trailing whitespace (trailing-whitespace)
process_monitor.py:397:0: C0303: Trailing whitespace (trailing-whitespace)
process_monitor.py:400:0: C0303: Trailing whitespace (trailing-whitespace)
process_monitor.py:404:0: C0303: Trailing whitespace (trailing-whitespace)
process_monitor.py:410:0: C0303: Trailing whitespace (trailing-whitespace)
process_monitor.py:415:0: C0303: Trailing whitespace (trailing-whitespace)
process_monitor.py:422:0: C0303: Trailing whitespace (trailing-whitespace)
process_monitor.py:428:0: C0303: Trailing whitespace (trailing-whitespace)
process_monitor.py:433:0: C0303: Trailing whitespace (trailing-whitespace)
process_monitor.py:441:0: C0303: Trailing whitespace (trailing-whitespace)
process_monitor.py:447:0: C0304: Final newline missing (missing-final-newline)
process_monitor.py:1:0: C0114: Missing module docstring (missing-module-docstring)
process_monitor.py:13:0: C0103: Constant name "temp_process_data" doesn't conform to UPPER_CASE naming style (invalid-name)
process_monitor.py:14:0: C0103: Constant name "current_monitoring" doesn't conform to UPPER_CASE naming style (invalid-name)
process_monitor.py:16:0: C0115: Missing class docstring (missing-class-docstring)
process_monitor.py:26:8: C0103: Attribute name "LOG_PROCESSES" doesn't conform to snake_case naming style (invalid-name)
process_monitor.py:35:8: C0103: Attribute name "LOG_FILE_PATTERNS" doesn't conform to snake_case naming style (invalid-name)
process_monitor.py:44:4: C0116: Missing function or method docstring (missing-function-docstring)
process_monitor.py:46:8: W0602: Using global for 'monitored_processes' but no assignment is done (global-variable-not-assigned)
process_monitor.py:46:8: W0602: Using global for 'process_cache' but no assignment is done (global-variable-not-assigned)
process_monitor.py:96:15: W0718: Catching too general exception Exception (broad-exception-caught)
process_monitor.py:92:23: W0718: Catching too general exception Exception (broad-exception-caught)
process_monitor.py:130:15: W0718: Catching too general exception Exception (broad-exception-caught)
process_monitor.py:125:27: W0718: Catching too general exception Exception (broad-exception-caught)
process_monitor.py:138:4: C0116: Missing function or method docstring (missing-function-docstring)
process_monitor.py:161:4: C0116: Missing function or method docstring (missing-function-docstring)
process_monitor.py:184:15: W0718: Catching too general exception Exception (broad-exception-caught)
process_monitor.py:167:21: W1510: 'subprocess.run' used without explicitly defining the value for 'check'. (subprocess-run-check)
process_monitor.py:199:15: W0718: Catching too general exception Exception (broad-exception-caught)
process_monitor.py:165:8: R1702: Too many nested blocks (7/5) (too-many-nested-blocks)
process_monitor.py:197:20: W0702: No exception type(s) specified (bare-except)
process_monitor.py:161:4: R0912: Too many branches (14/12) (too-many-branches)
process_monitor.py:188:8: R1702: Too many nested blocks (6/5) (too-many-nested-blocks)
process_monitor.py:199:8: W0612: Unused variable 'e' (unused-variable)
process_monitor.py:204:4: C0116: Missing function or method docstring (missing-function-docstring)
process_monitor.py:220:4: C0116: Missing function or method docstring (missing-function-docstring)
process_monitor.py:260:23: W0718: Catching too general exception Exception (broad-exception-caught)
process_monitor.py:253:39: W0718: Catching too general exception Exception (broad-exception-caught)
process_monitor.py:227:8: R1702: Too many nested blocks (8/5) (too-many-nested-blocks)
process_monitor.py:253:32: W0612: Unused variable 'e' (unused-variable)
process_monitor.py:265:4: C0116: Missing function or method docstring (missing-function-docstring)
process_monitor.py:300:15: W0718: Catching too general exception Exception (broad-exception-caught)
process_monitor.py:268:21: W1510: 'subprocess.run' used without explicitly defining the value for 'check'. (subprocess-run-check)
process_monitor.py:290:32: W0702: No exception type(s) specified (bare-except)
process_monitor.py:267:8: R1702: Too many nested blocks (7/5) (too-many-nested-blocks)
process_monitor.py:300:8: W0612: Unused variable 'e' (unused-variable)
process_monitor.py:305:4: C0116: Missing function or method docstring (missing-function-docstring)
process_monitor.py:343:4: C0116: Missing function or method docstring (missing-function-docstring)
process_monitor.py:345:8: W0602: Using global for 'monitored_processes' but no assignment is done (global-variable-not-assigned)
process_monitor.py:345:8: W0602: Using global for 'temp_process_data' but no assignment is done (global-variable-not-assigned)
process_monitor.py:380:15: W0718: Catching too general exception Exception (broad-exception-caught)
process_monitor.py:377:17: W1514: Using open without explicitly specifying an encoding (unspecified-encoding)
process_monitor.py:385:4: C0116: Missing function or method docstring (missing-function-docstring)
process_monitor.py:413:19: W0718: Catching too general exception Exception (broad-exception-caught)
process_monitor.py:395:25: W1510: 'subprocess.run' used without explicitly defining the value for 'check'. (subprocess-run-check)
process_monitor.py:402:37: W1510: 'subprocess.run' used without explicitly defining the value for 'check'. (subprocess-run-check)
process_monitor.py:419:0: C0116: Missing function or method docstring (missing-function-docstring)
process_monitor.py:420:4: W0602: Using global for 'monitored_processes' but no assignment is done (global-variable-not-assigned)
process_monitor.py:423:0: C0116: Missing function or method docstring (missing-function-docstring)
process_monitor.py:424:4: W0603: Using the global statement (global-statement)
process_monitor.py:429:0: C0116: Missing function or method docstring (missing-function-docstring)
process_monitor.py:439:8: W0702: No exception type(s) specified (bare-except)
process_monitor.py:442:4: R1705: Unnecessary "else" after "return", remove the "else" and de-indent the code inside it (no-else-return)
process_monitor.py:431:4: W0612: Unused variable 'monitor' (unused-variable)
process_monitor.py:4:0: C0411: standard import "subprocess" should be placed before third party import "psutil" (wrong-import-order)
process_monitor.py:5:0: C0411: standard import "time" should be placed before third party import "psutil" (wrong-import-order)
process_monitor.py:6:0: C0411: standard import "re" should be placed before third party import "psutil" (wrong-import-order)
process_monitor.py:7:0: C0411: standard import "datetime.datetime" should be placed before third party import "psutil" (wrong-import-order)
process_monitor.py:8:0: C0411: standard import "json" should be placed before third party import "psutil" (wrong-import-order)
process_monitor.py:6:0: W0611: Unused import re (unused-import)
************* Module utils
utils.py:23:41: C0303: Trailing whitespace (trailing-whitespace)
utils.py:58:0: C0303: Trailing whitespace (trailing-whitespace)
utils.py:75:0: C0303: Trailing whitespace (trailing-whitespace)
utils.py:85:0: C0303: Trailing whitespace (trailing-whitespace)
utils.py:90:0: C0303: Trailing whitespace (trailing-whitespace)
utils.py:93:0: C0303: Trailing whitespace (trailing-whitespace)
utils.py:104:0: C0303: Trailing whitespace (trailing-whitespace)
utils.py:149:0: C0303: Trailing whitespace (trailing-whitespace)
utils.py:153:0: C0303: Trailing whitespace (trailing-whitespace)
utils.py:164:0: C0303: Trailing whitespace (trailing-whitespace)
utils.py:170:0: C0303: Trailing whitespace (trailing-whitespace)
utils.py:173:0: C0303: Trailing whitespace (trailing-whitespace)
utils.py:180:0: C0303: Trailing whitespace (trailing-whitespace)
utils.py:184:0: C0303: Trailing whitespace (trailing-whitespace)
utils.py:198:0: C0303: Trailing whitespace (trailing-whitespace)
utils.py:224:0: C0303: Trailing whitespace (trailing-whitespace)
utils.py:227:0: C0303: Trailing whitespace (trailing-whitespace)
utils.py:230:0: C0303: Trailing whitespace (trailing-whitespace)
utils.py:233:0: C0303: Trailing whitespace (trailing-whitespace)
utils.py:239:0: C0303: Trailing whitespace (trailing-whitespace)
utils.py:241:0: C0303: Trailing whitespace (trailing-whitespace)
utils.py:248:0: C0303: Trailing whitespace (trailing-whitespace)
utils.py:258:0: C0303: Trailing whitespace (trailing-whitespace)
utils.py:270:0: C0303: Trailing whitespace (trailing-whitespace)
utils.py:277:0: C0303: Trailing whitespace (trailing-whitespace)
utils.py:282:0: C0303: Trailing whitespace (trailing-whitespace)
utils.py:296:0: C0303: Trailing whitespace (trailing-whitespace)
utils.py:303:0: C0303: Trailing whitespace (trailing-whitespace)
utils.py:329:0: C0303: Trailing whitespace (trailing-whitespace)
utils.py:332:0: C0303: Trailing whitespace (trailing-whitespace)
utils.py:343:0: C0303: Trailing whitespace (trailing-whitespace)
utils.py:354:0: C0303: Trailing whitespace (trailing-whitespace)
utils.py:368:0: C0303: Trailing whitespace (trailing-whitespace)
utils.py:391:0: C0303: Trailing whitespace (trailing-whitespace)
utils.py:394:0: C0303: Trailing whitespace (trailing-whitespace)
utils.py:401:0: C0303: Trailing whitespace (trailing-whitespace)
utils.py:405:0: C0303: Trailing whitespace (trailing-whitespace)
utils.py:408:0: C0303: Trailing whitespace (trailing-whitespace)
utils.py:409:0: C0304: Final newline missing (missing-final-newline)
utils.py:1:0: C0114: Missing module docstring (missing-module-docstring)
utils.py:14:0: C0103: Constant name "thing" doesn't conform to UPPER_CASE naming style (invalid-name)
utils.py:16:0: C0116: Missing function or method docstring (missing-function-docstring)
utils.py:20:8: R1705: Unnecessary "elif" after "return", remove the leading "el" from "elif" (no-else-return)
utils.py:28:0: C0116: Missing function or method docstring (missing-function-docstring)
utils.py:36:4: W0702: No exception type(s) specified (bare-except)
utils.py:39:0: C0116: Missing function or method docstring (missing-function-docstring)
utils.py:45:8: W0702: No exception type(s) specified (bare-except)
utils.py:52:0: C0115: Missing class docstring (missing-class-docstring)
utils.py:59:4: C0116: Missing function or method docstring (missing-function-docstring)
utils.py:72:15: W0718: Catching too general exception Exception (broad-exception-caught)
utils.py:76:4: C0116: Missing function or method docstring (missing-function-docstring)
utils.py:82:15: W0718: Catching too general exception Exception (broad-exception-caught)
utils.py:79:17: W1514: Using open without explicitly specifying an encoding (unspecified-encoding)
utils.py:86:4: C0116: Missing function or method docstring (missing-function-docstring)
utils.py:97:15: W0718: Catching too general exception Exception (broad-exception-caught)
utils.py:101:0: C0116: Missing function or method docstring (missing-function-docstring)
utils.py:106:8: R1705: Unnecessary "else" after "return", remove the "else" and de-indent the code inside it (no-else-return)
utils.py:111:8: R1705: Unnecessary "else" after "return", remove the "else" and de-indent the code inside it (no-else-return)
utils.py:116:8: R1705: Unnecessary "elif" after "return", remove the leading "el" from "elif" (no-else-return)
utils.py:125:8: R1705: Unnecessary "else" after "return", remove the "else" and de-indent the code inside it (no-else-return)
utils.py:130:8: R1705: Unnecessary "else" after "return", remove the "else" and de-indent the code inside it (no-else-return)
utils.py:135:8: R1705: Unnecessary "elif" after "return", remove the leading "el" from "elif" (no-else-return)
utils.py:101:0: R0911: Too many return statements (16/6) (too-many-return-statements)
utils.py:101:0: R0912: Too many branches (22/12) (too-many-branches)
utils.py:144:0: C0115: Missing class docstring (missing-class-docstring)
utils.py:147:4: C0116: Missing function or method docstring (missing-function-docstring)
utils.py:154:4: C0116: Missing function or method docstring (missing-function-docstring)
utils.py:174:4: C0116: Missing function or method docstring (missing-function-docstring)
utils.py:185:12: R1705: Unnecessary "elif" after "return", remove the leading "el" from "elif" (no-else-return)
utils.py:194:0: C0116: Missing function or method docstring (missing-function-docstring)
utils.py:204:12: R1705: Unnecessary "else" after "return", remove the "else" and de-indent the code inside it (no-else-return)
utils.py:214:8: R1705: Unnecessary "else" after "return", remove the "else" and de-indent the code inside it (no-else-return)
utils.py:220:0: C0116: Missing function or method docstring (missing-function-docstring)
utils.py:236:0: C0116: Missing function or method docstring (missing-function-docstring)
utils.py:251:0: C0115: Missing class docstring (missing-class-docstring)
utils.py:254:8: W0602: Using global for 'temp_cache' but no assignment is done (global-variable-not-assigned)
utils.py:259:4: C0116: Missing function or method docstring (missing-function-docstring)
utils.py:263:12: R1705: Unnecessary "else" after "return", remove the "else" and de-indent the code inside it (no-else-return)
utils.py:271:4: C0116: Missing function or method docstring (missing-function-docstring)
utils.py:283:4: C0116: Missing function or method docstring (missing-function-docstring)
utils.py:287:0: C0116: Missing function or method docstring (missing-function-docstring)
utils.py:311:11: W0718: Catching too general exception Exception (broad-exception-caught)
utils.py:290:17: W1510: 'subprocess.run' used without explicitly defining the value for 'check'. (subprocess-run-check)
utils.py:319:0: C0116: Missing function or method docstring (missing-function-docstring)
utils.py:321:4: C0415: Import outside toplevel (random) (import-outside-toplevel)
utils.py:326:0: C0116: Missing function or method docstring (missing-function-docstring)
utils.py:328:4: C0415: Import outside toplevel (gzip) (import-outside-toplevel)
utils.py:336:11: W0718: Catching too general exception Exception (broad-exception-caught)
utils.py:340:0: C0116: Missing function or method docstring (missing-function-docstring)
utils.py:342:4: C0415: Import outside toplevel (gzip) (import-outside-toplevel)
utils.py:347:11: W0718: Catching too general exception Exception (broad-exception-caught)
utils.py:351:0: C0116: Missing function or method docstring (missing-function-docstring)
utils.py:355:4: R1702: Too many nested blocks (6/5) (too-many-nested-blocks)
utils.py:377:0: C0116: Missing function or method docstring (missing-function-docstring)
utils.py:378:4: W0602: Using global for 'temp_cache' but no assignment is done (global-variable-not-assigned)
utils.py:381:0: C0116: Missing function or method docstring (missing-function-docstring)
utils.py:382:4: W0603: Using the global statement (global-statement)
utils.py:387:0: C0116: Missing function or method docstring (missing-function-docstring)
utils.py:406:19: W0718: Catching too general exception Exception (broad-exception-caught)
utils.py:395:14: W0612: Unused variable 'dirs' (unused-variable)
utils.py:406:12: W0612: Unused variable 'e' (unused-variable)
utils.py:6:0: W0611: Unused timedelta imported from datetime (unused-import)
utils.py:1:0: R0801: Similar lines in 2 files
==log_cleaner:[287:293]
==process_monitor:[273:279]
                for line in lines:
                    if line.strip():
                        parts = line.split()
                        if len(parts) > 1:
                            try:
                                pid = int(parts[1]) (duplicate-code)

-----------------------------------
Your code has been rated at 4.99/10

