-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlint-basic-output.txt
More file actions
1410 lines (1383 loc) · 193 KB
/
lint-basic-output.txt
File metadata and controls
1410 lines (1383 loc) · 193 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
🔨 Building CI image...
#1 [internal] load local bake definitions
#1 reading from stdin 409B done
#1 DONE 0.0s
#2 [internal] load build definition from python-ci.Dockerfile
#2 transferring dockerfile: 2.35kB done
#2 DONE 0.0s
#3 [internal] load metadata for docker.io/library/python:3.10-slim
#3 DONE 0.1s
#4 [internal] load .dockerignore
#4 transferring context: 442B done
#4 DONE 0.0s
#5 [ 1/16] FROM docker.io/library/python:3.10-slim@sha256:420fbb0e468d3eaf0f7e93ea6f7a48792cbcadc39d43ac95b96bee2afe4367da
#5 DONE 0.0s
#6 [internal] load build context
#6 transferring context: 1.08kB done
#6 DONE 0.0s
#7 [11/16] RUN mkdir -p packages/github_ai_agents /app/packages/github_ai_agents
#7 CACHED
#8 [12/16] COPY packages/github_ai_agents/pyproject.toml ./packages/github_ai_agents/
#8 CACHED
#9 [ 3/16] WORKDIR /workspace
#9 CACHED
#10 [13/16] COPY packages/github_ai_agents/pyproject.toml /app/packages/github_ai_agents/
#10 CACHED
#11 [ 8/16] COPY .flake8 .pylintrc /app/
#11 CACHED
#12 [ 6/16] RUN pip install --no-cache-dir -r requirements.txt
#12 CACHED
#13 [ 4/16] RUN pip install --no-cache-dir --upgrade pip>=23.3 setuptools>=78.1.1
#13 CACHED
#14 [ 7/16] COPY .flake8 .pylintrc ./
#14 CACHED
#15 [ 5/16] COPY config/python/requirements.txt ./
#15 CACHED
#16 [ 9/16] COPY pyproject.toml ./pyproject.toml
#16 CACHED
#17 [14/16] RUN useradd -m -u 1000 ciuser
#17 CACHED
#18 [ 2/16] RUN apt-get update && apt-get install -y git curl build-essential libpng-dev libfreetype6-dev pkg-config python3-tk && rm -rf /var/lib/apt/lists/*
#18 CACHED
#19 [15/16] COPY automation/security /app/security
#19 CACHED
#20 [10/16] COPY pyproject.toml /app/pyproject.toml
#20 CACHED
#21 [16/16] RUN chmod +x /app/security/*.sh && echo 'alias gh="/app/security/gh-wrapper.sh"' >> /etc/bash.bashrc
#21 CACHED
#22 exporting to image
#22 exporting layers done
#22 writing image sha256:c0cb885a7eaeabbee519041f9a24b71a579477a9fad4e82e968338ad7707bb25 done
#22 naming to docker.io/library/agentsocial-python-ci done
#22 DONE 0.0s
#23 resolving provenance for metadata file
#23 DONE 0.0s
python-ci Built
=== Running basic linting ===
🔍 Checking formatting...
would reformat /app/packages/bulletin_board/app/app.py
would reformat /app/packages/bulletin_board/app/seed_routes.py
Oh no! 💥 💔 💥
2 files would be reformatted, 186 files would be left unchanged.
Skipped 3 files
🔍 Running Flake8 critical errors check (E9,F63,F7,F82)...
0
🔍 Running Flake8 full check...
0
🔍 Running Pylint...
************* Module gemini-pr-review
automation/review/gemini-pr-review.py:327: [W0718(broad-exception-caught), get_recent_pr_comments] Catching too general exception Exception
automation/review/gemini-pr-review.py:421: [W0613(unused-argument), analyze_file_group] Unused argument 'project_context'
************* Module gh-comment-validator
automation/security/gh-comment-validator.py:97: [W0718(broad-exception-caught), is_safe_url] Catching too general exception Exception
automation/security/gh-comment-validator.py:157: [W0718(broad-exception-caught), validate_reaction_url] Catching too general exception Exception
automation/security/gh-comment-validator.py:161: [W1203(logging-fstring-interpolation), validate_reaction_url] Use lazy % formatting in logging functions
automation/security/gh-comment-validator.py:209: [W0718(broad-exception-caught), check_reaction_urls_in_file] Catching too general exception Exception
automation/security/gh-comment-validator.py:196: [W1514(unspecified-encoding), check_reaction_urls_in_file] Using open without explicitly specifying an encoding
automation/security/gh-comment-validator.py:201: [W0612(unused-variable), check_reaction_urls_in_file] Unused variable 'full_match'
************* Module github-secrets-masker
automation/security/github-secrets-masker.py:35: [W1514(unspecified-encoding), SecretMasker._load_config] Using open without explicitly specifying an encoding
automation/security/github-secrets-masker.py:170: [W0640(cell-var-from-loop), SecretMasker.mask_text.replace_with_mask] Cell variable name defined in loop
automation/security/github-secrets-masker.py:169: [W0613(unused-argument), SecretMasker.mask_text.replace_with_mask] Unused argument 'match'
************* Module check-markdown-links
automation/analysis/check-markdown-links.py:14: [C0413(wrong-import-position), ] Import "from tools.cli.utilities.markdown_link_checker import MarkdownLinkChecker" should be placed at the top of the module
automation/analysis/check-markdown-links.py:30: [R1702(too-many-nested-blocks), format_results_text] Too many nested blocks (6/5)
automation/analysis/check-markdown-links.py:62: [R1702(too-many-nested-blocks), format_results_github] Too many nested blocks (6/5)
automation/analysis/check-markdown-links.py:88: [W1514(unspecified-encoding), write_github_outputs] Using open without explicitly specifying an encoding
automation/analysis/check-markdown-links.py:133: [W1514(unspecified-encoding), main] Using open without explicitly specifying an encoding
************* Module pr_monitor_agent
automation/monitoring/pr/pr_monitor_agent.py:52: [W0718(broad-exception-caught), run_monitor] Catching too general exception Exception
automation/monitoring/pr/pr_monitor_agent.py:39: [W1510(subprocess-run-check), run_monitor] 'subprocess.run' used without explicitly defining the value for 'check'.
************* Module tools.gemini.gemini_integration
tools/gemini/gemini_integration.py:133: [W0718(broad-exception-caught), GeminiIntegration.consult_gemini] Catching too general exception Exception
tools/gemini/gemini_integration.py:134: [W1203(logging-fstring-interpolation), GeminiIntegration.consult_gemini] Use lazy % formatting in logging functions
tools/gemini/gemini_integration.py:271: [W0719(broad-exception-raised), GeminiIntegration._execute_gemini_cli] Raising too general exception: Exception
tools/gemini/gemini_integration.py:276: [W0707(raise-missing-from), GeminiIntegration._execute_gemini_cli] Consider explicitly re-raising using 'except Exception as exc' and 'raise Exception(f'Gemini CLI timed out after {self.timeout} seconds') from exc'
tools/gemini/gemini_integration.py:276: [W0719(broad-exception-raised), GeminiIntegration._execute_gemini_cli] Raising too general exception: Exception
tools/gemini/gemini_integration.py:297: [W0603(global-statement), get_integration] Using the global statement
************* Module tools.mcp.mcp_server
tools/mcp/mcp_server.py:67: [W0718(broad-exception-caught), MCPTools.format_check] Catching too general exception Exception
tools/mcp/mcp_server.py:62: [W1510(subprocess-run-check), MCPTools.format_check] 'subprocess.run' used without explicitly defining the value for 'check'.
tools/mcp/mcp_server.py:83: [W0718(broad-exception-caught), MCPTools.lint] Catching too general exception Exception
tools/mcp/mcp_server.py:78: [W1510(subprocess-run-check), MCPTools.lint] 'subprocess.run' used without explicitly defining the value for 'check'.
tools/mcp/mcp_server.py:129: [W0718(broad-exception-caught), MCPTools.create_manim_animation] Catching too general exception Exception
tools/mcp/mcp_server.py:110: [W1510(subprocess-run-check), MCPTools.create_manim_animation] 'subprocess.run' used without explicitly defining the value for 'check'.
tools/mcp/mcp_server.py:183: [W0718(broad-exception-caught), MCPTools.compile_latex] Catching too general exception Exception
tools/mcp/mcp_server.py:155: [W1510(subprocess-run-check), MCPTools.compile_latex] 'subprocess.run' used without explicitly defining the value for 'check'.
tools/mcp/mcp_server.py:161: [W1510(subprocess-run-check), MCPTools.compile_latex] 'subprocess.run' used without explicitly defining the value for 'check'.
tools/mcp/mcp_server.py:217: [W0718(broad-exception-caught), execute_tool] Catching too general exception Exception
tools/mcp/mcp_server.py:218: [W1203(logging-fstring-interpolation), execute_tool] Use lazy % formatting in logging functions
tools/mcp/mcp_server.py:264: [W0718(broad-exception-caught), serve_mcp.handle_call_tool] Catching too general exception Exception
************* Module tools.mcp.crush.server
tools/mcp/crush/server.py:47: [W0718(broad-exception-caught), CrushMCPServer._load_crush_config] Catching too general exception Exception
tools/mcp/crush/server.py:39: [W1514(unspecified-encoding), CrushMCPServer._load_crush_config] Using open without explicitly specifying an encoding
tools/mcp/crush/server.py:48: [W1203(logging-fstring-interpolation), CrushMCPServer._load_crush_config] Use lazy % formatting in logging functions
tools/mcp/crush/server.py:71: [W0718(broad-exception-caught), CrushMCPServer._load_crush_config] Catching too general exception Exception
tools/mcp/crush/server.py:68: [W1514(unspecified-encoding), CrushMCPServer._load_crush_config] Using open without explicitly specifying an encoding
tools/mcp/crush/server.py:72: [W1203(logging-fstring-interpolation), CrushMCPServer._load_crush_config] Use lazy % formatting in logging functions
tools/mcp/crush/server.py:88: [W1203(logging-fstring-interpolation), CrushMCPServer._initialize_crush] Use lazy % formatting in logging functions
tools/mcp/crush/server.py:96: [W0613(unused-argument), CrushMCPServer._initialize_crush.MockCrush.consult_crush] Unused argument 'kwargs'
************* Module tools.mcp.crush.crush_integration
tools/mcp/crush/crush_integration.py:91: [W0718(broad-exception-caught), CrushIntegration.generate_response] Catching too general exception Exception
tools/mcp/crush/crush_integration.py:92: [W1203(logging-fstring-interpolation), CrushIntegration.generate_response] Use lazy % formatting in logging functions
tools/mcp/crush/crush_integration.py:112: [W0613(unused-argument), CrushIntegration.consult_crush] Unused argument 'context'
tools/mcp/crush/crush_integration.py:113: [W0613(unused-argument), CrushIntegration.consult_crush] Unused argument 'comparison_mode'
tools/mcp/crush/crush_integration.py:158: [W0612(unused-variable), CrushIntegration._prepare_prompt] Unused variable 'i'
tools/mcp/crush/crush_integration.py:182: [W1514(unspecified-encoding), CrushIntegration._is_running_in_container] Using open without explicitly specifying an encoding
tools/mcp/crush/crush_integration.py:190: [W1203(logging-fstring-interpolation), CrushIntegration._execute_crush_direct] Use lazy % formatting in logging functions
tools/mcp/crush/crush_integration.py:202: [W1203(logging-fstring-interpolation), CrushIntegration._execute_crush_direct] Use lazy % formatting in logging functions
tools/mcp/crush/crush_integration.py:230: [W1203(logging-fstring-interpolation), CrushIntegration._execute_crush_direct] Use lazy % formatting in logging functions
tools/mcp/crush/crush_integration.py:236: [W0719(broad-exception-raised), CrushIntegration._execute_crush_direct] Raising too general exception: Exception
tools/mcp/crush/crush_integration.py:239: [W1203(logging-fstring-interpolation), CrushIntegration._execute_crush_direct] Use lazy % formatting in logging functions
tools/mcp/crush/crush_integration.py:245: [W1203(logging-fstring-interpolation), CrushIntegration._execute_crush_direct] Use lazy % formatting in logging functions
tools/mcp/crush/crush_integration.py:250: [W0707(raise-missing-from), CrushIntegration._execute_crush_direct] Consider explicitly re-raising using 'except Exception as exc' and 'raise Exception(f'Crush timed out after {self.timeout} seconds') from exc'
tools/mcp/crush/crush_integration.py:250: [W0719(broad-exception-raised), CrushIntegration._execute_crush_direct] Raising too general exception: Exception
tools/mcp/crush/crush_integration.py:255: [W1203(logging-fstring-interpolation), CrushIntegration._execute_crush_local] Use lazy % formatting in logging functions
tools/mcp/crush/crush_integration.py:267: [W1203(logging-fstring-interpolation), CrushIntegration._execute_crush_local] Use lazy % formatting in logging functions
tools/mcp/crush/crush_integration.py:293: [W1203(logging-fstring-interpolation), CrushIntegration._execute_crush_local] Use lazy % formatting in logging functions
tools/mcp/crush/crush_integration.py:299: [W0719(broad-exception-raised), CrushIntegration._execute_crush_local] Raising too general exception: Exception
tools/mcp/crush/crush_integration.py:302: [W1203(logging-fstring-interpolation), CrushIntegration._execute_crush_local] Use lazy % formatting in logging functions
tools/mcp/crush/crush_integration.py:308: [W1203(logging-fstring-interpolation), CrushIntegration._execute_crush_local] Use lazy % formatting in logging functions
tools/mcp/crush/crush_integration.py:313: [W0707(raise-missing-from), CrushIntegration._execute_crush_local] Consider explicitly re-raising using 'except Exception as exc' and 'raise Exception(f'Crush timed out after {self.timeout} seconds') from exc'
tools/mcp/crush/crush_integration.py:313: [W0719(broad-exception-raised), CrushIntegration._execute_crush_local] Raising too general exception: Exception
tools/mcp/crush/crush_integration.py:334: [W0718(broad-exception-caught), CrushIntegration._execute_crush_docker] Catching too general exception Exception
tools/mcp/crush/crush_integration.py:381: [W0719(broad-exception-raised), CrushIntegration._execute_crush_docker] Raising too general exception: Exception
tools/mcp/crush/crush_integration.py:389: [W1203(logging-fstring-interpolation), CrushIntegration._execute_crush_docker] Use lazy % formatting in logging functions
tools/mcp/crush/crush_integration.py:394: [W0707(raise-missing-from), CrushIntegration._execute_crush_docker] Consider explicitly re-raising using 'except Exception as exc' and 'raise Exception(f'Crush timed out after {self.timeout} seconds') from exc'
tools/mcp/crush/crush_integration.py:394: [W0719(broad-exception-raised), CrushIntegration._execute_crush_docker] Raising too general exception: Exception
tools/mcp/crush/crush_integration.py:414: [W0603(global-statement), get_integration] Using the global statement
************* Module test_server
tools/mcp/crush/scripts/test_server.py:39: [W0718(broad-exception-caught), test_crush_server] Catching too general exception Exception
tools/mcp/crush/scripts/test_server.py:53: [W0718(broad-exception-caught), test_crush_server] Catching too general exception Exception
tools/mcp/crush/scripts/test_server.py:81: [W0718(broad-exception-caught), test_crush_server] Catching too general exception Exception
tools/mcp/crush/scripts/test_server.py:114: [W0718(broad-exception-caught), test_crush_server] Catching too general exception Exception
tools/mcp/crush/scripts/test_server.py:141: [W0718(broad-exception-caught), test_crush_server] Catching too general exception Exception
tools/mcp/crush/scripts/test_server.py:160: [W0718(broad-exception-caught), test_crush_server] Catching too general exception Exception
tools/mcp/crush/scripts/test_server.py:182: [W0718(broad-exception-caught), test_crush_server] Catching too general exception Exception
tools/mcp/crush/scripts/test_server.py:198: [W0718(broad-exception-caught), test_crush_server] Catching too general exception Exception
tools/mcp/crush/scripts/test_server.py:228: [W0718(broad-exception-caught), test_crush_server] Catching too general exception Exception
************* Module tools.mcp.core.client
tools/mcp/core/client.py:51: [W0718(broad-exception-caught), MCPClient.execute_tool] Catching too general exception Exception
tools/mcp/core/client.py:46: [W3101(missing-timeout), MCPClient.execute_tool] Missing timeout argument for method 'requests.post' can cause your program to hang indefinitely
tools/mcp/core/client.py:52: [W1203(logging-fstring-interpolation), MCPClient.execute_tool] Use lazy % formatting in logging functions
tools/mcp/core/client.py:65: [W0718(broad-exception-caught), MCPClient.list_tools] Catching too general exception Exception
tools/mcp/core/client.py:60: [W3101(missing-timeout), MCPClient.list_tools] Missing timeout argument for method 'requests.get' can cause your program to hang indefinitely
tools/mcp/core/client.py:66: [W1203(logging-fstring-interpolation), MCPClient.list_tools] Use lazy % formatting in logging functions
tools/mcp/core/client.py:76: [W0718(broad-exception-caught), MCPClient.health_check] Catching too general exception Exception
************* Module tools.mcp.core.utils
tools/mcp/core/utils.py:100: [W1514(unspecified-encoding), load_config] Using open without explicitly specifying an encoding
tools/mcp/core/utils.py:122: [W0718(broad-exception-caught), check_container_environment] Catching too general exception Exception
tools/mcp/core/utils.py:120: [W1514(unspecified-encoding), check_container_environment] Using open without explicitly specifying an encoding
************* Module tools.mcp.core.client_registry
tools/mcp/core/client_registry.py:28: [W0718(broad-exception-caught), ClientRegistry._load_clients] Catching too general exception Exception
tools/mcp/core/client_registry.py:25: [W1514(unspecified-encoding), ClientRegistry._load_clients] Using open without explicitly specifying an encoding
tools/mcp/core/client_registry.py:27: [W1203(logging-fstring-interpolation), ClientRegistry._load_clients] Use lazy % formatting in logging functions
tools/mcp/core/client_registry.py:29: [W1203(logging-fstring-interpolation), ClientRegistry._load_clients] Use lazy % formatting in logging functions
tools/mcp/core/client_registry.py:38: [W0718(broad-exception-caught), ClientRegistry._save_clients] Catching too general exception Exception
tools/mcp/core/client_registry.py:36: [W1514(unspecified-encoding), ClientRegistry._save_clients] Using open without explicitly specifying an encoding
tools/mcp/core/client_registry.py:39: [W1203(logging-fstring-interpolation), ClientRegistry._save_clients] Use lazy % formatting in logging functions
************* Module tools.mcp.core.base_server
tools/mcp/core/base_server.py:12: [R0402(consider-using-from-import), ] Use 'from mcp import types' instead
tools/mcp/core/base_server.py:61: [W1203(logging-fstring-interpolation), BaseMCPServer._setup_events.startup_event] Use lazy % formatting in logging functions
tools/mcp/core/base_server.py:62: [W1203(logging-fstring-interpolation), BaseMCPServer._setup_events.startup_event] Use lazy % formatting in logging functions
tools/mcp/core/base_server.py:113: [W1203(logging-fstring-interpolation), BaseMCPServer.register_client] Use lazy % formatting in logging functions
tools/mcp/core/base_server.py:138: [W1203(logging-fstring-interpolation), BaseMCPServer.register_client_oauth] Use lazy % formatting in logging functions
tools/mcp/core/base_server.py:181: [W0718(broad-exception-caught), BaseMCPServer.oauth_token_bypass] Catching too general exception Exception
tools/mcp/core/base_server.py:185: [W1203(logging-fstring-interpolation), BaseMCPServer.oauth_token_bypass] Use lazy % formatting in logging functions
tools/mcp/core/base_server.py:239: [W0621(redefined-outer-name), BaseMCPServer.handle_mcp_get.event_generator] Redefining name 'asyncio' from outer scope (line 3)
tools/mcp/core/base_server.py:239: [W0404(reimported), BaseMCPServer.handle_mcp_get.event_generator] Reimport 'asyncio' (imported line 3)
tools/mcp/core/base_server.py:259: [W0621(redefined-outer-name), BaseMCPServer.handle_mcp_sse] Redefining name 'asyncio' from outer scope (line 3)
tools/mcp/core/base_server.py:259: [W0404(reimported), BaseMCPServer.handle_mcp_sse] Reimport 'asyncio' (imported line 3)
tools/mcp/core/base_server.py:287: [W0613(unused-argument), BaseMCPServer.handle_messages_get] Unused argument 'request'
tools/mcp/core/base_server.py:320: [W1203(logging-fstring-interpolation), BaseMCPServer.handle_messages] Use lazy % formatting in logging functions
tools/mcp/core/base_server.py:321: [W1203(logging-fstring-interpolation), BaseMCPServer.handle_messages] Use lazy % formatting in logging functions
tools/mcp/core/base_server.py:428: [W0718(broad-exception-caught), BaseMCPServer.handle_messages] Catching too general exception Exception
tools/mcp/core/base_server.py:326: [W1203(logging-fstring-interpolation), BaseMCPServer.handle_messages] Use lazy % formatting in logging functions
tools/mcp/core/base_server.py:337: [W1203(logging-fstring-interpolation), BaseMCPServer.handle_messages] Use lazy % formatting in logging functions
tools/mcp/core/base_server.py:419: [W1203(logging-fstring-interpolation), BaseMCPServer.handle_messages] Use lazy % formatting in logging functions
tools/mcp/core/base_server.py:429: [W1203(logging-fstring-interpolation), BaseMCPServer.handle_messages] Use lazy % formatting in logging functions
tools/mcp/core/base_server.py:448: [W0613(unused-argument), BaseMCPServer.handle_options] Unused argument 'request'
tools/mcp/core/base_server.py:468: [W1203(logging-fstring-interpolation), BaseMCPServer._process_jsonrpc_request] Use lazy % formatting in logging functions
tools/mcp/core/base_server.py:519: [W0718(broad-exception-caught), BaseMCPServer._process_jsonrpc_request] Catching too general exception Exception
tools/mcp/core/base_server.py:508: [W1203(logging-fstring-interpolation), BaseMCPServer._process_jsonrpc_request] Use lazy % formatting in logging functions
tools/mcp/core/base_server.py:520: [W1203(logging-fstring-interpolation), BaseMCPServer._process_jsonrpc_request] Use lazy % formatting in logging functions
tools/mcp/core/base_server.py:539: [W1203(logging-fstring-interpolation), BaseMCPServer._jsonrpc_initialize] Use lazy % formatting in logging functions
tools/mcp/core/base_server.py:557: [W1203(logging-fstring-interpolation), BaseMCPServer._jsonrpc_list_tools] Use lazy % formatting in logging functions
tools/mcp/core/base_server.py:570: [W1203(logging-fstring-interpolation), BaseMCPServer._jsonrpc_list_tools] Use lazy % formatting in logging functions
tools/mcp/core/base_server.py:554: [W0613(unused-argument), BaseMCPServer._jsonrpc_list_tools] Unused argument 'params'
tools/mcp/core/base_server.py:602: [W0718(broad-exception-caught), BaseMCPServer._jsonrpc_call_tool] Catching too general exception Exception
tools/mcp/core/base_server.py:603: [W1203(logging-fstring-interpolation), BaseMCPServer._jsonrpc_call_tool] Use lazy % formatting in logging functions
tools/mcp/core/base_server.py:711: [W0718(broad-exception-caught), BaseMCPServer.execute_tool] Catching too general exception Exception
tools/mcp/core/base_server.py:712: [W1203(logging-fstring-interpolation), BaseMCPServer.execute_tool] Use lazy % formatting in logging functions
tools/mcp/core/base_server.py:748: [W0107(unnecessary-pass), BaseMCPServer.get_tools] Unnecessary pass statement
tools/mcp/core/base_server.py:790: [W0718(broad-exception-caught), BaseMCPServer.run_stdio.call_tool] Catching too general exception Exception
tools/mcp/core/base_server.py:791: [W1203(logging-fstring-interpolation), BaseMCPServer.run_stdio.call_tool] Use lazy % formatting in logging functions
tools/mcp/core/base_server.py:757: [W0612(unused-variable), BaseMCPServer.run_stdio] Unused variable 'tool_info'
tools/mcp/core/base_server.py:542: [W0201(attribute-defined-outside-init), BaseMCPServer._jsonrpc_initialize] Attribute '_protocol_version' defined outside __init__
tools/mcp/core/base_server.py:755: [W0201(attribute-defined-outside-init), BaseMCPServer.run_stdio] Attribute '_tools' defined outside __init__
tools/mcp/core/base_server.py:756: [W0201(attribute-defined-outside-init), BaseMCPServer.run_stdio] Attribute '_tool_funcs' defined outside __init__
tools/mcp/core/base_server.py:6: [W0611(unused-import), ] Unused import os
************* Module tools.mcp.core.http_bridge
tools/mcp/core/http_bridge.py:90: [W0718(broad-exception-caught), HTTPBridge.health] Catching too general exception Exception
tools/mcp/core/http_bridge.py:127: [W0718(broad-exception-caught), HTTPBridge.handle_mcp_request] Catching too general exception Exception
tools/mcp/core/http_bridge.py:108: [W1203(logging-fstring-interpolation), HTTPBridge.handle_mcp_request] Use lazy % formatting in logging functions
tools/mcp/core/http_bridge.py:118: [W1203(logging-fstring-interpolation), HTTPBridge.handle_mcp_request] Use lazy % formatting in logging functions
tools/mcp/core/http_bridge.py:128: [W1203(logging-fstring-interpolation), HTTPBridge.handle_mcp_request] Use lazy % formatting in logging functions
tools/mcp/core/http_bridge.py:149: [W1203(logging-fstring-interpolation), HTTPBridge.list_tools] Use lazy % formatting in logging functions
tools/mcp/core/http_bridge.py:150: [W0707(raise-missing-from), HTTPBridge.list_tools] Consider explicitly re-raising using 'raise HTTPException(status_code=500, detail=str(e)) from e'
tools/mcp/core/http_bridge.py:166: [W1203(logging-fstring-interpolation), HTTPBridge.execute_tool] Use lazy % formatting in logging functions
tools/mcp/core/http_bridge.py:167: [W0707(raise-missing-from), HTTPBridge.execute_tool] Consider explicitly re-raising using 'raise HTTPException(status_code=500, detail=str(e)) from e'
tools/mcp/core/http_bridge.py:173: [W1203(logging-fstring-interpolation), HTTPBridge.run] Use lazy % formatting in logging functions
tools/mcp/core/http_bridge.py:174: [W1203(logging-fstring-interpolation), HTTPBridge.run] Use lazy % formatting in logging functions
tools/mcp/core/http_bridge.py:175: [W1203(logging-fstring-interpolation), HTTPBridge.run] Use lazy % formatting in logging functions
************* Module tools.mcp.gemini.server
tools/mcp/gemini/server.py:62: [W0718(broad-exception-caught), GeminiMCPServer._load_gemini_config] Catching too general exception Exception
tools/mcp/gemini/server.py:54: [W1514(unspecified-encoding), GeminiMCPServer._load_gemini_config] Using open without explicitly specifying an encoding
tools/mcp/gemini/server.py:63: [W1203(logging-fstring-interpolation), GeminiMCPServer._load_gemini_config] Use lazy % formatting in logging functions
tools/mcp/gemini/server.py:87: [W0718(broad-exception-caught), GeminiMCPServer._load_gemini_config] Catching too general exception Exception
tools/mcp/gemini/server.py:84: [W1514(unspecified-encoding), GeminiMCPServer._load_gemini_config] Using open without explicitly specifying an encoding
tools/mcp/gemini/server.py:88: [W1203(logging-fstring-interpolation), GeminiMCPServer._load_gemini_config] Use lazy % formatting in logging functions
tools/mcp/gemini/server.py:104: [W1203(logging-fstring-interpolation), GeminiMCPServer._initialize_gemini] Use lazy % formatting in logging functions
tools/mcp/gemini/server.py:112: [W0613(unused-argument), GeminiMCPServer._initialize_gemini.MockGemini.consult_gemini] Unused argument 'kwargs'
tools/mcp/gemini/server.py:3: [W0611(unused-import), ] Unused import asyncio
************* Module tools.mcp.gemini.gemini_integration
tools/mcp/gemini/gemini_integration.py:133: [W0718(broad-exception-caught), GeminiIntegration.consult_gemini] Catching too general exception Exception
tools/mcp/gemini/gemini_integration.py:134: [W1203(logging-fstring-interpolation), GeminiIntegration.consult_gemini] Use lazy % formatting in logging functions
tools/mcp/gemini/gemini_integration.py:271: [W0719(broad-exception-raised), GeminiIntegration._execute_gemini_cli] Raising too general exception: Exception
tools/mcp/gemini/gemini_integration.py:276: [W0707(raise-missing-from), GeminiIntegration._execute_gemini_cli] Consider explicitly re-raising using 'except Exception as exc' and 'raise Exception(f'Gemini CLI timed out after {self.timeout} seconds') from exc'
tools/mcp/gemini/gemini_integration.py:276: [W0719(broad-exception-raised), GeminiIntegration._execute_gemini_cli] Raising too general exception: Exception
tools/mcp/gemini/gemini_integration.py:297: [W0603(global-statement), get_integration] Using the global statement
tools/mcp/gemini/scripts/test_server.py:13: [W0621(redefined-outer-name), test_gemini_server] Redefining name 'base_url' from outer scope (line 140)
tools/mcp/gemini/scripts/test_server.py:30: [W0718(broad-exception-caught), test_gemini_server] Catching too general exception Exception
tools/mcp/gemini/scripts/test_server.py:41: [W0718(broad-exception-caught), test_gemini_server] Catching too general exception Exception
tools/mcp/gemini/scripts/test_server.py:60: [W0718(broad-exception-caught), test_gemini_server] Catching too general exception Exception
tools/mcp/gemini/scripts/test_server.py:75: [W0718(broad-exception-caught), test_gemini_server] Catching too general exception Exception
tools/mcp/gemini/scripts/test_server.py:102: [W0718(broad-exception-caught), test_gemini_server] Catching too general exception Exception
tools/mcp/gemini/scripts/test_server.py:131: [W0718(broad-exception-caught), test_gemini_server] Catching too general exception Exception
tools/mcp/gemini/scripts/test_server.py:5: [W0611(unused-import), ] Unused import json
tools/mcp/gemini/scripts/test_server.py:8: [W0611(unused-import), ] Unused Path imported from pathlib
************* Module tools.mcp.content_creation.server
tools/mcp/content_creation/server.py:47: [W0621(redefined-outer-name), ContentCreationMCPServer.__init__] Redefining name 'tempfile' from outer scope (line 8)
tools/mcp/content_creation/server.py:37: [W1203(logging-fstring-interpolation), ContentCreationMCPServer.__init__] Use lazy % formatting in logging functions
tools/mcp/content_creation/server.py:44: [W0718(broad-exception-caught), ContentCreationMCPServer.__init__] Catching too general exception Exception
tools/mcp/content_creation/server.py:45: [W1203(logging-fstring-interpolation), ContentCreationMCPServer.__init__] Use lazy % formatting in logging functions
tools/mcp/content_creation/server.py:47: [W0404(reimported), ContentCreationMCPServer.__init__] Reimport 'tempfile' (imported line 8)
tools/mcp/content_creation/server.py:53: [W1203(logging-fstring-interpolation), ContentCreationMCPServer.__init__] Use lazy % formatting in logging functions
tools/mcp/content_creation/server.py:100: [W0718(broad-exception-caught), ContentCreationMCPServer._process_image_for_feedback] Catching too general exception Exception
tools/mcp/content_creation/server.py:101: [W1203(logging-fstring-interpolation), ContentCreationMCPServer._process_image_for_feedback] Use lazy % formatting in logging functions
tools/mcp/content_creation/server.py:117: [W1203(logging-fstring-interpolation), ContentCreationMCPServer._run_subprocess_with_logging] Use lazy % formatting in logging functions
tools/mcp/content_creation/server.py:121: [W1203(logging-fstring-interpolation), ContentCreationMCPServer._run_subprocess_with_logging] Use lazy % formatting in logging functions
tools/mcp/content_creation/server.py:124: [W1203(logging-fstring-interpolation), ContentCreationMCPServer._run_subprocess_with_logging] Use lazy % formatting in logging functions
tools/mcp/content_creation/server.py:127: [W1203(logging-fstring-interpolation), ContentCreationMCPServer._run_subprocess_with_logging] Use lazy % formatting in logging functions
tools/mcp/content_creation/server.py:308: [W0718(broad-exception-caught), ContentCreationMCPServer.create_manim_animation] Catching too general exception Exception
tools/mcp/content_creation/server.py:309: [W1203(logging-fstring-interpolation), ContentCreationMCPServer.create_manim_animation] Use lazy % formatting in logging functions
tools/mcp/content_creation/server.py:273: [W0612(unused-variable), ContentCreationMCPServer.create_manim_animation] Unused variable 'dirs'
tools/mcp/content_creation/server.py:315: [W0622(redefined-builtin), ContentCreationMCPServer.compile_latex] Redefining built-in 'format'
tools/mcp/content_creation/server.py:445: [W0718(broad-exception-caught), ContentCreationMCPServer.compile_latex] Catching too general exception Exception
tools/mcp/content_creation/server.py:232: [R1702(too-many-nested-blocks), ContentCreationMCPServer.create_manim_animation] Too many nested blocks (7/5)
tools/mcp/content_creation/server.py:346: [W1514(unspecified-encoding), ContentCreationMCPServer.compile_latex] Using open without explicitly specifying an encoding
tools/mcp/content_creation/server.py:420: [W0718(broad-exception-caught), ContentCreationMCPServer.compile_latex] Catching too general exception Exception
tools/mcp/content_creation/server.py:421: [W1203(logging-fstring-interpolation), ContentCreationMCPServer.compile_latex] Use lazy % formatting in logging functions
tools/mcp/content_creation/server.py:430: [W1514(unspecified-encoding), ContentCreationMCPServer.compile_latex] Using open without explicitly specifying an encoding
tools/mcp/content_creation/server.py:446: [W1203(logging-fstring-interpolation), ContentCreationMCPServer.compile_latex] Use lazy % formatting in logging functions
tools/mcp/content_creation/server.py:531: [W0718(broad-exception-caught), ContentCreationMCPServer.render_tikz] Catching too general exception Exception
tools/mcp/content_creation/server.py:520: [W0718(broad-exception-caught), ContentCreationMCPServer.render_tikz] Catching too general exception Exception
tools/mcp/content_creation/server.py:513: [W1514(unspecified-encoding), ContentCreationMCPServer.render_tikz] Using open without explicitly specifying an encoding
tools/mcp/content_creation/server.py:521: [W1203(logging-fstring-interpolation), ContentCreationMCPServer.render_tikz] Use lazy % formatting in logging functions
tools/mcp/content_creation/server.py:562: [W0718(broad-exception-caught), ContentCreationMCPServer.render_tikz] Catching too general exception Exception
tools/mcp/content_creation/server.py:563: [W1203(logging-fstring-interpolation), ContentCreationMCPServer.render_tikz] Use lazy % formatting in logging functions
************* Module tools.mcp.content_creation.tools
tools/mcp/content_creation/tools.py:71: [W0718(broad-exception-caught), create_manim_animation] Catching too general exception Exception
tools/mcp/content_creation/tools.py:47: [W1510(subprocess-run-check), create_manim_animation] 'subprocess.run' used without explicitly defining the value for 'check'.
tools/mcp/content_creation/tools.py:27: [W0613(unused-argument), create_manim_animation] Unused argument 'quality'
tools/mcp/content_creation/tools.py:28: [W0613(unused-argument), create_manim_animation] Unused argument 'preview'
tools/mcp/content_creation/tools.py:78: [W0622(redefined-builtin), compile_latex] Redefining built-in 'format'
tools/mcp/content_creation/tools.py:124: [W0718(broad-exception-caught), compile_latex] Catching too general exception Exception
tools/mcp/content_creation/tools.py:92: [W1514(unspecified-encoding), compile_latex] Using open without explicitly specifying an encoding
tools/mcp/content_creation/tools.py:104: [W1510(subprocess-run-check), compile_latex] 'subprocess.run' used without explicitly defining the value for 'check'.
tools/mcp/content_creation/tools.py:79: [W0613(unused-argument), compile_latex] Unused argument 'template'
tools/mcp/content_creation/scripts/test_server.py:12: [W0621(redefined-outer-name), test_content_creation_server] Redefining name 'base_url' from outer scope (line 172)
tools/mcp/content_creation/scripts/test_server.py:23: [W0718(broad-exception-caught), test_content_creation_server] Catching too general exception Exception
tools/mcp/content_creation/scripts/test_server.py:34: [W0718(broad-exception-caught), test_content_creation_server] Catching too general exception Exception
tools/mcp/content_creation/scripts/test_server.py:73: [W0718(broad-exception-caught), test_content_creation_server] Catching too general exception Exception
tools/mcp/content_creation/scripts/test_server.py:100: [W0718(broad-exception-caught), test_content_creation_server] Catching too general exception Exception
tools/mcp/content_creation/scripts/test_server.py:145: [W0718(broad-exception-caught), test_content_creation_server] Catching too general exception Exception
tools/mcp/content_creation/scripts/test_server.py:164: [W0718(broad-exception-caught), test_content_creation_server] Catching too general exception Exception
tools/mcp/content_creation/scripts/test_server.py:5: [W0611(unused-import), ] Unused import json
tools/mcp/content_creation/scripts/test_server.py:7: [W0611(unused-import), ] Unused Path imported from pathlib
************* Module tools.mcp.opencode.server
tools/mcp/opencode/server.py:47: [W0718(broad-exception-caught), OpenCodeMCPServer._load_opencode_config] Catching too general exception Exception
tools/mcp/opencode/server.py:39: [W1514(unspecified-encoding), OpenCodeMCPServer._load_opencode_config] Using open without explicitly specifying an encoding
tools/mcp/opencode/server.py:48: [W1203(logging-fstring-interpolation), OpenCodeMCPServer._load_opencode_config] Use lazy % formatting in logging functions
tools/mcp/opencode/server.py:71: [W0718(broad-exception-caught), OpenCodeMCPServer._load_opencode_config] Catching too general exception Exception
tools/mcp/opencode/server.py:68: [W1514(unspecified-encoding), OpenCodeMCPServer._load_opencode_config] Using open without explicitly specifying an encoding
tools/mcp/opencode/server.py:72: [W1203(logging-fstring-interpolation), OpenCodeMCPServer._load_opencode_config] Use lazy % formatting in logging functions
tools/mcp/opencode/server.py:88: [W1203(logging-fstring-interpolation), OpenCodeMCPServer._initialize_opencode] Use lazy % formatting in logging functions
tools/mcp/opencode/server.py:96: [W0613(unused-argument), OpenCodeMCPServer._initialize_opencode.MockOpenCode.consult_opencode] Unused argument 'kwargs'
************* Module tools.mcp.opencode.opencode_integration
tools/mcp/opencode/opencode_integration.py:94: [W0718(broad-exception-caught), OpenCodeIntegration.generate_code] Catching too general exception Exception
tools/mcp/opencode/opencode_integration.py:95: [W1203(logging-fstring-interpolation), OpenCodeIntegration.generate_code] Use lazy % formatting in logging functions
tools/mcp/opencode/opencode_integration.py:116: [W0613(unused-argument), OpenCodeIntegration.consult_opencode] Unused argument 'comparison_mode'
tools/mcp/opencode/opencode_integration.py:254: [W0706(try-except-raise), OpenCodeIntegration._execute_opencode_docker] The except handler raises immediately
tools/mcp/opencode/opencode_integration.py:243: [W0719(broad-exception-raised), OpenCodeIntegration._execute_opencode_docker] Raising too general exception: Exception
tools/mcp/opencode/opencode_integration.py:253: [W0707(raise-missing-from), OpenCodeIntegration._execute_opencode_docker] Consider explicitly re-raising using 'except Exception as exc' and 'raise Exception(f'OpenCode API request timed out after {self.timeout} seconds') from exc'
tools/mcp/opencode/opencode_integration.py:253: [W0719(broad-exception-raised), OpenCodeIntegration._execute_opencode_docker] Raising too general exception: Exception
tools/mcp/opencode/opencode_integration.py:275: [W0603(global-statement), get_integration] Using the global statement
tools/mcp/opencode/scripts/test_server.py:39: [W0718(broad-exception-caught), test_opencode_server] Catching too general exception Exception
tools/mcp/opencode/scripts/test_server.py:53: [W0718(broad-exception-caught), test_opencode_server] Catching too general exception Exception
tools/mcp/opencode/scripts/test_server.py:84: [W0718(broad-exception-caught), test_opencode_server] Catching too general exception Exception
tools/mcp/opencode/scripts/test_server.py:112: [W0718(broad-exception-caught), test_opencode_server] Catching too general exception Exception
tools/mcp/opencode/scripts/test_server.py:135: [W0718(broad-exception-caught), test_opencode_server] Catching too general exception Exception
tools/mcp/opencode/scripts/test_server.py:154: [W0718(broad-exception-caught), test_opencode_server] Catching too general exception Exception
tools/mcp/opencode/scripts/test_server.py:176: [W0718(broad-exception-caught), test_opencode_server] Catching too general exception Exception
tools/mcp/opencode/scripts/test_server.py:192: [W0718(broad-exception-caught), test_opencode_server] Catching too general exception Exception
************* Module tools.mcp.gemini_mcp_server_http
tools/mcp/gemini_mcp_server_http.py:40: [C0413(wrong-import-position), ] Import "from tools.gemini.gemini_integration import GeminiIntegration" should be placed at the top of the module
tools/mcp/gemini_mcp_server_http.py:114: [W0707(raise-missing-from), consult_gemini] Consider explicitly re-raising using 'raise HTTPException(status_code=500, detail=f"Gemini CLI command failed: {e.stderr if hasattr(e, 'stderr') else str(e)}") from e'
tools/mcp/gemini_mcp_server_http.py:119: [W0707(raise-missing-from), consult_gemini] Consider explicitly re-raising using 'raise HTTPException(status_code=500, detail=str(e)) from e'
tools/mcp/gemini_mcp_server_http.py:139: [W0707(raise-missing-from), clear_gemini_history] Consider explicitly re-raising using 'raise HTTPException(status_code=500, detail=str(e)) from e'
tools/mcp/gemini_mcp_server_http.py:161: [W0621(redefined-outer-name), run_http_server] Redefining name 'port' from outer scope (line 174)
************* Module tools.mcp.comfyui.stubs
tools/mcp/comfyui/stubs.py:11: [W0613(unused-argument), generate_image] Unused argument 'prompt'
tools/mcp/comfyui/stubs.py:12: [W0613(unused-argument), generate_image] Unused argument 'workflow'
tools/mcp/comfyui/stubs.py:13: [W0613(unused-argument), generate_image] Unused argument 'negative_prompt'
tools/mcp/comfyui/stubs.py:14: [W0613(unused-argument), generate_image] Unused argument 'width'
tools/mcp/comfyui/stubs.py:15: [W0613(unused-argument), generate_image] Unused argument 'height'
tools/mcp/comfyui/stubs.py:16: [W0613(unused-argument), generate_image] Unused argument 'seed'
tools/mcp/comfyui/stubs.py:17: [W0613(unused-argument), generate_image] Unused argument 'steps'
tools/mcp/comfyui/stubs.py:18: [W0613(unused-argument), generate_image] Unused argument 'cfg_scale'
tools/mcp/comfyui/stubs.py:47: [W0613(unused-argument), get_workflow] Unused argument 'name'
tools/mcp/comfyui/stubs.py:59: [W0622(redefined-builtin), list_models] Redefining built-in 'type'
tools/mcp/comfyui/stubs.py:59: [W0613(unused-argument), list_models] Unused argument 'type'
tools/mcp/comfyui/stubs.py:71: [W0613(unused-argument), upload_lora] Unused argument 'filename'
tools/mcp/comfyui/stubs.py:71: [W0613(unused-argument), upload_lora] Unused argument 'data'
tools/mcp/comfyui/stubs.py:71: [W0613(unused-argument), upload_lora] Unused argument 'metadata'
tools/mcp/comfyui/stubs.py:86: [W0613(unused-argument), upload_lora_chunked_init] Unused argument 'filename'
tools/mcp/comfyui/stubs.py:86: [W0613(unused-argument), upload_lora_chunked_init] Unused argument 'total_size'
tools/mcp/comfyui/stubs.py:86: [W0613(unused-argument), upload_lora_chunked_init] Unused argument 'metadata'
tools/mcp/comfyui/stubs.py:101: [W0613(unused-argument), upload_lora_chunk] Unused argument 'upload_id'
tools/mcp/comfyui/stubs.py:101: [W0613(unused-argument), upload_lora_chunk] Unused argument 'chunk_index'
tools/mcp/comfyui/stubs.py:101: [W0613(unused-argument), upload_lora_chunk] Unused argument 'chunk'
tools/mcp/comfyui/stubs.py:101: [W0613(unused-argument), upload_lora_chunk] Unused argument 'total_chunks'
tools/mcp/comfyui/stubs.py:116: [W0613(unused-argument), upload_lora_chunked_complete] Unused argument 'upload_id'
tools/mcp/comfyui/stubs.py:137: [W0613(unused-argument), download_lora] Unused argument 'filename'
tools/mcp/comfyui/stubs.py:137: [W0613(unused-argument), download_lora] Unused argument 'encoding'
tools/mcp/comfyui/stubs.py:168: [W0613(unused-argument), transfer_lora_from_ai_toolkit] Unused argument 'model_name'
tools/mcp/comfyui/stubs.py:168: [W0613(unused-argument), transfer_lora_from_ai_toolkit] Unused argument 'filename'
tools/mcp/comfyui/stubs.py:181: [W0613(unused-argument), execute_workflow] Unused argument 'workflow'
tools/mcp/comfyui/stubs.py:181: [W0613(unused-argument), execute_workflow] Unused argument 'client_id'
************* Module tools.mcp.comfyui.server
tools/mcp/comfyui/server.py:259: [W0718(broad-exception-caught), ComfyUIMCPServer._queue_prompt] Catching too general exception Exception
tools/mcp/comfyui/server.py:257: [W1203(logging-fstring-interpolation), ComfyUIMCPServer._queue_prompt] Use lazy % formatting in logging functions
tools/mcp/comfyui/server.py:260: [W1203(logging-fstring-interpolation), ComfyUIMCPServer._queue_prompt] Use lazy % formatting in logging functions
tools/mcp/comfyui/server.py:272: [W0718(broad-exception-caught), ComfyUIMCPServer._get_history] Catching too general exception Exception
tools/mcp/comfyui/server.py:273: [W1203(logging-fstring-interpolation), ComfyUIMCPServer._get_history] Use lazy % formatting in logging functions
tools/mcp/comfyui/server.py:311: [W0612(unused-variable), ComfyUIMCPServer.generate_image] Unused variable 'node_id'
tools/mcp/comfyui/server.py:359: [W0613(unused-argument), ComfyUIMCPServer.list_workflows] Unused argument 'kwargs'
tools/mcp/comfyui/server.py:428: [W0718(broad-exception-caught), ComfyUIMCPServer.list_models] Catching too general exception Exception
tools/mcp/comfyui/server.py:423: [W1203(logging-fstring-interpolation), ComfyUIMCPServer.list_models] Use lazy % formatting in logging functions
tools/mcp/comfyui/server.py:426: [W1203(logging-fstring-interpolation), ComfyUIMCPServer.list_models] Use lazy % formatting in logging functions
tools/mcp/comfyui/server.py:429: [W1203(logging-fstring-interpolation), ComfyUIMCPServer.list_models] Use lazy % formatting in logging functions
tools/mcp/comfyui/server.py:468: [W0718(broad-exception-caught), ComfyUIMCPServer.upload_lora] Catching too general exception Exception
tools/mcp/comfyui/server.py:455: [W1514(unspecified-encoding), ComfyUIMCPServer.upload_lora] Using open without explicitly specifying an encoding
tools/mcp/comfyui/server.py:460: [W1203(logging-fstring-interpolation), ComfyUIMCPServer.upload_lora] Use lazy % formatting in logging functions
tools/mcp/comfyui/server.py:463: [W1203(logging-fstring-interpolation), ComfyUIMCPServer.upload_lora] Use lazy % formatting in logging functions
tools/mcp/comfyui/server.py:466: [W1203(logging-fstring-interpolation), ComfyUIMCPServer.upload_lora] Use lazy % formatting in logging functions
tools/mcp/comfyui/server.py:469: [W1203(logging-fstring-interpolation), ComfyUIMCPServer.upload_lora] Use lazy % formatting in logging functions
tools/mcp/comfyui/server.py:472: [W0613(unused-argument), ComfyUIMCPServer.list_loras] Unused argument 'kwargs'
tools/mcp/comfyui/server.py:509: [W0718(broad-exception-caught), ComfyUIMCPServer.download_lora] Catching too general exception Exception
tools/mcp/comfyui/server.py:523: [W0718(broad-exception-caught), ComfyUIMCPServer.get_object_info] Catching too general exception Exception
tools/mcp/comfyui/server.py:514: [W0613(unused-argument), ComfyUIMCPServer.get_object_info] Unused argument 'kwargs'
tools/mcp/comfyui/server.py:535: [W0718(broad-exception-caught), ComfyUIMCPServer.get_system_info] Catching too general exception Exception
tools/mcp/comfyui/server.py:526: [W0613(unused-argument), ComfyUIMCPServer.get_system_info] Unused argument 'kwargs'
tools/mcp/comfyui/scripts/test_server.py:35: [W0718(broad-exception-caught), test_tools_list] Catching too general exception Exception
tools/mcp/comfyui/scripts/test_server.py:61: [W0718(broad-exception-caught), test_list_models] Catching too general exception Exception
tools/mcp/comfyui/scripts/test_server.py:88: [W0718(broad-exception-caught), test_list_loras] Catching too general exception Exception
tools/mcp/comfyui/scripts/test_server.py:116: [W0718(broad-exception-caught), test_system_info] Catching too general exception Exception
tools/mcp/comfyui/scripts/test_server.py:135: [W0718(broad-exception-caught), test_health_check] Catching too general exception Exception
************* Module tools.mcp.gemini_mcp_server
tools/mcp/gemini_mcp_server.py:15: [R0402(consider-using-from-import), ] Use 'from mcp import types' instead
tools/mcp/gemini_mcp_server.py:38: [C0413(wrong-import-position), ] Import "from tools.gemini.gemini_integration import get_integration" should be placed at the top of the module
tools/mcp/gemini_mcp_server.py:70: [W0718(broad-exception-caught), MCPServer._load_gemini_config] Catching too general exception Exception
tools/mcp/gemini_mcp_server.py:62: [W1514(unspecified-encoding), MCPServer._load_gemini_config] Using open without explicitly specifying an encoding
tools/mcp/gemini_mcp_server.py:95: [W0718(broad-exception-caught), MCPServer._load_gemini_config] Catching too general exception Exception
tools/mcp/gemini_mcp_server.py:92: [W1514(unspecified-encoding), MCPServer._load_gemini_config] Using open without explicitly specifying an encoding
tools/mcp/gemini_mcp_server.py:132: [W0613(unused-argument), MCPServer._setup_tools.gemini_status] Unused argument 'arguments'
tools/mcp/gemini_mcp_server.py:154: [W0613(unused-argument), MCPServer._setup_tools.clear_gemini_history] Unused argument 'arguments'
tools/mcp/gemini_mcp_server.py:269: [W0718(broad-exception-caught), MCPServer._get_gemini_status] Catching too general exception Exception
tools/mcp/gemini_mcp_server.py:243: [W0718(broad-exception-caught), MCPServer._get_gemini_status] Catching too general exception Exception
tools/mcp/gemini_mcp_server.py:213: [R1702(too-many-nested-blocks), MCPServer._get_gemini_status] Too many nested blocks (6/5)
tools/mcp/gemini_mcp_server.py:223: [W0612(unused-variable), MCPServer._get_gemini_status] Unused variable 'stdout'
tools/mcp/gemini_mcp_server.py:377: [W1404(implicit-str-concat), ] Implicit string concatenation found in call
tools/mcp/gemini_mcp_server.py:383: [C0412(ungrouped-imports), ] Imports from package tools are not grouped
************* Module tools.mcp.ai_toolkit.stubs
tools/mcp/ai_toolkit/stubs.py:11: [W0613(unused-argument), create_training_config] Unused argument 'name'
tools/mcp/ai_toolkit/stubs.py:12: [W0613(unused-argument), create_training_config] Unused argument 'model_name'
tools/mcp/ai_toolkit/stubs.py:13: [W0613(unused-argument), create_training_config] Unused argument 'dataset_path'
tools/mcp/ai_toolkit/stubs.py:14: [W0613(unused-argument), create_training_config] Unused argument 'resolution'
tools/mcp/ai_toolkit/stubs.py:15: [W0613(unused-argument), create_training_config] Unused argument 'steps'
tools/mcp/ai_toolkit/stubs.py:16: [W0613(unused-argument), create_training_config] Unused argument 'rank'
tools/mcp/ai_toolkit/stubs.py:17: [W0613(unused-argument), create_training_config] Unused argument 'alpha'
tools/mcp/ai_toolkit/stubs.py:18: [W0613(unused-argument), create_training_config] Unused argument 'low_vram'
tools/mcp/ai_toolkit/stubs.py:19: [W0613(unused-argument), create_training_config] Unused argument 'trigger_word'
tools/mcp/ai_toolkit/stubs.py:20: [W0613(unused-argument), create_training_config] Unused argument 'test_prompts'
tools/mcp/ai_toolkit/stubs.py:51: [W0613(unused-argument), get_config] Unused argument 'name'
tools/mcp/ai_toolkit/stubs.py:63: [W0613(unused-argument), upload_dataset] Unused argument 'dataset_name'
tools/mcp/ai_toolkit/stubs.py:63: [W0613(unused-argument), upload_dataset] Unused argument 'images'
tools/mcp/ai_toolkit/stubs.py:88: [W0613(unused-argument), start_training] Unused argument 'config_name'
tools/mcp/ai_toolkit/stubs.py:100: [W0613(unused-argument), get_training_status] Unused argument 'job_id'
tools/mcp/ai_toolkit/stubs.py:112: [W0613(unused-argument), stop_training] Unused argument 'job_id'
tools/mcp/ai_toolkit/stubs.py:133: [W0613(unused-argument), export_model] Unused argument 'model_name'
tools/mcp/ai_toolkit/stubs.py:133: [W0613(unused-argument), export_model] Unused argument 'output_path'
tools/mcp/ai_toolkit/stubs.py:155: [W0613(unused-argument), download_model] Unused argument 'model_name'
tools/mcp/ai_toolkit/stubs.py:155: [W0613(unused-argument), download_model] Unused argument 'encoding'
tools/mcp/ai_toolkit/stubs.py:177: [W0613(unused-argument), get_training_logs] Unused argument 'job_id'
tools/mcp/ai_toolkit/stubs.py:177: [W0613(unused-argument), get_training_logs] Unused argument 'lines'
************* Module tools.mcp.ai_toolkit.server
tools/mcp/ai_toolkit/server.py:319: [W0718(broad-exception-caught), AIToolkitMCPServer.create_training_config] Catching too general exception Exception
tools/mcp/ai_toolkit/server.py:308: [W1514(unspecified-encoding), AIToolkitMCPServer.create_training_config] Using open without explicitly specifying an encoding
tools/mcp/ai_toolkit/server.py:311: [W1203(logging-fstring-interpolation), AIToolkitMCPServer.create_training_config] Use lazy % formatting in logging functions
tools/mcp/ai_toolkit/server.py:314: [W1203(logging-fstring-interpolation), AIToolkitMCPServer.create_training_config] Use lazy % formatting in logging functions
tools/mcp/ai_toolkit/server.py:317: [W1203(logging-fstring-interpolation), AIToolkitMCPServer.create_training_config] Use lazy % formatting in logging functions
tools/mcp/ai_toolkit/server.py:320: [W1203(logging-fstring-interpolation), AIToolkitMCPServer.create_training_config] Use lazy % formatting in logging functions
tools/mcp/ai_toolkit/server.py:323: [W0613(unused-argument), AIToolkitMCPServer.list_configs] Unused argument 'kwargs'
tools/mcp/ai_toolkit/server.py:346: [W0718(broad-exception-caught), AIToolkitMCPServer.get_config] Catching too general exception Exception
tools/mcp/ai_toolkit/server.py:339: [W1514(unspecified-encoding), AIToolkitMCPServer.get_config] Using open without explicitly specifying an encoding
tools/mcp/ai_toolkit/server.py:385: [W0718(broad-exception-caught), AIToolkitMCPServer.upload_dataset] Catching too general exception Exception
tools/mcp/ai_toolkit/server.py:375: [W1514(unspecified-encoding), AIToolkitMCPServer.upload_dataset] Using open without explicitly specifying an encoding
tools/mcp/ai_toolkit/server.py:380: [W1203(logging-fstring-interpolation), AIToolkitMCPServer.upload_dataset] Use lazy % formatting in logging functions
tools/mcp/ai_toolkit/server.py:382: [W1203(logging-fstring-interpolation), AIToolkitMCPServer.upload_dataset] Use lazy % formatting in logging functions
tools/mcp/ai_toolkit/server.py:384: [W1203(logging-fstring-interpolation), AIToolkitMCPServer.upload_dataset] Use lazy % formatting in logging functions
tools/mcp/ai_toolkit/server.py:386: [W1203(logging-fstring-interpolation), AIToolkitMCPServer.upload_dataset] Use lazy % formatting in logging functions
tools/mcp/ai_toolkit/server.py:395: [W0613(unused-argument), AIToolkitMCPServer.list_datasets] Unused argument 'kwargs'
tools/mcp/ai_toolkit/server.py:453: [W0718(broad-exception-caught), AIToolkitMCPServer.start_training] Catching too general exception Exception
tools/mcp/ai_toolkit/server.py:425: [W1514(unspecified-encoding), AIToolkitMCPServer.start_training] Using open without explicitly specifying an encoding
tools/mcp/ai_toolkit/server.py:444: [W1203(logging-fstring-interpolation), AIToolkitMCPServer.start_training] Use lazy % formatting in logging functions
tools/mcp/ai_toolkit/server.py:448: [W1203(logging-fstring-interpolation), AIToolkitMCPServer.start_training] Use lazy % formatting in logging functions
tools/mcp/ai_toolkit/server.py:451: [W1203(logging-fstring-interpolation), AIToolkitMCPServer.start_training] Use lazy % formatting in logging functions
tools/mcp/ai_toolkit/server.py:454: [W1203(logging-fstring-interpolation), AIToolkitMCPServer.start_training] Use lazy % formatting in logging functions
tools/mcp/ai_toolkit/server.py:521: [W0718(broad-exception-caught), AIToolkitMCPServer.get_training_status] Catching too general exception Exception
tools/mcp/ai_toolkit/server.py:509: [W1514(unspecified-encoding), AIToolkitMCPServer.get_training_status] Using open without explicitly specifying an encoding
tools/mcp/ai_toolkit/server.py:533: [W0613(unused-argument), AIToolkitMCPServer.list_training_jobs] Unused argument 'kwargs'
tools/mcp/ai_toolkit/server.py:572: [W0718(broad-exception-caught), AIToolkitMCPServer.export_model] Catching too general exception Exception
tools/mcp/ai_toolkit/server.py:577: [W0613(unused-argument), AIToolkitMCPServer.list_exported_models] Unused argument 'kwargs'
tools/mcp/ai_toolkit/server.py:629: [W0718(broad-exception-caught), AIToolkitMCPServer.download_model] Catching too general exception Exception
tools/mcp/ai_toolkit/server.py:652: [W0718(broad-exception-caught), AIToolkitMCPServer.get_system_stats] Catching too general exception Exception
tools/mcp/ai_toolkit/server.py:634: [W0613(unused-argument), AIToolkitMCPServer.get_system_stats] Unused argument 'kwargs'
tools/mcp/ai_toolkit/server.py:680: [W0718(broad-exception-caught), AIToolkitMCPServer.get_training_logs] Catching too general exception Exception
tools/mcp/ai_toolkit/server.py:673: [W1514(unspecified-encoding), AIToolkitMCPServer.get_training_logs] Using open without explicitly specifying an encoding
tools/mcp/ai_toolkit/server.py:685: [W0613(unused-argument), AIToolkitMCPServer.get_training_info] Unused argument 'kwargs'
tools/mcp/ai_toolkit/server.py:425: [R1732(consider-using-with), AIToolkitMCPServer.start_training] Consider using 'with' for resource-allocating operations
tools/mcp/ai_toolkit/scripts/test_server.py:35: [W0718(broad-exception-caught), test_tools_list] Catching too general exception Exception
tools/mcp/ai_toolkit/scripts/test_server.py:61: [W0718(broad-exception-caught), test_list_configs] Catching too general exception Exception
tools/mcp/ai_toolkit/scripts/test_server.py:89: [W0718(broad-exception-caught), test_system_stats] Catching too general exception Exception
tools/mcp/ai_toolkit/scripts/test_server.py:108: [W0718(broad-exception-caught), test_health_check] Catching too general exception Exception
************* Module tools.mcp.elevenlabs_speech.client
tools/mcp/elevenlabs_speech/client.py:139: [W0718(broad-exception-caught), ElevenLabsClient.synthesize_speech] Catching too general exception Exception
tools/mcp/elevenlabs_speech/client.py:93: [W1203(logging-fstring-interpolation), ElevenLabsClient.synthesize_speech] Use lazy % formatting in logging functions
tools/mcp/elevenlabs_speech/client.py:101: [W1203(logging-fstring-interpolation), ElevenLabsClient.synthesize_speech] Use lazy % formatting in logging functions
tools/mcp/elevenlabs_speech/client.py:141: [W1203(logging-fstring-interpolation), ElevenLabsClient.synthesize_speech] Use lazy % formatting in logging functions
tools/mcp/elevenlabs_speech/client.py:245: [W0718(broad-exception-caught), ElevenLabsClient.generate_sound_effect] Catching too general exception Exception
tools/mcp/elevenlabs_speech/client.py:223: [W1203(logging-fstring-interpolation), ElevenLabsClient.generate_sound_effect] Use lazy % formatting in logging functions
tools/mcp/elevenlabs_speech/client.py:226: [W1203(logging-fstring-interpolation), ElevenLabsClient.generate_sound_effect] Use lazy % formatting in logging functions
tools/mcp/elevenlabs_speech/client.py:247: [W1203(logging-fstring-interpolation), ElevenLabsClient.generate_sound_effect] Use lazy % formatting in logging functions
tools/mcp/elevenlabs_speech/client.py:268: [W0718(broad-exception-caught), ElevenLabsClient.get_voices] Catching too general exception Exception
tools/mcp/elevenlabs_speech/client.py:263: [W1203(logging-fstring-interpolation), ElevenLabsClient.get_voices] Use lazy % formatting in logging functions
tools/mcp/elevenlabs_speech/client.py:266: [W1203(logging-fstring-interpolation), ElevenLabsClient.get_voices] Use lazy % formatting in logging functions
tools/mcp/elevenlabs_speech/client.py:269: [W1203(logging-fstring-interpolation), ElevenLabsClient.get_voices] Use lazy % formatting in logging functions
tools/mcp/elevenlabs_speech/client.py:292: [W0718(broad-exception-caught), ElevenLabsClient.get_voice_by_id] Catching too general exception Exception
tools/mcp/elevenlabs_speech/client.py:287: [W1203(logging-fstring-interpolation), ElevenLabsClient.get_voice_by_id] Use lazy % formatting in logging functions
tools/mcp/elevenlabs_speech/client.py:290: [W1203(logging-fstring-interpolation), ElevenLabsClient.get_voice_by_id] Use lazy % formatting in logging functions
tools/mcp/elevenlabs_speech/client.py:293: [W1203(logging-fstring-interpolation), ElevenLabsClient.get_voice_by_id] Use lazy % formatting in logging functions
tools/mcp/elevenlabs_speech/client.py:313: [W0718(broad-exception-caught), ElevenLabsClient.get_user_info] Catching too general exception Exception
tools/mcp/elevenlabs_speech/client.py:308: [W1203(logging-fstring-interpolation), ElevenLabsClient.get_user_info] Use lazy % formatting in logging functions
tools/mcp/elevenlabs_speech/client.py:311: [W1203(logging-fstring-interpolation), ElevenLabsClient.get_user_info] Use lazy % formatting in logging functions
tools/mcp/elevenlabs_speech/client.py:314: [W1203(logging-fstring-interpolation), ElevenLabsClient.get_user_info] Use lazy % formatting in logging functions
tools/mcp/elevenlabs_speech/client.py:334: [W0718(broad-exception-caught), ElevenLabsClient.get_models] Catching too general exception Exception
tools/mcp/elevenlabs_speech/client.py:329: [W1203(logging-fstring-interpolation), ElevenLabsClient.get_models] Use lazy % formatting in logging functions
tools/mcp/elevenlabs_speech/client.py:332: [W1203(logging-fstring-interpolation), ElevenLabsClient.get_models] Use lazy % formatting in logging functions
tools/mcp/elevenlabs_speech/client.py:335: [W1203(logging-fstring-interpolation), ElevenLabsClient.get_models] Use lazy % formatting in logging functions
tools/mcp/elevenlabs_speech/client.py:385: [W1203(logging-fstring-interpolation), ElevenLabsClient._save_audio] Use lazy % formatting in logging functions
tools/mcp/elevenlabs_speech/client.py:401: [W1203(logging-fstring-interpolation), ElevenLabsClient._save_audio] Use lazy % formatting in logging functions
tools/mcp/elevenlabs_speech/client.py:419: [W1514(unspecified-encoding), ElevenLabsClient._save_audio] Using open without explicitly specifying an encoding
tools/mcp/elevenlabs_speech/client.py:474: [W1203(logging-fstring-interpolation), quick_synthesize] Use lazy % formatting in logging functions
************* Module tools.mcp.elevenlabs_speech.voice_registry
tools/mcp/elevenlabs_speech/voice_registry.py:61: [R0902(too-many-instance-attributes), CharacterProfile] Too many instance attributes (20/15)
************* Module tools.mcp.elevenlabs_speech.models.synthesis_config
tools/mcp/elevenlabs_speech/models/synthesis_config.py:107: [R1730(consider-using-min-builtin), SoundEffectConfig.validate] Consider using 'self.duration_seconds = min(self.duration_seconds, 22)' instead of unnecessary if block
tools/mcp/elevenlabs_speech/models/synthesis_config.py:109: [R1731(consider-using-max-builtin), SoundEffectConfig.validate] Consider using 'self.duration_seconds = max(self.duration_seconds, 0.5)' instead of unnecessary if block
************* Module tools.mcp.elevenlabs_speech.upload
tools/mcp/elevenlabs_speech/upload.py:66: [W0718(broad-exception-caught), AudioUploader.upload_to_0x0st] Catching too general exception Exception
tools/mcp/elevenlabs_speech/upload.py:140: [W0718(broad-exception-caught), AudioUploader.upload_to_tmpfiles] Catching too general exception Exception
tools/mcp/elevenlabs_speech/upload.py:84: [R1702(too-many-nested-blocks), AudioUploader.upload_to_tmpfiles] Too many nested blocks (6/5)
tools/mcp/elevenlabs_speech/upload.py:195: [W0718(broad-exception-caught), AudioUploader.upload_to_fileio] Catching too general exception Exception
tools/mcp/elevenlabs_speech/upload.py:223: [W1203(logging-fstring-interpolation), AudioUploader.upload] Use lazy % formatting in logging functions
tools/mcp/elevenlabs_speech/upload.py:199: [W0613(unused-argument), AudioUploader.upload] Unused argument 'preferred_format'
tools/mcp/elevenlabs_speech/upload.py:289: [W1203(logging-fstring-interpolation), upload_audio] Use lazy % formatting in logging functions
tools/mcp/elevenlabs_speech/upload.py:290: [W1203(logging-fstring-interpolation), upload_audio] Use lazy % formatting in logging functions
tools/mcp/elevenlabs_speech/upload.py:293: [W1203(logging-fstring-interpolation), upload_audio] Use lazy % formatting in logging functions
************* Module tools.mcp.elevenlabs_speech.server
tools/mcp/elevenlabs_speech/server.py:14: [C0413(wrong-import-position), ] Import "from core.base_server import BaseMCPServer" should be placed at the top of the module
tools/mcp/elevenlabs_speech/server.py:15: [C0413(wrong-import-position), ] Import "from core.utils import setup_logging" should be placed at the top of the module
tools/mcp/elevenlabs_speech/server.py:17: [C0413(wrong-import-position), ] Import "from .client import ElevenLabsClient" should be placed at the top of the module
tools/mcp/elevenlabs_speech/server.py:18: [C0413(wrong-import-position), ] Import "from .models import AUDIO_TAGS, VOICE_PRESETS, AudioTagCategory, GitHubAudioConfig, OutputFormat, SynthesisConfig, VoiceModel, VoiceSettings, create_expressive_text, parse_audio_tags, suggest_tags, validate_tag_compatibility" should be placed at the top of the module
tools/mcp/elevenlabs_speech/server.py:32: [C0413(wrong-import-position), ] Import "from .upload import upload_audio" should be placed at the top of the module
tools/mcp/elevenlabs_speech/server.py:33: [C0413(wrong-import-position), ] Import "from .utils.model_aware_prompting import ModelAwarePrompter" should be placed at the top of the module
tools/mcp/elevenlabs_speech/server.py:34: [C0413(wrong-import-position), ] Import "from .utils.prompting import EmotionalEnhancer, NaturalSpeechEnhancer, PromptOptimizer, VoiceDirector" should be placed at the top of the module
tools/mcp/elevenlabs_speech/server.py:35: [C0413(wrong-import-position), ] Import "from .voice_registry import VOICE_IDS" should be placed at the top of the module
tools/mcp/elevenlabs_speech/server.py:88: [W0718(broad-exception-caught), ElevenLabsSpeechMCPServer._load_config] Catching too general exception Exception
tools/mcp/elevenlabs_speech/server.py:80: [W1514(unspecified-encoding), ElevenLabsSpeechMCPServer._load_config] Using open without explicitly specifying an encoding
tools/mcp/elevenlabs_speech/server.py:217: [W0613(unused-argument), ElevenLabsSpeechMCPServer.synthesize_dialogue] Unused argument 'mix_audio'
tools/mcp/elevenlabs_speech/server.py:395: [W0718(broad-exception-caught), ElevenLabsSpeechMCPServer.clear_audio_cache] Catching too general exception Exception
tools/mcp/elevenlabs_speech/server.py:419: [W0718(broad-exception-caught), ElevenLabsSpeechMCPServer._initialize_voice_cache] Catching too general exception Exception
tools/mcp/elevenlabs_speech/server.py:416: [W0718(broad-exception-caught), ElevenLabsSpeechMCPServer._initialize_voice_cache] Catching too general exception Exception
tools/mcp/elevenlabs_speech/server.py:702: [W0621(redefined-outer-name), main] Redefining name 'sys' from outer scope (line 5)
tools/mcp/elevenlabs_speech/server.py:702: [W0404(reimported), main] Reimport 'sys' (imported line 5)
************* Module tools.mcp.elevenlabs_speech.utils.prompting
tools/mcp/elevenlabs_speech/utils/prompting.py:9: [R0903(too-few-public-methods), PromptOptimizer] Too few public methods (1/2)
tools/mcp/elevenlabs_speech/utils/prompting.py:324: [R0903(too-few-public-methods), TagCombiner] Too few public methods (1/2)
************* Module test_final_synthesis
tools/mcp/elevenlabs_speech/scripts/test_final_synthesis.py:18: [W1514(unspecified-encoding), ] Using open without explicitly specifying an encoding
tools/mcp/elevenlabs_speech/scripts/test_final_synthesis.py:25: [C0413(wrong-import-position), ] Import "from elevenlabs_speech.server import ElevenLabsSpeechMCPServer" should be placed at the top of the module
tools/mcp/elevenlabs_speech/scripts/test_final_synthesis.py:101: [W0621(redefined-outer-name), main] Redefining name 'f' from outer scope (line 18)
tools/mcp/elevenlabs_speech/scripts/test_final_synthesis.py:101: [W1514(unspecified-encoding), main] Using open without explicitly specifying an encoding
************* Module test_synthesis_simple
tools/mcp/elevenlabs_speech/scripts/test_synthesis_simple.py:18: [W1514(unspecified-encoding), ] Using open without explicitly specifying an encoding
tools/mcp/elevenlabs_speech/scripts/test_synthesis_simple.py:27: [C0413(wrong-import-position), ] Import "from elevenlabs_speech.client import ElevenLabsClient" should be placed at the top of the module
tools/mcp/elevenlabs_speech/scripts/test_synthesis_simple.py:28: [C0413(wrong-import-position), ] Import "from elevenlabs_speech.models import OutputFormat, SynthesisConfig, VoiceModel, VoiceSettings" should be placed at the top of the module
tools/mcp/elevenlabs_speech/scripts/test_synthesis_simple.py:29: [C0413(wrong-import-position), ] Import "from elevenlabs_speech.utils.prompting import NaturalSpeechEnhancer, PromptOptimizer" should be placed at the top of the module
tools/mcp/elevenlabs_speech/scripts/test_server.py:15: [W1514(unspecified-encoding), ] Using open without explicitly specifying an encoding
tools/mcp/elevenlabs_speech/scripts/test_server.py:24: [C0413(wrong-import-position), ] Import "import httpx" should be placed at the top of the module
tools/mcp/elevenlabs_speech/scripts/test_server.py:56: [W0718(broad-exception-caught), test_server] Catching too general exception Exception
tools/mcp/elevenlabs_speech/scripts/test_server.py:75: [W0718(broad-exception-caught), test_server] Catching too general exception Exception
tools/mcp/elevenlabs_speech/scripts/test_server.py:103: [W0718(broad-exception-caught), test_server] Catching too general exception Exception
tools/mcp/elevenlabs_speech/scripts/test_server.py:127: [W0718(broad-exception-caught), test_server] Catching too general exception Exception
tools/mcp/elevenlabs_speech/scripts/test_server.py:149: [W0718(broad-exception-caught), test_server] Catching too general exception Exception
tools/mcp/elevenlabs_speech/scripts/test_server.py:174: [W0718(broad-exception-caught), test_server] Catching too general exception Exception
tools/mcp/elevenlabs_speech/scripts/test_server.py:201: [W0718(broad-exception-caught), test_server] Catching too general exception Exception
************* Module save_v3_prompts
tools/mcp/elevenlabs_speech/scripts/save_v3_prompts.py:13: [C0413(wrong-import-position), ] Import "from elevenlabs_speech.voice_registry import VOICE_IDS" should be placed at the top of the module
tools/mcp/elevenlabs_speech/scripts/save_v3_prompts.py:23: [W0621(redefined-outer-name), save_v3_examples] Redefining name 'output_dir' from outer scope (line 321)
tools/mcp/elevenlabs_speech/scripts/save_v3_prompts.py:248: [W1514(unspecified-encoding), save_v3_examples] Using open without explicitly specifying an encoding
tools/mcp/elevenlabs_speech/scripts/save_v3_prompts.py:260: [W1514(unspecified-encoding), save_v3_examples] Using open without explicitly specifying an encoding
tools/mcp/elevenlabs_speech/scripts/save_v3_prompts.py:276: [W1514(unspecified-encoding), save_v3_examples] Using open without explicitly specifying an encoding
************* Module v3_creative_examples
tools/mcp/elevenlabs_speech/scripts/v3_creative_examples.py:16: [W1514(unspecified-encoding), ] Using open without explicitly specifying an encoding
tools/mcp/elevenlabs_speech/scripts/v3_creative_examples.py:23: [C0413(wrong-import-position), ] Import "from elevenlabs_speech.server import ElevenLabsSpeechMCPServer" should be placed at the top of the module
tools/mcp/elevenlabs_speech/scripts/v3_creative_examples.py:24: [C0413(wrong-import-position), ] Import "from elevenlabs_speech.voice_registry import VOICE_IDS" should be placed at the top of the module
************* Module test_stdio_mode
tools/mcp/elevenlabs_speech/scripts/test_stdio_mode.py:57: [W0718(broad-exception-caught), test_stdio_mode] Catching too general exception Exception
tools/mcp/elevenlabs_speech/scripts/test_stdio_mode.py:25: [R1732(consider-using-with), test_stdio_mode] Consider using 'with' for resource-allocating operations
tools/mcp/elevenlabs_speech/scripts/test_stdio_mode.py:67: [W1514(unspecified-encoding), test_mcp_json_config] Using open without explicitly specifying an encoding
************* Module creative_synthesis
tools/mcp/elevenlabs_speech/scripts/creative_synthesis.py:17: [W1514(unspecified-encoding), ] Using open without explicitly specifying an encoding
tools/mcp/elevenlabs_speech/scripts/creative_synthesis.py:24: [C0413(wrong-import-position), ] Import "from elevenlabs_speech.server import ElevenLabsSpeechMCPServer" should be placed at the top of the module
************* Module show_creative_results
tools/mcp/elevenlabs_speech/scripts/show_creative_results.py:31: [W1514(unspecified-encoding), show_creative_results] Using open without explicitly specifying an encoding
************* Module test_mcp_tools
tools/mcp/elevenlabs_speech/scripts/test_mcp_tools.py:16: [W1514(unspecified-encoding), ] Using open without explicitly specifying an encoding
tools/mcp/elevenlabs_speech/scripts/test_mcp_tools.py:23: [C0413(wrong-import-position), ] Import "from elevenlabs_speech.server import ElevenLabsSpeechMCPServer" should be placed at the top of the module
************* Module ultra_creative_showcase
tools/mcp/elevenlabs_speech/scripts/ultra_creative_showcase.py:16: [W1514(unspecified-encoding), ] Using open without explicitly specifying an encoding
tools/mcp/elevenlabs_speech/scripts/ultra_creative_showcase.py:23: [C0413(wrong-import-position), ] Import "from elevenlabs_speech.server import ElevenLabsSpeechMCPServer" should be placed at the top of the module
tools/mcp/elevenlabs_speech/scripts/ultra_creative_showcase.py:24: [C0413(wrong-import-position), ] Import "from elevenlabs_speech.voice_registry import VOICE_IDS" should be placed at the top of the module
************* Module test_metadata_fix
tools/mcp/elevenlabs_speech/scripts/test_metadata_fix.py:18: [W1514(unspecified-encoding), ] Using open without explicitly specifying an encoding
tools/mcp/elevenlabs_speech/scripts/test_metadata_fix.py:25: [C0413(wrong-import-position), ] Import "from elevenlabs_speech.client import ElevenLabsClient" should be placed at the top of the module
tools/mcp/elevenlabs_speech/scripts/test_metadata_fix.py:26: [C0413(wrong-import-position), ] Import "from elevenlabs_speech.models import OutputFormat, SynthesisConfig, VoiceModel, VoiceSettings" should be placed at the top of the module
tools/mcp/elevenlabs_speech/scripts/test_metadata_fix.py:27: [C0413(wrong-import-position), ] Import "from elevenlabs_speech.utils.model_aware_prompting import ModelAwarePrompter" should be placed at the top of the module
tools/mcp/elevenlabs_speech/scripts/test_metadata_fix.py:28: [C0413(wrong-import-position), ] Import "from elevenlabs_speech.utils.prompting import PromptOptimizer" should be placed at the top of the module
tools/mcp/elevenlabs_speech/scripts/test_metadata_fix.py:101: [W0621(redefined-outer-name), test_synthesis_with_metadata] Redefining name 'f' from outer scope (line 18)
tools/mcp/elevenlabs_speech/scripts/test_metadata_fix.py:120: [W0621(redefined-outer-name), test_synthesis_with_metadata] Redefining name 'key' from outer scope (line 22)
tools/mcp/elevenlabs_speech/scripts/test_metadata_fix.py:120: [W0621(redefined-outer-name), test_synthesis_with_metadata] Redefining name 'value' from outer scope (line 22)
tools/mcp/elevenlabs_speech/scripts/test_metadata_fix.py:101: [W1514(unspecified-encoding), test_synthesis_with_metadata] Using open without explicitly specifying an encoding
tools/mcp/elevenlabs_speech/scripts/test_metadata_fix.py:64: [R1702(too-many-nested-blocks), test_synthesis_with_metadata] Too many nested blocks (6/5)
************* Module test_advanced_features
tools/mcp/elevenlabs_speech/scripts/test_advanced_features.py:15: [C0413(wrong-import-position), ] Import "from elevenlabs_speech.client import ElevenLabsClient" should be placed at the top of the module
tools/mcp/elevenlabs_speech/scripts/test_advanced_features.py:16: [C0413(wrong-import-position), ] Import "from elevenlabs_speech.models import OutputFormat, SynthesisConfig, VoiceModel, VoiceSettings" should be placed at the top of the module
tools/mcp/elevenlabs_speech/scripts/test_advanced_features.py:17: [C0413(wrong-import-position), ] Import "from elevenlabs_speech.utils.prompting import EmotionalEnhancer, NaturalSpeechEnhancer, PromptOptimizer, VoiceDirector" should be placed at the top of the module
tools/mcp/elevenlabs_speech/scripts/test_advanced_features.py:27: [W1514(unspecified-encoding), ] Using open without explicitly specifying an encoding
tools/mcp/elevenlabs_speech/scripts/test_advanced_features.py:161: [W0621(redefined-outer-name), test_synthesis_with_optimization] Redefining name 'f' from outer scope (line 27)
tools/mcp/elevenlabs_speech/scripts/test_advanced_features.py:161: [W1514(unspecified-encoding), test_synthesis_with_optimization] Using open without explicitly specifying an encoding
************* Module tools.mcp.code_quality.server
tools/mcp/code_quality/server.py:11: [C0413(wrong-import-position), ] Import "from tools.cli.utilities.markdown_link_checker import MarkdownLinkChecker" should be placed at the top of the module
tools/mcp/code_quality/server.py:13: [C0413(wrong-import-position), ] Import "from ..core.base_server import BaseMCPServer" should be placed at the top of the module
tools/mcp/code_quality/server.py:14: [C0413(wrong-import-position), ] Import "from ..core.utils import setup_logging" should be placed at the top of the module
tools/mcp/code_quality/server.py:181: [W0718(broad-exception-caught), CodeQualityMCPServer.format_check] Catching too general exception Exception
tools/mcp/code_quality/server.py:167: [W1203(logging-fstring-interpolation), CodeQualityMCPServer.format_check] Use lazy % formatting in logging functions
tools/mcp/code_quality/server.py:182: [W1203(logging-fstring-interpolation), CodeQualityMCPServer.format_check] Use lazy % formatting in logging functions
tools/mcp/code_quality/server.py:244: [W0718(broad-exception-caught), CodeQualityMCPServer.lint] Catching too general exception Exception
tools/mcp/code_quality/server.py:224: [W1203(logging-fstring-interpolation), CodeQualityMCPServer.lint] Use lazy % formatting in logging functions
tools/mcp/code_quality/server.py:245: [W1203(logging-fstring-interpolation), CodeQualityMCPServer.lint] Use lazy % formatting in logging functions
tools/mcp/code_quality/server.py:288: [W0718(broad-exception-caught), CodeQualityMCPServer.autoformat] Catching too general exception Exception
tools/mcp/code_quality/server.py:274: [W1203(logging-fstring-interpolation), CodeQualityMCPServer.autoformat] Use lazy % formatting in logging functions
tools/mcp/code_quality/server.py:289: [W1203(logging-fstring-interpolation), CodeQualityMCPServer.autoformat] Use lazy % formatting in logging functions
************* Module tools.mcp.code_quality.tools
tools/mcp/code_quality/tools.py:45: [W0718(broad-exception-caught), format_check] Catching too general exception Exception
tools/mcp/code_quality/tools.py:40: [W1510(subprocess-run-check), format_check] 'subprocess.run' used without explicitly defining the value for 'check'.
tools/mcp/code_quality/tools.py:67: [W0718(broad-exception-caught), lint] Catching too general exception Exception
tools/mcp/code_quality/tools.py:57: [W1510(subprocess-run-check), lint] 'subprocess.run' used without explicitly defining the value for 'check'.
tools/mcp/code_quality/tools.py:3: [W0611(unused-import), ] Unused import os
tools/mcp/code_quality/scripts/test_server.py:12: [W0621(redefined-outer-name), test_code_quality_server] Redefining name 'base_url' from outer scope (line 106)
tools/mcp/code_quality/scripts/test_server.py:23: [W0718(broad-exception-caught), test_code_quality_server] Catching too general exception Exception
tools/mcp/code_quality/scripts/test_server.py:34: [W0718(broad-exception-caught), test_code_quality_server] Catching too general exception Exception
tools/mcp/code_quality/scripts/test_server.py:57: [W0718(broad-exception-caught), test_code_quality_server] Catching too general exception Exception
tools/mcp/code_quality/scripts/test_server.py:79: [W0718(broad-exception-caught), test_code_quality_server] Catching too general exception Exception
tools/mcp/code_quality/scripts/test_server.py:98: [W0718(broad-exception-caught), test_code_quality_server] Catching too general exception Exception
tools/mcp/code_quality/scripts/test_server.py:5: [W0611(unused-import), ] Unused import json
************* Module tools.mcp.meme_generator.upload
tools/mcp/meme_generator/upload.py:63: [W0718(broad-exception-caught), MemeUploader.upload_to_0x0st] Catching too general exception Exception
tools/mcp/meme_generator/upload.py:136: [W0718(broad-exception-caught), MemeUploader.upload_to_tmpfiles] Catching too general exception Exception
tools/mcp/meme_generator/upload.py:81: [R1702(too-many-nested-blocks), MemeUploader.upload_to_tmpfiles] Too many nested blocks (6/5)
tools/mcp/meme_generator/upload.py:190: [W0718(broad-exception-caught), MemeUploader.upload_to_fileio] Catching too general exception Exception
tools/mcp/meme_generator/upload.py:279: [W1203(logging-fstring-interpolation), upload_meme] Use lazy % formatting in logging functions
tools/mcp/meme_generator/upload.py:282: [W1203(logging-fstring-interpolation), upload_meme] Use lazy % formatting in logging functions
************* Module tools.mcp.meme_generator.server
tools/mcp/meme_generator/server.py:55: [W1203(logging-fstring-interpolation), MemeGeneratorMCPServer.__init__] Use lazy % formatting in logging functions
tools/mcp/meme_generator/server.py:56: [W1203(logging-fstring-interpolation), MemeGeneratorMCPServer.__init__] Use lazy % formatting in logging functions
tools/mcp/meme_generator/server.py:61: [W0718(broad-exception-caught), MemeGeneratorMCPServer.__init__] Catching too general exception Exception
tools/mcp/meme_generator/server.py:62: [W1203(logging-fstring-interpolation), MemeGeneratorMCPServer.__init__] Use lazy % formatting in logging functions
tools/mcp/meme_generator/server.py:66: [W1203(logging-fstring-interpolation), MemeGeneratorMCPServer.__init__] Use lazy % formatting in logging functions
tools/mcp/meme_generator/server.py:180: [W0718(broad-exception-caught), MemeGeneratorMCPServer.generate_meme] Catching too general exception Exception
tools/mcp/meme_generator/server.py:181: [W1203(logging-fstring-interpolation), MemeGeneratorMCPServer.generate_meme] Use lazy % formatting in logging functions
tools/mcp/meme_generator/server.py:193: [W0718(broad-exception-caught), MemeGeneratorMCPServer.list_meme_templates] Catching too general exception Exception
tools/mcp/meme_generator/server.py:194: [W1203(logging-fstring-interpolation), MemeGeneratorMCPServer.list_meme_templates] Use lazy % formatting in logging functions
tools/mcp/meme_generator/server.py:209: [W0718(broad-exception-caught), MemeGeneratorMCPServer.get_meme_template_info] Catching too general exception Exception
tools/mcp/meme_generator/server.py:210: [W1203(logging-fstring-interpolation), MemeGeneratorMCPServer.get_meme_template_info] Use lazy % formatting in logging functions
************* Module tools.mcp.meme_generator.tools
tools/mcp/meme_generator/tools.py:40: [W1514(unspecified-encoding), MemeGenerator._load_templates] Using open without explicitly specifying an encoding
tools/mcp/meme_generator/tools.py:49: [W0718(broad-exception-caught), MemeGenerator._get_font] Catching too general exception Exception
tools/mcp/meme_generator/tools.py:262: [W0718(broad-exception-caught), MemeGenerator.generate_meme] Catching too general exception Exception
tools/mcp/meme_generator/tools.py:296: [W0718(broad-exception-caught), MemeGenerator.create_thumbnail_from_image] Catching too general exception Exception
tools/mcp/meme_generator/tools.py:328: [W0603(global-statement), initialize_generator] Using the global statement
tools/mcp/meme_generator/tools.py:365: [W0621(redefined-outer-name), generate_meme] Redefining name 'base64' from outer scope (line 3)
tools/mcp/meme_generator/tools.py:365: [W0404(reimported), generate_meme] Reimport 'base64' (imported line 3)
tools/mcp/meme_generator/tools.py:401: [W0718(broad-exception-caught), generate_meme] Catching too general exception Exception
************* Module mcp-http-bridge
tools/cli/bridges/mcp-http-bridge.py:70: [W0718(broad-exception-caught), health] Catching too general exception Exception
tools/cli/bridges/mcp-http-bridge.py:112: [W0718(broad-exception-caught), handle_mcp_request] Catching too general exception Exception
tools/cli/bridges/mcp-http-bridge.py:93: [W1203(logging-fstring-interpolation), handle_mcp_request] Use lazy % formatting in logging functions
tools/cli/bridges/mcp-http-bridge.py:103: [W1203(logging-fstring-interpolation), handle_mcp_request] Use lazy % formatting in logging functions
tools/cli/bridges/mcp-http-bridge.py:113: [W1203(logging-fstring-interpolation), handle_mcp_request] Use lazy % formatting in logging functions
tools/cli/bridges/mcp-http-bridge.py:136: [W1203(logging-fstring-interpolation), list_tools] Use lazy % formatting in logging functions
tools/cli/bridges/mcp-http-bridge.py:137: [W0707(raise-missing-from), list_tools] Consider explicitly re-raising using 'raise HTTPException(status_code=500, detail=str(e)) from e'
tools/cli/bridges/mcp-http-bridge.py:141: [W0102(dangerous-default-value), execute_tool] Dangerous default value {} as argument
tools/cli/bridges/mcp-http-bridge.py:158: [W1203(logging-fstring-interpolation), execute_tool] Use lazy % formatting in logging functions
tools/cli/bridges/mcp-http-bridge.py:159: [W0707(raise-missing-from), execute_tool] Consider explicitly re-raising using 'raise HTTPException(status_code=500, detail=str(e)) from e'
tools/cli/bridges/mcp-http-bridge.py:170: [W1203(logging-fstring-interpolation), ] Use lazy % formatting in logging functions
tools/cli/bridges/mcp-http-bridge.py:171: [W1203(logging-fstring-interpolation), ] Use lazy % formatting in logging functions
tools/cli/bridges/mcp-http-bridge.py:172: [W1203(logging-fstring-interpolation), ] Use lazy % formatting in logging functions
************* Module markdown_link_checker
tools/cli/utilities/markdown_link_checker.py:38: [W0613(unused-argument), LinkExtractorRenderer.autolink] Unused argument 'state'
tools/cli/utilities/markdown_link_checker.py:141: [W0718(broad-exception-caught), MarkdownLinkChecker.check_markdown_links] Catching too general exception Exception
tools/cli/utilities/markdown_link_checker.py:184: [W0718(broad-exception-caught), MarkdownLinkChecker._extract_links_from_markdown] Catching too general exception Exception
tools/cli/utilities/markdown_link_checker.py:248: [W0718(broad-exception-caught), MarkdownLinkChecker._check_single_link] Catching too general exception Exception
tools/cli/utilities/markdown_link_checker.py:216: [C0207(use-maxsplit-arg), MarkdownLinkChecker._check_single_link] Use str(file_path).split('#', maxsplit=1)[0] instead
tools/cli/utilities/markdown_link_checker.py:245: [W0718(broad-exception-caught), MarkdownLinkChecker._check_single_link] Catching too general exception Exception
tools/cli/utilities/markdown_link_checker.py:48: [R0903(too-few-public-methods), MarkdownLinkChecker] Too few public methods (1/2)
************* Module security.test_xss_prevention
tests/security/test_xss_prevention.py:86: [W0718(broad-exception-caught), TestXSSPrevention.check_no_xss_execution] Catching too general exception Exception
tests/security/test_xss_prevention.py:143: [W3101(missing-timeout), TestXSSPrevention.test_profile_xss_prevention] Missing timeout argument for method 'requests.post' can cause your program to hang indefinitely
tests/security/test_xss_prevention.py:172: [W3101(missing-timeout), TestXSSPrevention.test_post_title_xss_prevention] Missing timeout argument for method 'requests.post' can cause your program to hang indefinitely
tests/security/test_xss_prevention.py:197: [W3101(missing-timeout), TestXSSPrevention.test_json_field_xss_prevention] Missing timeout argument for method 'requests.post' can cause your program to hang indefinitely
tests/security/test_xss_prevention.py:235: [W3101(missing-timeout), TestXSSPrevention.test_embed_tag_filtering] Missing timeout argument for method 'requests.post' can cause your program to hang indefinitely
tests/security/test_xss_prevention.py:262: [W3101(missing-timeout), TestXSSPrevention.test_persistent_xss_prevention] Missing timeout argument for method 'requests.post' can cause your program to hang indefinitely
tests/security/test_xss_prevention.py:294: [W3101(missing-timeout), TestXSSPrevention.test_markdown_xss_prevention] Missing timeout argument for method 'requests.post' can cause your program to hang indefinitely
************* Module test_bulletin_board_full
tests/test_bulletin_board_full.py:16: [C0413(wrong-import-position), ] Import "from packages.bulletin_board.agents.agent_runner import ClaudeAgent" should be placed at the top of the module
tests/test_bulletin_board_full.py:17: [C0413(wrong-import-position), ] Import "from packages.bulletin_board.agents.feed_collector import GitHubFavoritesCollector, NewsCollector" should be placed at the top of the module
tests/test_bulletin_board_full.py:18: [C0413(wrong-import-position), ] Import "from packages.bulletin_board.database.models import AgentProfile, Comment, Post" should be placed at the top of the module
tests/test_bulletin_board_full.py:21: [C0413(wrong-import-position), ] Import "from tests.bulletin_board.fixtures import mock_db_functions, test_db_engine, test_db_session" should be placed at the top of the module
tests/test_bulletin_board_full.py:25: [W0621(redefined-outer-name), test_db] Redefining name 'test_db_engine' from outer scope (line 21)
tests/test_bulletin_board_full.py:25: [W0621(redefined-outer-name), test_db] Redefining name 'test_db_session' from outer scope (line 21)
tests/test_bulletin_board_full.py:27: [W0621(redefined-outer-name), test_db] Redefining name 'session' from outer scope (line 59)
tests/test_bulletin_board_full.py:59: [W0621(redefined-outer-name), session] Redefining name 'test_db' from outer scope (line 25)
tests/test_bulletin_board_full.py:61: [W0621(redefined-outer-name), session] Redefining name 'session' from outer scope (line 59)
tests/test_bulletin_board_full.py:61: [W0612(unused-variable), session] Unused variable 'engine'
tests/test_bulletin_board_full.py:66: [W0621(redefined-outer-name), test_feed_collection] Redefining name 'session' from outer scope (line 59)
tests/test_bulletin_board_full.py:147: [W0621(redefined-outer-name), test_agent_commenting] Redefining name 'session' from outer scope (line 59)
tests/test_bulletin_board_full.py:215: [W0612(unused-variable), test_agent_commenting] Unused variable 'i'
tests/test_bulletin_board_full.py:239: [W0621(redefined-outer-name), test_web_interface] Redefining name 'test_db' from outer scope (line 25)
tests/test_bulletin_board_full.py:239: [W0621(redefined-outer-name), test_web_interface] Redefining name 'mock_db_functions' from outer scope (line 21)
tests/test_bulletin_board_full.py:243: [W0621(redefined-outer-name), test_web_interface] Redefining name 'session' from outer scope (line 59)
tests/test_bulletin_board_full.py:239: [W0613(unused-argument), test_web_interface] Unused argument 'mock_db_functions'
tests/test_bulletin_board_full.py:243: [W0612(unused-variable), test_web_interface] Unused variable 'engine'
tests/test_bulletin_board_full.py:21: [W0611(unused-import), ] Unused mock_db_functions imported from tests.bulletin_board.fixtures
tests/test_bulletin_board_full.py:21: [W0611(unused-import), ] Unused test_db_engine imported from tests.bulletin_board.fixtures
tests/test_bulletin_board_full.py:21: [W0611(unused-import), ] Unused test_db_session imported from tests.bulletin_board.fixtures
************* Module test_code_block_rendering
tests/test_code_block_rendering.py:54: [W3101(missing-timeout), TestCodeBlockRendering.setup_test_data] Missing timeout argument for method 'requests.get' can cause your program to hang indefinitely
tests/test_code_block_rendering.py:69: [W3101(missing-timeout), TestCodeBlockRendering.setup_test_data] Missing timeout argument for method 'requests.post' can cause your program to hang indefinitely
tests/test_code_block_rendering.py:73: [W3101(missing-timeout), TestCodeBlockRendering.test_api_returns_code_blocks] Missing timeout argument for method 'requests.get' can cause your program to hang indefinitely
tests/test_code_block_rendering.py:82: [W3101(missing-timeout), TestCodeBlockRendering.test_api_returns_code_blocks] Missing timeout argument for method 'requests.get' can cause your program to hang indefinitely
tests/test_code_block_rendering.py:103: [W3101(missing-timeout), TestCodeBlockRendering.test_javascript_file_served] Missing timeout argument for method 'requests.get' can cause your program to hang indefinitely
tests/test_code_block_rendering.py:116: [W3101(missing-timeout), TestCodeBlockRendering.test_css_styles_present] Missing timeout argument for method 'requests.get' can cause your program to hang indefinitely
tests/test_code_block_rendering.py:130: [W3101(missing-timeout), TestCodeBlockRendering.test_html_structure] Missing timeout argument for method 'requests.get' can cause your program to hang indefinitely
tests/test_code_block_rendering.py:143: [W3101(missing-timeout), TestCodeBlockRendering.test_code_block_content_structure] Missing timeout argument for method 'requests.get' can cause your program to hang indefinitely
tests/test_code_block_rendering.py:149: [W3101(missing-timeout), TestCodeBlockRendering.test_code_block_content_structure] Missing timeout argument for method 'requests.get' can cause your program to hang indefinitely
tests/test_code_block_rendering.py:173: [W3101(missing-timeout), TestCodeBlockRendering.test_widescreen_javascript_updated] Missing timeout argument for method 'requests.get' can cause your program to hang indefinitely
tests/test_code_block_rendering.py:186: [W3101(missing-timeout), TestCodeBlockRendering.test_multiple_language_support] Missing timeout argument for method 'requests.get' can cause your program to hang indefinitely
************* Module test_profile_html_rendering
tests/test_profile_html_rendering.py:18: [W3101(missing-timeout), TestProfileHTMLRendering.test_profile_list_accessible] Missing timeout argument for method 'requests.get' can cause your program to hang indefinitely
tests/test_profile_html_rendering.py:33: [W3101(missing-timeout), TestProfileHTMLRendering.test_retro_coder_profile_html] Missing timeout argument for method 'requests.get' can cause your program to hang indefinitely
tests/test_profile_html_rendering.py:68: [W3101(missing-timeout), TestProfileHTMLRendering.test_scene_kid_profile_html] Missing timeout argument for method 'requests.get' can cause your program to hang indefinitely
tests/test_profile_html_rendering.py:88: [W3101(missing-timeout), TestProfileHTMLRendering.test_corporate_synergy_profile_html] Missing timeout argument for method 'requests.get' can cause your program to hang indefinitely
tests/test_profile_html_rendering.py:111: [W3101(missing-timeout), TestProfileHTMLRendering.test_vaporwave_profile_html] Missing timeout argument for method 'requests.get' can cause your program to hang indefinitely
tests/test_profile_html_rendering.py:131: [W3101(missing-timeout), TestProfileHTMLRendering.test_goth_sysadmin_profile_html] Missing timeout argument for method 'requests.get' can cause your program to hang indefinitely
tests/test_profile_html_rendering.py:159: [W3101(missing-timeout), TestProfileHTMLRendering.test_no_xss_in_profiles] Missing timeout argument for method 'requests.get' can cause your program to hang indefinitely
tests/test_profile_html_rendering.py:172: [W3101(missing-timeout), TestProfileHTMLRendering.test_custom_html_section_exists] Missing timeout argument for method 'requests.get' can cause your program to hang indefinitely
************* Module test_profile_links
tests/test_profile_links.py:25: [W3101(missing-timeout), TestProfileLinks.test_comment_usernames_have_profile_links] Missing timeout argument for method 'requests.get' can cause your program to hang indefinitely
tests/test_profile_links.py:31: [W3101(missing-timeout), TestProfileLinks.test_comment_usernames_have_profile_links] Missing timeout argument for method 'requests.get' can cause your program to hang indefinitely
tests/test_profile_links.py:48: [W3101(missing-timeout), TestProfileLinks.test_profile_route_exists] Missing timeout argument for method 'requests.get' can cause your program to hang indefinitely
tests/test_profile_links.py:54: [W3101(missing-timeout), TestProfileLinks.test_javascript_contains_profile_links] Missing timeout argument for method 'requests.get' can cause your program to hang indefinitely
tests/test_profile_links.py:67: [W3101(missing-timeout), TestProfileLinks.test_javascript_contains_profile_links] Missing timeout argument for method 'requests.get' can cause your program to hang indefinitely
tests/test_profile_links.py:82: [W3101(missing-timeout), TestProfileLinks.test_profile_links_in_post_metadata] Missing timeout argument for method 'requests.get' can cause your program to hang indefinitely
tests/test_profile_links.py:83: [W0104(pointless-statement), TestProfileLinks.test_profile_links_in_post_metadata] Statement seems to have no effect
tests/test_profile_links.py:86: [W3101(missing-timeout), TestProfileLinks.test_profile_links_in_post_metadata] Missing timeout argument for method 'requests.get' can cause your program to hang indefinitely
tests/test_profile_links.py:98: [W3101(missing-timeout), TestProfileLinks.test_profile_api_endpoint] Missing timeout argument for method 'requests.get' can cause your program to hang indefinitely
tests/test_profile_links.py:104: [W3101(missing-timeout), TestProfileLinks.test_profile_api_endpoint] Missing timeout argument for method 'requests.get' can cause your program to hang indefinitely
tests/test_profile_links.py:112: [W3101(missing-timeout), TestProfileLinks.test_profile_api_endpoint] Missing timeout argument for method 'requests.get' can cause your program to hang indefinitely
tests/test_profile_links.py:121: [W3101(missing-timeout), TestProfileLinks.test_profile_api_endpoint] Missing timeout argument for method 'requests.get' can cause your program to hang indefinitely
tests/test_profile_links.py:129: [W3101(missing-timeout), TestProfileLinks.test_discover_page_accessible] Missing timeout argument for method 'requests.get' can cause your program to hang indefinitely
************* Module ui.test_critical_functionality
tests/ui/test_critical_functionality.py:270: [W0718(broad-exception-caught), TestSmokeTests.test_app_is_running] Catching too general exception Exception
************* Module ui.test_profile_rendering
tests/ui/test_profile_rendering.py:237: [W0718(broad-exception-caught), TestProfileRendering.test_xss_prevention] Catching too general exception Exception
tests/ui/test_profile_rendering.py:308: [W0621(redefined-outer-name), TestProfileRendering.test_profile_load_performance] Redefining name 'time' from outer scope (line 6)
tests/ui/test_profile_rendering.py:308: [W0404(reimported), TestProfileRendering.test_profile_load_performance] Reimport 'time' (imported line 6)
************* Module ui.test_code_block_rendering
tests/ui/test_code_block_rendering.py:72: [W3101(missing-timeout), TestCodeBlockRendering.setup_method] Missing timeout argument for method 'requests.post' can cause your program to hang indefinitely
tests/ui/test_code_block_rendering.py:87: [W3101(missing-timeout), TestCodeBlockRendering.setup_method] Missing timeout argument for method 'requests.get' can cause your program to hang indefinitely
tests/ui/test_code_block_rendering.py:42: [W0201(attribute-defined-outside-init), TestCodeBlockRendering.setup_method] Attribute 'test_post_content' defined outside __init__
tests/ui/test_code_block_rendering.py:84: [W0201(attribute-defined-outside-init), TestCodeBlockRendering.setup_method] Attribute 'test_post_id' defined outside __init__
tests/ui/test_code_block_rendering.py:90: [W0201(attribute-defined-outside-init), TestCodeBlockRendering.setup_method] Attribute 'test_post_id' defined outside __init__
tests/ui/test_code_block_rendering.py:95: [W0201(attribute-defined-outside-init), TestCodeBlockRendering.setup_method] Attribute 'test_post_id' defined outside __init__
tests/ui/test_code_block_rendering.py:97: [W0201(attribute-defined-outside-init), TestCodeBlockRendering.setup_method] Attribute 'test_post_id' defined outside __init__
************* Module ui.test_clickable_elements
tests/ui/test_clickable_elements.py:105: [W0718(broad-exception-caught), TestClickableElements.test_all_navigation_links] Catching too general exception Exception
tests/ui/test_clickable_elements.py:156: [W0718(broad-exception-caught), TestClickableElements.test_all_buttons] Catching too general exception Exception
tests/ui/test_clickable_elements.py:149: [W0719(broad-exception-raised), TestClickableElements.test_all_buttons] Raising too general exception: Exception
tests/ui/test_clickable_elements.py:211: [W0718(broad-exception-caught), TestClickableElements.test_post_interactions] Catching too general exception Exception
tests/ui/test_clickable_elements.py:250: [W0718(broad-exception-caught), TestClickableElements.test_post_detail_page] Catching too general exception Exception
tests/ui/test_clickable_elements.py:275: [W0718(broad-exception-caught), TestClickableElements.test_post_detail_page] Catching too general exception Exception
tests/ui/test_clickable_elements.py:272: [W0718(broad-exception-caught), TestClickableElements.test_post_detail_page] Catching too general exception Exception
tests/ui/test_clickable_elements.py:338: [W0718(broad-exception-caught), TestClickableElements.test_post_detail_page] Catching too general exception Exception
tests/ui/test_clickable_elements.py:383: [W0718(broad-exception-caught), TestClickableElements.test_broken_links] Catching too general exception Exception
tests/ui/test_clickable_elements.py:379: [W0719(broad-exception-raised), TestClickableElements.test_broken_links] Raising too general exception: Exception
tests/ui/test_clickable_elements.py:445: [W0718(broad-exception-caught), TestClickableElements.test_interactive_elements_no_console_errors] Catching too general exception Exception
************* Module ui.test_bulletin_board_ui
tests/ui/test_bulletin_board_ui.py:274: [W0640(cell-var-from-loop), TestReactionImageIntegration.test_reaction_image_loading_performance.<lambda>] Cell variable img defined in loop
************* Module ui.test_widescreen_layout
tests/ui/test_widescreen_layout.py:313: [W0107(unnecessary-pass), TestCrossBrowserCompatibility.test_layout_detection] Unnecessary pass statement
tests/ui/test_widescreen_layout.py:318: [W0107(unnecessary-pass), TestCrossBrowserCompatibility.test_navigation_consistency] Unnecessary pass statement
************* Module test_memory_analytics
tests/bulletin_board/test_memory_analytics.py:226: [W0212(protected-access), TestPersonalityDrift.test_time_drift] Access to a protected member _save_state of a client class
tests/bulletin_board/test_memory_analytics.py:290: [W0212(protected-access), TestPersonalityDrift.test_major_shift_detection] Access to a protected member _is_major_shift of a client class
tests/bulletin_board/test_memory_analytics.py:428: [W0212(protected-access), TestAnalyticsSystem.test_visualization_generation] Access to a protected member _visualize_heatmap of a client class
tests/bulletin_board/test_memory_analytics.py:435: [W0212(protected-access), TestAnalyticsSystem.test_visualization_generation] Access to a protected member _visualize_sentiment_trend of a client class
tests/bulletin_board/test_memory_analytics.py:471: [W0212(protected-access), TestMemoryEnhancedRunner.test_memory_context_building] Access to a protected member _build_memory_context of a client class
tests/bulletin_board/test_memory_analytics.py:485: [W0212(protected-access), TestMemoryEnhancedRunner.test_sentiment_analysis] Access to a protected member _analyze_sentiment of a client class
tests/bulletin_board/test_memory_analytics.py:486: [W0212(protected-access), TestMemoryEnhancedRunner.test_sentiment_analysis] Access to a protected member _analyze_sentiment of a client class
tests/bulletin_board/test_memory_analytics.py:487: [W0212(protected-access), TestMemoryEnhancedRunner.test_sentiment_analysis] Access to a protected member _analyze_sentiment of a client class
tests/bulletin_board/test_memory_analytics.py:496: [W0212(protected-access), TestMemoryEnhancedRunner.test_importance_calculation] Access to a protected member _calculate_importance of a client class
tests/bulletin_board/test_memory_analytics.py:503: [W0212(protected-access), TestMemoryEnhancedRunner.test_importance_calculation] Access to a protected member _calculate_importance of a client class
************* Module conftest
tests/bulletin_board/conftest.py:9: [W0401(wildcard-import), ] Wildcard import tests.bulletin_board.fixtures
tests/bulletin_board/conftest.py:62: [W0621(redefined-outer-name), mock_agents] Redefining name 'mock_agent_profiles' from outer scope (line 28)
tests/bulletin_board/conftest.py:62: [W0613(unused-argument), mock_agents] Unused argument 'mock_agent_profiles'
************* Module test_agents
tests/bulletin_board/test_agents.py:7: [C0413(wrong-import-position), ] Import "import asyncio" should be placed at the top of the module
tests/bulletin_board/test_agents.py:8: [C0413(wrong-import-position), ] Import "from unittest.mock import AsyncMock, Mock, patch" should be placed at the top of the module
tests/bulletin_board/test_agents.py:10: [C0413(wrong-import-position), ] Import "import pytest" should be placed at the top of the module
tests/bulletin_board/test_agents.py:12: [C0413(wrong-import-position), ] Import "from packages.bulletin_board.agents.agent_runner import ClaudeAgent, GeminiAgent, run_agent, run_all_agents" should be placed at the top of the module
tests/bulletin_board/test_agents.py:13: [C0413(wrong-import-position), ] Import "from packages.bulletin_board.config.settings import Settings" should be placed at the top of the module
tests/bulletin_board/test_agents.py:23: [W0613(unused-argument), TestAgentRunner.test_get_recent_posts_success] Unused argument 'mock_settings'
tests/bulletin_board/test_agents.py:23: [W0613(unused-argument), TestAgentRunner.test_get_recent_posts_success] Unused argument 'mock_agent_profiles'
tests/bulletin_board/test_agents.py:23: [W0613(unused-argument), TestAgentRunner.test_get_recent_posts_success] Unused argument 'mock_agents'
tests/bulletin_board/test_agents.py:53: [W0613(unused-argument), TestAgentRunner.test_post_comment_success] Unused argument 'mock_agent_profiles'
tests/bulletin_board/test_agents.py:53: [W0613(unused-argument), TestAgentRunner.test_post_comment_success] Unused argument 'mock_agents'
tests/bulletin_board/test_agents.py:76: [W0613(unused-argument), TestAgentRunner.test_post_comment_failure] Unused argument 'mock_agent_profiles'
tests/bulletin_board/test_agents.py:76: [W0613(unused-argument), TestAgentRunner.test_post_comment_failure] Unused argument 'mock_agents'
tests/bulletin_board/test_agents.py:103: [W0613(unused-argument), TestClaudeAgent.test_analyze_and_comment] Unused argument 'mock_agent_profiles'
tests/bulletin_board/test_agents.py:103: [W0613(unused-argument), TestClaudeAgent.test_analyze_and_comment] Unused argument 'mock_agents'
tests/bulletin_board/test_agents.py:134: [W0212(protected-access), TestClaudeAgent.test_generate_comment] Access to a protected member _generate_comment of a client class
tests/bulletin_board/test_agents.py:125: [W0613(unused-argument), TestClaudeAgent.test_generate_comment] Unused argument 'mock_agent_profiles'
tests/bulletin_board/test_agents.py:125: [W0613(unused-argument), TestClaudeAgent.test_generate_comment] Unused argument 'mock_agents'
tests/bulletin_board/test_agents.py:144: [W0613(unused-argument), TestGeminiAgent.test_analyze_and_comment_with_reply] Unused argument 'mock_agent_profiles'
tests/bulletin_board/test_agents.py:144: [W0613(unused-argument), TestGeminiAgent.test_analyze_and_comment_with_reply] Unused argument 'mock_agents'
tests/bulletin_board/test_agents.py:177: [W0212(protected-access), TestGeminiAgent.test_generate_reply_comment] Access to a protected member _generate_comment of a client class
tests/bulletin_board/test_agents.py:168: [W0613(unused-argument), TestGeminiAgent.test_generate_reply_comment] Unused argument 'mock_agent_profiles'
tests/bulletin_board/test_agents.py:168: [W0613(unused-argument), TestGeminiAgent.test_generate_reply_comment] Unused argument 'mock_agents'
************* Module test_integration
tests/bulletin_board/test_integration.py:7: [C0413(wrong-import-position), ] Import "import json" should be placed at the top of the module
tests/bulletin_board/test_integration.py:8: [C0413(wrong-import-position), ] Import "from datetime import datetime, timedelta" should be placed at the top of the module
tests/bulletin_board/test_integration.py:9: [C0413(wrong-import-position), ] Import "from unittest.mock import AsyncMock, Mock, patch" should be placed at the top of the module
tests/bulletin_board/test_integration.py:11: [C0413(wrong-import-position), ] Import "import pytest" should be placed at the top of the module
tests/bulletin_board/test_integration.py:13: [C0413(wrong-import-position), ] Import "from packages.bulletin_board.agents.agent_runner import run_all_agents" should be placed at the top of the module
tests/bulletin_board/test_integration.py:14: [C0413(wrong-import-position), ] Import "from packages.bulletin_board.agents.feed_collector import run_collectors" should be placed at the top of the module
tests/bulletin_board/test_integration.py:15: [C0413(wrong-import-position), ] Import "from packages.bulletin_board.agents.init_agents import init_agents" should be placed at the top of the module
tests/bulletin_board/test_integration.py:16: [C0413(wrong-import-position), ] Import "from packages.bulletin_board.database.models import get_session" should be placed at the top of the module
tests/bulletin_board/test_integration.py:53: [W1404(implicit-str-concat), ] Implicit string concatenation found in call
tests/bulletin_board/test_integration.py:58: [W0613(unused-argument), TestBulletinBoardIntegration.test_database_initialization] Unused argument 'mock_environment'
tests/bulletin_board/test_integration.py:58: [W0613(unused-argument), TestBulletinBoardIntegration.test_database_initialization] Unused argument 'mock_db_functions'
tests/bulletin_board/test_integration.py:167: [W0613(unused-argument), TestBulletinBoardIntegration.test_feed_collection_cycle.get_mock] Unused argument 'kwargs'
tests/bulletin_board/test_integration.py:115: [W0613(unused-argument), TestBulletinBoardIntegration.test_feed_collection_cycle] Unused argument 'mock_environment'
tests/bulletin_board/test_integration.py:115: [W0613(unused-argument), TestBulletinBoardIntegration.test_feed_collection_cycle] Unused argument 'mock_db_functions'
tests/bulletin_board/test_integration.py:192: [W0613(unused-argument), TestBulletinBoardIntegration.test_agent_commenting_cycle] Unused argument 'mock_environment'
tests/bulletin_board/test_integration.py:192: [W0613(unused-argument), TestBulletinBoardIntegration.test_agent_commenting_cycle] Unused argument 'mock_db_functions'
tests/bulletin_board/test_integration.py:303: [W0613(unused-argument), TestBulletinBoardIntegration.test_web_interface_integration] Unused argument 'mock_environment'
tests/bulletin_board/test_integration.py:303: [W0613(unused-argument), TestBulletinBoardIntegration.test_web_interface_integration] Unused argument 'mock_db_functions'
tests/bulletin_board/test_integration.py:379: [W0613(unused-argument), TestEndToEndScenarios.mock_environment] Unused argument 'test_db_engine'
tests/bulletin_board/test_integration.py:403: [W0613(unused-argument), TestEndToEndScenarios.test_full_bulletin_board_cycle] Unused argument 'mock_environment'
tests/bulletin_board/test_integration.py:403: [W0613(unused-argument), TestEndToEndScenarios.test_full_bulletin_board_cycle] Unused argument 'mock_db_functions'
************* Module test_feed_collectors
tests/bulletin_board/test_feed_collectors.py:7: [C0413(wrong-import-position), ] Import "import json" should be placed at the top of the module
tests/bulletin_board/test_feed_collectors.py:8: [C0413(wrong-import-position), ] Import "from datetime import datetime" should be placed at the top of the module
tests/bulletin_board/test_feed_collectors.py:9: [C0413(wrong-import-position), ] Import "from unittest.mock import AsyncMock, Mock, patch" should be placed at the top of the module
tests/bulletin_board/test_feed_collectors.py:11: [C0413(wrong-import-position), ] Import "import pytest" should be placed at the top of the module
tests/bulletin_board/test_feed_collectors.py:13: [C0413(wrong-import-position), ] Import "from packages.bulletin_board.agents.feed_collector import GitHubFavoritesCollector, NewsCollector, run_collectors" should be placed at the top of the module
tests/bulletin_board/test_feed_collectors.py:14: [C0413(wrong-import-position), ] Import "from packages.bulletin_board.database.models import Post" should be placed at the top of the module
tests/bulletin_board/test_feed_collectors.py:189: [W0613(unused-argument), TestRunCollectors.test_run_all_collectors] Unused argument 'mock_github_response'
tests/bulletin_board/test_feed_collectors.py:189: [W0613(unused-argument), TestRunCollectors.test_run_all_collectors] Unused argument 'mock_news_response'
tests/bulletin_board/test_feed_collectors.py:185: [R0903(too-few-public-methods), TestRunCollectors] Too few public methods (1/2)
************* Module test_bulletin_board_validation
tests/bulletin_board/test_bulletin_board_validation.py:13: [C0413(wrong-import-position), ] Import "from sqlalchemy.orm import sessionmaker" should be placed at the top of the module
tests/bulletin_board/test_bulletin_board_validation.py:15: [C0413(wrong-import-position), ] Import "from packages.bulletin_board.agents.agent_profiles import AGENT_PROFILES" should be placed at the top of the module
tests/bulletin_board/test_bulletin_board_validation.py:16: [C0413(wrong-import-position), ] Import "from packages.bulletin_board.agents.init_agents import init_agents" should be placed at the top of the module
tests/bulletin_board/test_bulletin_board_validation.py:17: [C0413(wrong-import-position), ] Import "from packages.bulletin_board.config.settings import Settings" should be placed at the top of the module
tests/bulletin_board/test_bulletin_board_validation.py:18: [C0413(wrong-import-position), ] Import "from packages.bulletin_board.database.models import AgentProfile, Comment, Post, create_tables, get_db_engine, get_session" should be placed at the top of the module
tests/bulletin_board/test_bulletin_board_validation.py:339: [W0718(broad-exception-caught), run_all_tests] Catching too general exception Exception
************* Module test_profile_system
tests/bulletin_board/test_profile_system.py:36: [W0621(redefined-outer-name), sample_agent] Redefining name 'db_session' from outer scope (line 25)
tests/bulletin_board/test_profile_system.py:52: [W0621(redefined-outer-name), sample_customization] Redefining name 'db_session' from outer scope (line 25)
tests/bulletin_board/test_profile_system.py:52: [W0621(redefined-outer-name), sample_customization] Redefining name 'sample_agent' from outer scope (line 36)
tests/bulletin_board/test_profile_system.py:77: [W0621(redefined-outer-name), TestProfileModels.test_create_profile_customization] Redefining name 'db_session' from outer scope (line 25)
tests/bulletin_board/test_profile_system.py:77: [W0621(redefined-outer-name), TestProfileModels.test_create_profile_customization] Redefining name 'sample_agent' from outer scope (line 36)
tests/bulletin_board/test_profile_system.py:91: [W0621(redefined-outer-name), TestProfileModels.test_create_friend_connection] Redefining name 'db_session' from outer scope (line 25)
tests/bulletin_board/test_profile_system.py:91: [W0621(redefined-outer-name), TestProfileModels.test_create_friend_connection] Redefining name 'sample_agent' from outer scope (line 36)
tests/bulletin_board/test_profile_system.py:132: [W0621(redefined-outer-name), TestProfileModels.test_profile_visit_tracking] Redefining name 'db_session' from outer scope (line 25)
tests/bulletin_board/test_profile_system.py:132: [W0621(redefined-outer-name), TestProfileModels.test_profile_visit_tracking] Redefining name 'sample_agent' from outer scope (line 36)
tests/bulletin_board/test_profile_system.py:146: [W0621(redefined-outer-name), TestProfileModels.test_profile_comment] Redefining name 'db_session' from outer scope (line 25)
tests/bulletin_board/test_profile_system.py:146: [W0621(redefined-outer-name), TestProfileModels.test_profile_comment] Redefining name 'sample_agent' from outer scope (line 36)
tests/bulletin_board/test_profile_system.py:162: [W0621(redefined-outer-name), TestProfileModels.test_blog_post_creation] Redefining name 'db_session' from outer scope (line 25)
tests/bulletin_board/test_profile_system.py:162: [W0621(redefined-outer-name), TestProfileModels.test_blog_post_creation] Redefining name 'sample_agent' from outer scope (line 36)
tests/bulletin_board/test_profile_system.py:178: [W0621(redefined-outer-name), TestProfileModels.test_playlist_creation] Redefining name 'db_session' from outer scope (line 25)
tests/bulletin_board/test_profile_system.py:178: [W0621(redefined-outer-name), TestProfileModels.test_playlist_creation] Redefining name 'sample_agent' from outer scope (line 36)
tests/bulletin_board/test_profile_system.py:281: [W0621(redefined-outer-name), TestProfileRoutes.test_n_plus_one_query_optimization] Redefining name 'db_session' from outer scope (line 25)
tests/bulletin_board/test_profile_system.py:394: [W0621(redefined-outer-name), TestProfileRoutes.test_filter_profiles_endpoint] Redefining name 'datetime' from outer scope (line 5)
tests/bulletin_board/test_profile_system.py:394: [W0404(reimported), TestProfileRoutes.test_filter_profiles_endpoint] Reimport 'datetime' (imported line 5)
tests/bulletin_board/test_profile_system.py:453: [W0621(redefined-outer-name), TestDataValidation.test_json_field_validation] Redefining name 'db_session' from outer scope (line 25)
tests/bulletin_board/test_profile_system.py:453: [W0621(redefined-outer-name), TestDataValidation.test_json_field_validation] Redefining name 'sample_customization' from outer scope (line 52)
tests/bulletin_board/test_profile_system.py:453: [W0613(unused-argument), TestDataValidation.test_json_field_validation] Unused argument 'db_session'
tests/bulletin_board/test_profile_system.py:460: [W0621(redefined-outer-name), TestDataValidation.test_color_format_validation] Redefining name 'sample_customization' from outer scope (line 52)
tests/bulletin_board/test_profile_system.py:467: [W0621(redefined-outer-name), TestDataValidation.test_boolean_fields] Redefining name 'sample_customization' from outer scope (line 52)
************* Module test_database
tests/bulletin_board/test_database.py:7: [C0413(wrong-import-position), ] Import "from datetime import datetime, timedelta" should be placed at the top of the module
tests/bulletin_board/test_database.py:9: [C0413(wrong-import-position), ] Import "import pytest" should be placed at the top of the module
tests/bulletin_board/test_database.py:10: [C0413(wrong-import-position), ] Import "from sqlalchemy import create_engine, inspect" should be placed at the top of the module
tests/bulletin_board/test_database.py:11: [C0413(wrong-import-position), ] Import "from sqlalchemy.exc import IntegrityError" should be placed at the top of the module
tests/bulletin_board/test_database.py:13: [C0413(wrong-import-position), ] Import "from packages.bulletin_board.database.models import AgentProfile, Comment, Post, create_tables, get_db_engine, get_session" should be placed at the top of the module
tests/bulletin_board/test_database.py:275: [W0212(protected-access), TestDatabaseHelpers.test_get_session] Access to a protected member _SessionFactory of a client class
tests/bulletin_board/test_database.py:276: [W0212(protected-access), TestDatabaseHelpers.test_get_session] Access to a protected member _ScopedSession of a client class
************* Module test_web_api
tests/bulletin_board/test_web_api.py:9: [C0413(wrong-import-position), ] Import "import json" should be placed at the top of the module
tests/bulletin_board/test_web_api.py:10: [C0413(wrong-import-position), ] Import "from unittest.mock import patch" should be placed at the top of the module
tests/bulletin_board/test_web_api.py:12: [C0413(wrong-import-position), ] Import "import pytest" should be placed at the top of the module
tests/bulletin_board/test_web_api.py:14: [C0413(wrong-import-position), ] Import "from packages.bulletin_board.database.models import Comment" should be placed at the top of the module
tests/bulletin_board/test_web_api.py:21: [W0613(unused-argument), TestBulletinBoardAPI.mock_db_session] Unused argument 'mock_agents'
tests/bulletin_board/test_web_api.py:31: [W0613(unused-argument), TestBulletinBoardAPI.test_get_recent_posts] Unused argument 'mock_db_session'
tests/bulletin_board/test_web_api.py:31: [W0613(unused-argument), TestBulletinBoardAPI.test_get_recent_posts] Unused argument 'mock_posts'
tests/bulletin_board/test_web_api.py:56: [W0613(unused-argument), TestBulletinBoardAPI.test_get_nonexistent_post] Unused argument 'mock_db_session'
tests/bulletin_board/test_web_api.py:61: [W0613(unused-argument), TestBulletinBoardAPI.test_get_agents] Unused argument 'mock_db_session'
tests/bulletin_board/test_web_api.py:76: [W0613(unused-argument), TestAgentEndpoints.mock_db_session] Unused argument 'mock_agents'
tests/bulletin_board/test_web_api.py:90: [W0613(unused-argument), TestAgentEndpoints.test_agent_recent_posts_localhost_allowed] Unused argument 'mock_db_session'
tests/bulletin_board/test_web_api.py:90: [W0613(unused-argument), TestAgentEndpoints.test_agent_recent_posts_localhost_allowed] Unused argument 'mock_posts'
tests/bulletin_board/test_web_api.py:127: [W0613(unused-argument), TestAgentEndpoints.test_create_comment_missing_fields] Unused argument 'mock_db_session'
tests/bulletin_board/test_web_api.py:139: [W0613(unused-argument), TestAgentEndpoints.test_create_comment_invalid_agent] Unused argument 'mock_db_session'
tests/bulletin_board/test_web_api.py:152: [W0613(unused-argument), TestAgentEndpoints.test_create_comment_old_post] Unused argument 'mock_db_session'
************* Module fixtures
tests/bulletin_board/fixtures.py:33: [W0212(protected-access), test_db_engine] Access to a protected member _SessionFactory of a client class
tests/bulletin_board/fixtures.py:34: [W0212(protected-access), test_db_engine] Access to a protected member _ScopedSession of a client class
tests/bulletin_board/fixtures.py:50: [W0212(protected-access), test_db_engine] Access to a protected member _SessionFactory of a client class
tests/bulletin_board/fixtures.py:51: [W0212(protected-access), test_db_engine] Access to a protected member _ScopedSession of a client class
tests/bulletin_board/fixtures.py:55: [W0621(redefined-outer-name), test_db_session] Redefining name 'test_db_engine' from outer scope (line 28)
tests/bulletin_board/fixtures.py:77: [W0621(redefined-outer-name), mock_db_functions] Redefining name 'test_db_engine' from outer scope (line 28)
tests/bulletin_board/fixtures.py:82: [W0613(unused-argument), mock_db_functions.mock_get_engine] Unused argument 'url'
tests/bulletin_board/fixtures.py:115: [W0718(broad-exception-caught), mock_db_functions] Catching too general exception Exception
tests/bulletin_board/fixtures.py:120: [W0621(redefined-outer-name), app] Redefining name 'mock_settings' from outer scope (line 67)
tests/bulletin_board/fixtures.py:120: [W0621(redefined-outer-name), app] Redefining name 'mock_db_functions' from outer scope (line 77)
tests/bulletin_board/fixtures.py:120: [W0613(unused-argument), app] Unused argument 'mock_settings'
tests/bulletin_board/fixtures.py:120: [W0613(unused-argument), app] Unused argument 'mock_db_functions'
tests/bulletin_board/fixtures.py:137: [W0621(redefined-outer-name), client] Redefining name 'app' from outer scope (line 120)
************* Module examples.gemini-consultation
examples/gemini-consultation.py:22: [W0621(redefined-outer-name), consult_gemini] Redefining name 'response' from outer scope (line 41)
examples/gemini-consultation.py:22: [W3101(missing-timeout), consult_gemini] Missing timeout argument for method 'requests.post' can cause your program to hang indefinitely
************* Module examples.full-workflow
examples/full-workflow.py:27: [W3101(missing-timeout), MCPWorkflow.execute_tool] Missing timeout argument for method 'requests.post' can cause your program to hang indefinitely
examples/full-workflow.py:143: [W0613(unused-argument), MCPWorkflow._create_architecture_animation] Unused argument 'project_info'
************* Module examples.manim-animation
examples/manim-animation.py:22: [W0621(redefined-outer-name), create_animation] Redefining name 'result' from outer scope (line 59)
examples/manim-animation.py:19: [W3101(missing-timeout), create_animation] Missing timeout argument for method 'requests.post' can cause your program to hang indefinitely
************* Module examples.latex-compilation
examples/latex-compilation.py:22: [W0621(redefined-outer-name), compile_latex] Redefining name 'result' from outer scope (line 104)
examples/latex-compilation.py:19: [W3101(missing-timeout), compile_latex] Missing timeout argument for method 'requests.post' can cause your program to hang indefinitely
************* Module packages.github_ai_agents.src.github_ai_agents.code_parser
packages/github_ai_agents/src/github_ai_agents/code_parser.py:11: [R0903(too-few-public-methods), CodeBlock] Too few public methods (1/2)
packages/github_ai_agents/src/github_ai_agents/code_parser.py:75: [W0613(unused-argument), CodeParser._find_associated_filename] Unused argument 'code_content'
packages/github_ai_agents/src/github_ai_agents/code_parser.py:149: [W1203(logging-fstring-interpolation), CodeParser.apply_code_blocks] Use lazy % formatting in logging functions
packages/github_ai_agents/src/github_ai_agents/code_parser.py:155: [W1203(logging-fstring-interpolation), CodeParser.apply_code_blocks] Use lazy % formatting in logging functions
packages/github_ai_agents/src/github_ai_agents/code_parser.py:166: [W1203(logging-fstring-interpolation), CodeParser.apply_code_blocks] Use lazy % formatting in logging functions
packages/github_ai_agents/src/github_ai_agents/code_parser.py:186: [W0718(broad-exception-caught), CodeParser.apply_code_blocks] Catching too general exception Exception
packages/github_ai_agents/src/github_ai_agents/code_parser.py:184: [W1203(logging-fstring-interpolation), CodeParser.apply_code_blocks] Use lazy % formatting in logging functions
packages/github_ai_agents/src/github_ai_agents/code_parser.py:187: [W1203(logging-fstring-interpolation), CodeParser.apply_code_blocks] Use lazy % formatting in logging functions
packages/github_ai_agents/src/github_ai_agents/code_parser.py:210: [W1203(logging-fstring-interpolation), CodeParser._sanitize_filename] Use lazy % formatting in logging functions
packages/github_ai_agents/src/github_ai_agents/code_parser.py:216: [W1203(logging-fstring-interpolation), CodeParser._sanitize_filename] Use lazy % formatting in logging functions
packages/github_ai_agents/src/github_ai_agents/code_parser.py:221: [W1203(logging-fstring-interpolation), CodeParser._sanitize_filename] Use lazy % formatting in logging functions
packages/github_ai_agents/src/github_ai_agents/code_parser.py:247: [W1203(logging-fstring-interpolation), CodeParser.extract_and_apply] Use lazy % formatting in logging functions
packages/github_ai_agents/src/github_ai_agents/code_parser.py:249: [W1203(logging-fstring-interpolation), CodeParser.extract_and_apply] Use lazy % formatting in logging functions
************* Module packages.github_ai_agents.src.github_ai_agents.security.manager
packages/github_ai_agents/src/github_ai_agents/security/manager.py:54: [W0718(broad-exception-caught), SecurityManager._load_config] Catching too general exception Exception
packages/github_ai_agents/src/github_ai_agents/security/manager.py:51: [W1514(unspecified-encoding), SecurityManager._load_config] Using open without explicitly specifying an encoding
packages/github_ai_agents/src/github_ai_agents/security/manager.py:55: [W1203(logging-fstring-interpolation), SecurityManager._load_config] Use lazy % formatting in logging functions
packages/github_ai_agents/src/github_ai_agents/security/manager.py:59: [W0613(unused-argument), SecurityManager.check_trigger_comment] Unused argument 'entity_type'
packages/github_ai_agents/src/github_ai_agents/security/manager.py:183: [W0613(unused-argument), SecurityManager.perform_full_security_check] Unused argument 'entity_type'
packages/github_ai_agents/src/github_ai_agents/security/manager.py:184: [W0613(unused-argument), SecurityManager.perform_full_security_check] Unused argument 'entity_id'
************* Module packages.github_ai_agents.src.github_ai_agents.agents
packages/github_ai_agents/src/github_ai_agents/agents/__init__.py:30: [W0718(broad-exception-caught), get_best_available_agent] Catching too general exception Exception
************* Module packages.github_ai_agents.src.github_ai_agents.agents.crush
packages/github_ai_agents/src/github_ai_agents/agents/crush.py:48: [W1203(logging-fstring-interpolation), CrushAgent.generate_code] Use lazy % formatting in logging functions
packages/github_ai_agents/src/github_ai_agents/agents/crush.py:49: [W1203(logging-fstring-interpolation), CrushAgent.generate_code] Use lazy % formatting in logging functions
packages/github_ai_agents/src/github_ai_agents/agents/crush.py:63: [W1203(logging-fstring-interpolation), CrushAgent.generate_code] Use lazy % formatting in logging functions
packages/github_ai_agents/src/github_ai_agents/agents/crush.py:65: [W1203(logging-fstring-interpolation), CrushAgent.generate_code] Use lazy % formatting in logging functions
packages/github_ai_agents/src/github_ai_agents/agents/crush.py:67: [W1203(logging-fstring-interpolation), CrushAgent.generate_code] Use lazy % formatting in logging functions
packages/github_ai_agents/src/github_ai_agents/agents/crush.py:59: [W0612(unused-variable), CrushAgent.generate_code] Unused variable 'stderr'
************* Module packages.github_ai_agents.src.github_ai_agents.agents.base
packages/github_ai_agents/src/github_ai_agents/agents/base.py:15: [W0107(unnecessary-pass), AgentError] Unnecessary pass statement
packages/github_ai_agents/src/github_ai_agents/agents/base.py:74: [W0107(unnecessary-pass), BaseAgent.generate_code] Unnecessary pass statement
packages/github_ai_agents/src/github_ai_agents/agents/base.py:96: [W0107(unnecessary-pass), BaseAgent.is_available] Unnecessary pass statement
packages/github_ai_agents/src/github_ai_agents/agents/base.py:105: [W0107(unnecessary-pass), BaseAgent.get_trigger_keyword] Unnecessary pass statement
packages/github_ai_agents/src/github_ai_agents/agents/base.py:165: [W1203(logging-fstring-interpolation), CLIAgent._execute_command] Use lazy % formatting in logging functions
packages/github_ai_agents/src/github_ai_agents/agents/base.py:193: [W0707(raise-missing-from), CLIAgent._execute_command] Consider explicitly re-raising using 'except Exception as exc' and 'raise AgentTimeoutError(self.name, self.timeout) from exc'
packages/github_ai_agents/src/github_ai_agents/agents/base.py:196: [W0707(raise-missing-from), CLIAgent._execute_command] Consider explicitly re-raising using 'except FileNotFoundError as exc' and 'raise AgentExecutionError(self.name, -1, '', f"Executable '{self.executable}' not found") from exc'
packages/github_ai_agents/src/github_ai_agents/agents/base.py:209: [W1510(subprocess-run-check), CLIAgent.is_available] 'subprocess.run' used without explicitly defining the value for 'check'.
************* Module packages.github_ai_agents.src.github_ai_agents.agents.opencode
packages/github_ai_agents/src/github_ai_agents/agents/opencode.py:34: [W1203(logging-fstring-interpolation), OpenCodeAgent.__init__] Use lazy % formatting in logging functions
packages/github_ai_agents/src/github_ai_agents/agents/opencode.py:61: [W1203(logging-fstring-interpolation), OpenCodeAgent.generate_code] Use lazy % formatting in logging functions
packages/github_ai_agents/src/github_ai_agents/agents/opencode.py:62: [W1203(logging-fstring-interpolation), OpenCodeAgent.generate_code] Use lazy % formatting in logging functions
packages/github_ai_agents/src/github_ai_agents/agents/opencode.py:63: [W1203(logging-fstring-interpolation), OpenCodeAgent.generate_code] Use lazy % formatting in logging functions
packages/github_ai_agents/src/github_ai_agents/agents/opencode.py:72: [W1203(logging-fstring-interpolation), OpenCodeAgent.generate_code] Use lazy % formatting in logging functions
packages/github_ai_agents/src/github_ai_agents/agents/opencode.py:74: [W1203(logging-fstring-interpolation), OpenCodeAgent.generate_code] Use lazy % formatting in logging functions
packages/github_ai_agents/src/github_ai_agents/agents/opencode.py:76: [W1203(logging-fstring-interpolation), OpenCodeAgent.generate_code] Use lazy % formatting in logging functions
packages/github_ai_agents/src/github_ai_agents/agents/opencode.py:78: [W0707(raise-missing-from), OpenCodeAgent.generate_code] Consider explicitly re-raising using 'raise AgentExecutionError(self.name, e.exit_code, e.stdout, e.stderr or 'No error output from opencode command') from e'
packages/github_ai_agents/src/github_ai_agents/agents/opencode.py:128: [W1203(logging-fstring-interpolation), OpenCodeAgent._execute_stdin] Use lazy % formatting in logging functions
packages/github_ai_agents/src/github_ai_agents/agents/opencode.py:160: [W0707(raise-missing-from), OpenCodeAgent._execute_stdin] Consider explicitly re-raising using 'except Exception as exc' and 'raise AgentTimeoutError(self.name, self.timeout) from exc'
packages/github_ai_agents/src/github_ai_agents/agents/opencode.py:163: [W0707(raise-missing-from), OpenCodeAgent._execute_stdin] Consider explicitly re-raising using 'except FileNotFoundError as exc' and 'raise AgentExecutionError(self.name, -1, '', f'Executable not found in command: {cmd}') from exc'
packages/github_ai_agents/src/github_ai_agents/agents/opencode.py:170: [W1203(logging-fstring-interpolation), OpenCodeAgent._parse_output] Use lazy % formatting in logging functions