| src/pytribeam/workflow.py |
6:0 |
Convention |
Line too long (186/100) (line-too-long) |
| src/pytribeam/workflow.py |
10:0 |
Convention |
Line too long (114/100) (line-too-long) |
| src/pytribeam/workflow.py |
13:0 |
Convention |
Line too long (133/100) (line-too-long) |
| src/pytribeam/workflow.py |
16:0 |
Convention |
Line too long (131/100) (line-too-long) |
| src/pytribeam/workflow.py |
19:0 |
Convention |
Line too long (134/100) (line-too-long) |
| src/pytribeam/workflow.py |
22:0 |
Convention |
Line too long (132/100) (line-too-long) |
| src/pytribeam/workflow.py |
25:0 |
Convention |
Line too long (131/100) (line-too-long) |
| src/pytribeam/workflow.py |
28:0 |
Convention |
Line too long (133/100) (line-too-long) |
| src/pytribeam/workflow.py |
40:0 |
Convention |
Line too long (102/100) (line-too-long) |
| src/pytribeam/workflow.py |
239:0 |
Convention |
Line too long (145/100) (line-too-long) |
| src/pytribeam/workflow.py |
451:0 |
Convention |
Line too long (299/100) (line-too-long) |
| src/pytribeam/workflow.py |
460:0 |
Convention |
Line too long (110/100) (line-too-long) |
| src/pytribeam/workflow.py |
467:0 |
Convention |
Line too long (110/100) (line-too-long) |
| src/pytribeam/workflow.py |
478:0 |
Convention |
Line too long (166/100) (line-too-long) |
| src/pytribeam/workflow.py |
552:0 |
Convention |
Line too long (135/100) (line-too-long) |
| src/pytribeam/workflow.py |
564:0 |
Convention |
Line too long (181/100) (line-too-long) |
| src/pytribeam/workflow.py |
568:0 |
Convention |
Line too long (104/100) (line-too-long) |
| src/pytribeam/workflow.py |
572:0 |
Convention |
Line too long (104/100) (line-too-long) |
| src/pytribeam/workflow.py |
578:0 |
Convention |
Line too long (126/100) (line-too-long) |
| src/pytribeam/workflow.py |
593:0 |
Convention |
Line too long (114/100) (line-too-long) |
| src/pytribeam/workflow.py |
616:0 |
Convention |
Line too long (148/100) (line-too-long) |
| src/pytribeam/workflow.py |
656:0 |
Convention |
Line too long (116/100) (line-too-long) |
| src/pytribeam/workflow.py |
682:0 |
Convention |
Line too long (141/100) (line-too-long) |
| src/pytribeam/workflow.py |
688:0 |
Convention |
Line too long (122/100) (line-too-long) |
| src/pytribeam/workflow.py |
761:0 |
Convention |
Line too long (132/100) (line-too-long) |
| src/pytribeam/workflow.py |
803:0 |
Convention |
Line too long (113/100) (line-too-long) |
| src/pytribeam/workflow.py |
59:0 |
Refactor |
Use 'from pytribeam import factory' instead (consider-using-from-import) |
| src/pytribeam/workflow.py |
62:0 |
Refactor |
Use 'from pytribeam import stage' instead (consider-using-from-import) |
| src/pytribeam/workflow.py |
63:0 |
Refactor |
Use 'from pytribeam import log' instead (consider-using-from-import) |
| src/pytribeam/workflow.py |
64:0 |
Refactor |
Use 'from pytribeam import laser' instead (consider-using-from-import) |
| src/pytribeam/workflow.py |
66:0 |
Refactor |
Use 'from pytribeam import fib' instead (consider-using-from-import) |
| src/pytribeam/workflow.py |
227:13 |
Warning |
'subprocess.run' used without explicitly defining the value for 'check'. (subprocess-run-check) |
| src/pytribeam/workflow.py |
451:4 |
Convention |
Variable name "EBSD_EDS_conflict_msg" doesn't conform to snake_case naming style (invalid-name) |
| src/pytribeam/workflow.py |
453:4 |
Convention |
Variable name "found_EBSD" doesn't conform to snake_case naming style (invalid-name) |
| src/pytribeam/workflow.py |
454:4 |
Convention |
Variable name "found_EDS" doesn't conform to snake_case naming style (invalid-name) |
| src/pytribeam/workflow.py |
458:15 |
Convention |
Comparison 'found_EDS == True' should be 'found_EDS is True' if checking for the singleton value True, or 'found_EDS' if testing for truthiness (singleton-comparison) |
| src/pytribeam/workflow.py |
462:12 |
Convention |
Variable name "found_EBSD" doesn't conform to snake_case naming style (invalid-name) |
| src/pytribeam/workflow.py |
465:15 |
Convention |
Comparison 'found_EBSD == True' should be 'found_EBSD is True' if checking for the singleton value True, or 'found_EBSD' if testing for truthiness (singleton-comparison) |
| src/pytribeam/workflow.py |
469:12 |
Convention |
Variable name "found_EDS" doesn't conform to snake_case naming style (invalid-name) |
| src/pytribeam/workflow.py |
474:0 |
Refactor |
Too many local variables (18/15) (too-many-locals) |
| src/pytribeam/workflow.py |
519:4 |
Convention |
Variable name "enable_EBSD" doesn't conform to snake_case naming style (invalid-name) |
| src/pytribeam/workflow.py |
520:4 |
Convention |
Variable name "enable_EDS" doesn't conform to snake_case naming style (invalid-name) |
| src/pytribeam/workflow.py |
676:4 |
Convention |
Variable name "enable_EBSD" doesn't conform to snake_case naming style (invalid-name) |
| src/pytribeam/workflow.py |
677:4 |
Convention |
Variable name "enable_EDS" doesn't conform to snake_case naming style (invalid-name) |
| src/pytribeam/workflow.py |
787:12 |
Refactor |
Consider using 'sys.exit' instead (consider-using-sys-exit) |
| src/pytribeam/workflow.py |
792:12 |
Refactor |
Consider using 'sys.exit' instead (consider-using-sys-exit) |
| src/pytribeam/factory.py |
6:0 |
Convention |
Line too long (234/100) (line-too-long) |
| src/pytribeam/factory.py |
20:0 |
Convention |
Line too long (102/100) (line-too-long) |
| src/pytribeam/factory.py |
23:0 |
Convention |
Line too long (119/100) (line-too-long) |
| src/pytribeam/factory.py |
35:0 |
Convention |
Line too long (101/100) (line-too-long) |
| src/pytribeam/factory.py |
61:0 |
Convention |
Line too long (125/100) (line-too-long) |
| src/pytribeam/factory.py |
64:0 |
Convention |
Line too long (125/100) (line-too-long) |
| src/pytribeam/factory.py |
67:0 |
Convention |
Line too long (121/100) (line-too-long) |
| src/pytribeam/factory.py |
70:0 |
Convention |
Line too long (107/100) (line-too-long) |
| src/pytribeam/factory.py |
73:0 |
Convention |
Line too long (123/100) (line-too-long) |
| src/pytribeam/factory.py |
76:0 |
Convention |
Line too long (121/100) (line-too-long) |
| src/pytribeam/factory.py |
79:0 |
Convention |
Line too long (127/100) (line-too-long) |
| src/pytribeam/factory.py |
94:0 |
Convention |
Line too long (125/100) (line-too-long) |
| src/pytribeam/factory.py |
97:0 |
Convention |
Line too long (149/100) (line-too-long) |
| src/pytribeam/factory.py |
100:0 |
Convention |
Line too long (153/100) (line-too-long) |
| src/pytribeam/factory.py |
109:0 |
Convention |
Line too long (149/100) (line-too-long) |
| src/pytribeam/factory.py |
112:0 |
Convention |
Line too long (188/100) (line-too-long) |
| src/pytribeam/factory.py |
118:0 |
Convention |
Line too long (104/100) (line-too-long) |
| src/pytribeam/factory.py |
121:0 |
Convention |
Line too long (101/100) (line-too-long) |
| src/pytribeam/factory.py |
124:0 |
Convention |
Line too long (102/100) (line-too-long) |
| src/pytribeam/factory.py |
127:0 |
Convention |
Line too long (102/100) (line-too-long) |
| src/pytribeam/factory.py |
130:0 |
Convention |
Line too long (121/100) (line-too-long) |
| src/pytribeam/factory.py |
133:0 |
Convention |
Line too long (236/100) (line-too-long) |
| src/pytribeam/factory.py |
136:0 |
Convention |
Line too long (133/100) (line-too-long) |
| src/pytribeam/factory.py |
139:0 |
Convention |
Line too long (143/100) (line-too-long) |
| src/pytribeam/factory.py |
142:0 |
Convention |
Line too long (154/100) (line-too-long) |
| src/pytribeam/factory.py |
176:0 |
Convention |
Line too long (106/100) (line-too-long) |
| src/pytribeam/factory.py |
197:0 |
Convention |
Line too long (307/100) (line-too-long) |
| src/pytribeam/factory.py |
240:0 |
Convention |
Line too long (182/100) (line-too-long) |
| src/pytribeam/factory.py |
279:0 |
Convention |
Line too long (102/100) (line-too-long) |
| src/pytribeam/factory.py |
281:0 |
Convention |
Line too long (203/100) (line-too-long) |
| src/pytribeam/factory.py |
311:0 |
Convention |
Line too long (119/100) (line-too-long) |
| src/pytribeam/factory.py |
313:0 |
Convention |
Line too long (170/100) (line-too-long) |
| src/pytribeam/factory.py |
341:0 |
Convention |
Line too long (145/100) (line-too-long) |
| src/pytribeam/factory.py |
352:0 |
Convention |
Line too long (179/100) (line-too-long) |
| src/pytribeam/factory.py |
387:0 |
Convention |
Line too long (236/100) (line-too-long) |
| src/pytribeam/factory.py |
441:0 |
Convention |
Line too long (234/100) (line-too-long) |
| src/pytribeam/factory.py |
446:0 |
Convention |
Line too long (173/100) (line-too-long) |
| src/pytribeam/factory.py |
467:0 |
Convention |
Line too long (129/100) (line-too-long) |
| src/pytribeam/factory.py |
523:0 |
Convention |
Line too long (101/100) (line-too-long) |
| src/pytribeam/factory.py |
525:0 |
Convention |
Line too long (242/100) (line-too-long) |
| src/pytribeam/factory.py |
600:0 |
Convention |
Line too long (109/100) (line-too-long) |
| src/pytribeam/factory.py |
629:0 |
Convention |
Line too long (158/100) (line-too-long) |
| src/pytribeam/factory.py |
698:0 |
Convention |
Line too long (191/100) (line-too-long) |
| src/pytribeam/factory.py |
753:0 |
Convention |
Line too long (170/100) (line-too-long) |
| src/pytribeam/factory.py |
842:0 |
Convention |
Line too long (113/100) (line-too-long) |
| src/pytribeam/factory.py |
869:0 |
Convention |
Line too long (115/100) (line-too-long) |
| src/pytribeam/factory.py |
898:0 |
Convention |
Line too long (161/100) (line-too-long) |
| src/pytribeam/factory.py |
926:0 |
Convention |
Line too long (108/100) (line-too-long) |
| src/pytribeam/factory.py |
938:0 |
Convention |
Line too long (110/100) (line-too-long) |
| src/pytribeam/factory.py |
1001:0 |
Convention |
Line too long (162/100) (line-too-long) |
| src/pytribeam/factory.py |
1026:0 |
Convention |
Line too long (120/100) (line-too-long) |
| src/pytribeam/factory.py |
1043:0 |
Convention |
Line too long (113/100) (line-too-long) |
| src/pytribeam/factory.py |
1048:0 |
Convention |
Line too long (125/100) (line-too-long) |
| src/pytribeam/factory.py |
1056:0 |
Convention |
Line too long (117/100) (line-too-long) |
| src/pytribeam/factory.py |
1064:0 |
Convention |
Line too long (113/100) (line-too-long) |
| src/pytribeam/factory.py |
1141:0 |
Convention |
Line too long (122/100) (line-too-long) |
| src/pytribeam/factory.py |
1145:0 |
Convention |
Line too long (250/100) (line-too-long) |
| src/pytribeam/factory.py |
1175:0 |
Convention |
Line too long (157/100) (line-too-long) |
| src/pytribeam/factory.py |
1280:0 |
Convention |
Line too long (188/100) (line-too-long) |
| src/pytribeam/factory.py |
1320:0 |
Convention |
Line too long (115/100) (line-too-long) |
| src/pytribeam/factory.py |
1354:0 |
Convention |
Line too long (164/100) (line-too-long) |
| src/pytribeam/factory.py |
1371:0 |
Convention |
Line too long (110/100) (line-too-long) |
| src/pytribeam/factory.py |
1405:0 |
Convention |
Line too long (155/100) (line-too-long) |
| src/pytribeam/factory.py |
1421:0 |
Convention |
Line too long (160/100) (line-too-long) |
| src/pytribeam/factory.py |
1442:0 |
Convention |
Line too long (102/100) (line-too-long) |
| src/pytribeam/factory.py |
1463:0 |
Convention |
Line too long (214/100) (line-too-long) |
| src/pytribeam/factory.py |
1483:0 |
Convention |
Line too long (158/100) (line-too-long) |
| src/pytribeam/factory.py |
1529:0 |
Convention |
Line too long (163/100) (line-too-long) |
| src/pytribeam/factory.py |
1558:0 |
Convention |
Line too long (104/100) (line-too-long) |
| src/pytribeam/factory.py |
1568:0 |
Convention |
Line too long (108/100) (line-too-long) |
| src/pytribeam/factory.py |
1572:0 |
Convention |
Line too long (102/100) (line-too-long) |
| src/pytribeam/factory.py |
1594:0 |
Convention |
Line too long (131/100) (line-too-long) |
| src/pytribeam/factory.py |
1623:0 |
Convention |
Line too long (131/100) (line-too-long) |
| src/pytribeam/factory.py |
1657:0 |
Convention |
Line too long (159/100) (line-too-long) |
| src/pytribeam/factory.py |
1694:0 |
Convention |
Line too long (111/100) (line-too-long) |
| src/pytribeam/factory.py |
1727:0 |
Convention |
Line too long (203/100) (line-too-long) |
| src/pytribeam/factory.py |
1744:0 |
Convention |
Line too long (231/100) (line-too-long) |
| src/pytribeam/factory.py |
1753:0 |
Convention |
Line too long (231/100) (line-too-long) |
| src/pytribeam/factory.py |
1762:0 |
Convention |
Line too long (276/100) (line-too-long) |
| src/pytribeam/factory.py |
1771:0 |
Convention |
Line too long (279/100) (line-too-long) |
| src/pytribeam/factory.py |
1795:0 |
Convention |
Line too long (140/100) (line-too-long) |
| src/pytribeam/factory.py |
1830:0 |
Convention |
Line too long (165/100) (line-too-long) |
| src/pytribeam/factory.py |
1839:0 |
Convention |
Line too long (165/100) (line-too-long) |
| src/pytribeam/factory.py |
1848:0 |
Convention |
Line too long (165/100) (line-too-long) |
| src/pytribeam/factory.py |
1857:0 |
Convention |
Line too long (172/100) (line-too-long) |
| src/pytribeam/factory.py |
1866:0 |
Convention |
Line too long (173/100) (line-too-long) |
| src/pytribeam/factory.py |
1890:0 |
Convention |
Line too long (129/100) (line-too-long) |
| src/pytribeam/factory.py |
1930:0 |
Convention |
Line too long (183/100) (line-too-long) |
| src/pytribeam/factory.py |
1935:0 |
Convention |
Line too long (160/100) (line-too-long) |
| src/pytribeam/factory.py |
1944:0 |
Convention |
Line too long (182/100) (line-too-long) |
| src/pytribeam/factory.py |
1949:0 |
Convention |
Line too long (111/100) (line-too-long) |
| src/pytribeam/factory.py |
1958:0 |
Convention |
Line too long (185/100) (line-too-long) |
| src/pytribeam/factory.py |
1967:0 |
Convention |
Line too long (214/100) (line-too-long) |
| src/pytribeam/factory.py |
1978:0 |
Convention |
Line too long (212/100) (line-too-long) |
| src/pytribeam/factory.py |
1983:0 |
Convention |
Line too long (218/100) (line-too-long) |
| src/pytribeam/factory.py |
1993:0 |
Convention |
Line too long (209/100) (line-too-long) |
| src/pytribeam/factory.py |
1998:0 |
Convention |
Line too long (215/100) (line-too-long) |
| src/pytribeam/factory.py |
2026:0 |
Convention |
Line too long (143/100) (line-too-long) |
| src/pytribeam/factory.py |
2051:0 |
Convention |
Line too long (146/100) (line-too-long) |
| src/pytribeam/factory.py |
2070:0 |
Convention |
Line too long (319/100) (line-too-long) |
| src/pytribeam/factory.py |
2089:0 |
Convention |
Line too long (181/100) (line-too-long) |
| src/pytribeam/factory.py |
2101:0 |
Convention |
Line too long (184/100) (line-too-long) |
| src/pytribeam/factory.py |
2116:0 |
Convention |
Line too long (140/100) (line-too-long) |
| src/pytribeam/factory.py |
2133:0 |
Convention |
Line too long (151/100) (line-too-long) |
| src/pytribeam/factory.py |
2152:0 |
Convention |
Line too long (120/100) (line-too-long) |
| src/pytribeam/factory.py |
2184:0 |
Convention |
Line too long (124/100) (line-too-long) |
| src/pytribeam/factory.py |
2190:0 |
Convention |
Line too long (120/100) (line-too-long) |
| src/pytribeam/factory.py |
2196:0 |
Convention |
Line too long (118/100) (line-too-long) |
| src/pytribeam/factory.py |
2209:0 |
Convention |
Line too long (216/100) (line-too-long) |
| src/pytribeam/factory.py |
2244:0 |
Convention |
Line too long (183/100) (line-too-long) |
| src/pytribeam/factory.py |
2261:0 |
Convention |
Line too long (141/100) (line-too-long) |
| src/pytribeam/factory.py |
2331:0 |
Convention |
Line too long (192/100) (line-too-long) |
| src/pytribeam/factory.py |
2336:0 |
Convention |
Line too long (119/100) (line-too-long) |
| src/pytribeam/factory.py |
2345:0 |
Convention |
Line too long (166/100) (line-too-long) |
| src/pytribeam/factory.py |
2350:0 |
Convention |
Line too long (154/100) (line-too-long) |
| src/pytribeam/factory.py |
2355:0 |
Convention |
Line too long (148/100) (line-too-long) |
| src/pytribeam/factory.py |
2360:0 |
Convention |
Line too long (114/100) (line-too-long) |
| src/pytribeam/factory.py |
2384:0 |
Convention |
Line too long (129/100) (line-too-long) |
| src/pytribeam/factory.py |
2427:0 |
Convention |
Line too long (286/100) (line-too-long) |
| src/pytribeam/factory.py |
2436:0 |
Convention |
Line too long (269/100) (line-too-long) |
| src/pytribeam/factory.py |
2445:0 |
Convention |
Line too long (274/100) (line-too-long) |
| src/pytribeam/factory.py |
2469:0 |
Convention |
Line too long (106/100) (line-too-long) |
| src/pytribeam/factory.py |
2503:0 |
Convention |
Line too long (201/100) (line-too-long) |
| src/pytribeam/factory.py |
2571:0 |
Convention |
Line too long (214/100) (line-too-long) |
| src/pytribeam/factory.py |
2576:0 |
Convention |
Line too long (181/100) (line-too-long) |
| src/pytribeam/factory.py |
2584:0 |
Convention |
Line too long (179/100) (line-too-long) |
| src/pytribeam/factory.py |
2589:0 |
Convention |
Line too long (181/100) (line-too-long) |
| src/pytribeam/factory.py |
2641:0 |
Convention |
Line too long (359/100) (line-too-long) |
| src/pytribeam/factory.py |
2645:0 |
Convention |
Line too long (236/100) (line-too-long) |
| src/pytribeam/factory.py |
2649:0 |
Convention |
Line too long (236/100) (line-too-long) |
| src/pytribeam/factory.py |
2670:0 |
Convention |
Line too long (104/100) (line-too-long) |
| src/pytribeam/factory.py |
2700:0 |
Convention |
Line too long (192/100) (line-too-long) |
| src/pytribeam/factory.py |
2713:0 |
Convention |
Line too long (215/100) (line-too-long) |
| src/pytribeam/factory.py |
2724:0 |
Convention |
Line too long (218/100) (line-too-long) |
| src/pytribeam/factory.py |
2729:0 |
Convention |
Line too long (228/100) (line-too-long) |
| src/pytribeam/factory.py |
2734:0 |
Convention |
Line too long (228/100) (line-too-long) |
| src/pytribeam/factory.py |
2739:0 |
Convention |
Line too long (231/100) (line-too-long) |
| src/pytribeam/factory.py |
2744:0 |
Convention |
Line too long (231/100) (line-too-long) |
| src/pytribeam/factory.py |
2765:0 |
Convention |
Line too long (105/100) (line-too-long) |
| src/pytribeam/factory.py |
2795:0 |
Convention |
Line too long (193/100) (line-too-long) |
| src/pytribeam/factory.py |
2806:0 |
Convention |
Line too long (219/100) (line-too-long) |
| src/pytribeam/factory.py |
2811:0 |
Convention |
Line too long (223/100) (line-too-long) |
| src/pytribeam/factory.py |
2816:0 |
Convention |
Line too long (226/100) (line-too-long) |
| src/pytribeam/factory.py |
2864:0 |
Convention |
Line too long (172/100) (line-too-long) |
| src/pytribeam/factory.py |
2871:0 |
Convention |
Line too long (211/100) (line-too-long) |
| src/pytribeam/factory.py |
2882:0 |
Convention |
Line too long (229/100) (line-too-long) |
| src/pytribeam/factory.py |
2887:0 |
Convention |
Line too long (300/100) (line-too-long) |
| src/pytribeam/factory.py |
2897:0 |
Convention |
Line too long (292/100) (line-too-long) |
| src/pytribeam/factory.py |
2903:0 |
Convention |
Line too long (235/100) (line-too-long) |
| src/pytribeam/factory.py |
2928:0 |
Convention |
Line too long (149/100) (line-too-long) |
| src/pytribeam/factory.py |
2947:0 |
Convention |
Line too long (103/100) (line-too-long) |
| src/pytribeam/factory.py |
2956:0 |
Convention |
Line too long (144/100) (line-too-long) |
| src/pytribeam/factory.py |
2971:0 |
Convention |
Line too long (113/100) (line-too-long) |
| src/pytribeam/factory.py |
2975:0 |
Convention |
Line too long (344/100) (line-too-long) |
| src/pytribeam/factory.py |
2999:0 |
Convention |
Line too long (133/100) (line-too-long) |
| src/pytribeam/factory.py |
3017:0 |
Convention |
Line too long (210/100) (line-too-long) |
| src/pytribeam/factory.py |
3032:0 |
Convention |
Line too long (113/100) (line-too-long) |
| src/pytribeam/factory.py |
3038:0 |
Convention |
Line too long (103/100) (line-too-long) |
| src/pytribeam/factory.py |
3049:0 |
Convention |
Line too long (142/100) (line-too-long) |
| src/pytribeam/factory.py |
3098:0 |
Convention |
Line too long (407/100) (line-too-long) |
| src/pytribeam/factory.py |
3109:0 |
Convention |
Line too long (164/100) (line-too-long) |
| src/pytribeam/factory.py |
3151:0 |
Convention |
Line too long (155/100) (line-too-long) |
| src/pytribeam/factory.py |
3195:0 |
Convention |
Line too long (167/100) (line-too-long) |
| src/pytribeam/factory.py |
3238:0 |
Convention |
Line too long (168/100) (line-too-long) |
| src/pytribeam/factory.py |
3272:0 |
Convention |
Line too long (151/100) (line-too-long) |
| src/pytribeam/factory.py |
3278:0 |
Convention |
Line too long (123/100) (line-too-long) |
| src/pytribeam/factory.py |
3291:0 |
Convention |
Line too long (102/100) (line-too-long) |
| src/pytribeam/factory.py |
3321:0 |
Convention |
Line too long (277/100) (line-too-long) |
| src/pytribeam/factory.py |
3325:0 |
Convention |
Line too long (277/100) (line-too-long) |
| src/pytribeam/factory.py |
3330:0 |
Convention |
Line too long (239/100) (line-too-long) |
| src/pytribeam/factory.py |
3335:0 |
Convention |
Line too long (242/100) (line-too-long) |
| src/pytribeam/factory.py |
3340:0 |
Convention |
Line too long (239/100) (line-too-long) |
| src/pytribeam/factory.py |
3345:0 |
Convention |
Line too long (301/100) (line-too-long) |
| src/pytribeam/factory.py |
3350:0 |
Convention |
Line too long (281/100) (line-too-long) |
| src/pytribeam/factory.py |
3373:0 |
Convention |
Line too long (112/100) (line-too-long) |
| src/pytribeam/factory.py |
3420:0 |
Convention |
Line too long (356/100) (line-too-long) |
| src/pytribeam/factory.py |
3425:0 |
Convention |
Line too long (237/100) (line-too-long) |
| src/pytribeam/factory.py |
3431:0 |
Convention |
Line too long (277/100) (line-too-long) |
| src/pytribeam/factory.py |
3436:0 |
Convention |
Line too long (270/100) (line-too-long) |
| src/pytribeam/factory.py |
3495:0 |
Convention |
Line too long (144/100) (line-too-long) |
| src/pytribeam/factory.py |
3502:0 |
Convention |
Line too long (126/100) (line-too-long) |
| src/pytribeam/factory.py |
3509:0 |
Convention |
Line too long (132/100) (line-too-long) |
| src/pytribeam/factory.py |
1:0 |
Convention |
Too many lines in module (3578/1000) (too-many-lines) |
| src/pytribeam/factory.py |
1071:5 |
Warning |
TODO incorporate tile settings (fixme) |
| src/pytribeam/factory.py |
2285:5 |
Warning |
TODO (fixme) |
| src/pytribeam/factory.py |
3104:5 |
Warning |
TODO make this print out pretty (fixme) |
| src/pytribeam/factory.py |
3524:5 |
Warning |
TODO (fixme) |
| src/pytribeam/factory.py |
161:0 |
Refactor |
Use 'from pytribeam import stage' instead (consider-using-from-import) |
| src/pytribeam/factory.py |
167:0 |
Warning |
No exception type(s) specified (bare-except) |
| src/pytribeam/factory.py |
210:11 |
Error |
Too many positional arguments for function call (too-many-function-args) |
| src/pytribeam/factory.py |
298:4 |
Warning |
Redefining name 'active_image_settings' from outer scope (line 277) (redefined-outer-name) |
| src/pytribeam/factory.py |
365:11 |
Error |
Too many positional arguments for function call (too-many-function-args) |
| src/pytribeam/factory.py |
502:17 |
Error |
Possibly using variable 'geometry' before assignment (possibly-used-before-assignment) |
| src/pytribeam/factory.py |
503:25 |
Error |
Possibly using variable 'pulses_per_pixel' before assignment (possibly-used-before-assignment) |
| src/pytribeam/factory.py |
504:23 |
Error |
Possibly using variable 'pixel_dwell_ms' before assignment (possibly-used-before-assignment) |
| src/pytribeam/factory.py |
596:21 |
Warning |
Redefining built-in 'type' (redefined-builtin) |
| src/pytribeam/factory.py |
596:0 |
Refactor |
Either all return statements in a function should return an expression, or none of them should. (inconsistent-return-statements) |
| src/pytribeam/factory.py |
740:33 |
Error |
Possibly using variable 'min_na' before assignment (possibly-used-before-assignment) |
| src/pytribeam/factory.py |
740:45 |
Error |
Possibly using variable 'max_na' before assignment (possibly-used-before-assignment) |
| src/pytribeam/factory.py |
746:0 |
Refactor |
Too many local variables (16/15) (too-many-locals) |
| src/pytribeam/factory.py |
821:20 |
Error |
Possibly using variable 'yml_version' before assignment (possibly-used-before-assignment) |
| src/pytribeam/factory.py |
822:27 |
Error |
Possibly using variable 'slice_thickness_um' before assignment (possibly-used-before-assignment) |
| src/pytribeam/factory.py |
823:25 |
Error |
Possibly using variable 'max_slice_number' before assignment (possibly-used-before-assignment) |
| src/pytribeam/factory.py |
824:21 |
Error |
Possibly using variable 'pre_tilt_deg' before assignment (possibly-used-before-assignment) |
| src/pytribeam/factory.py |
825:24 |
Error |
Possibly using variable 'sectioning_axis' before assignment (possibly-used-before-assignment) |
| src/pytribeam/factory.py |
826:24 |
Error |
Possibly using variable 'stage_tolerance' before assignment (possibly-used-before-assignment) |
| src/pytribeam/factory.py |
827:19 |
Error |
Possibly using variable 'connection' before assignment (possibly-used-before-assignment) |
| src/pytribeam/factory.py |
828:17 |
Error |
Possibly using variable 'ebsd_oem' before assignment (possibly-used-before-assignment) |
| src/pytribeam/factory.py |
829:16 |
Error |
Possibly using variable 'eds_oem' before assignment (possibly-used-before-assignment) |
| src/pytribeam/factory.py |
830:21 |
Error |
Possibly using variable 'exp_dir' before assignment (possibly-used-before-assignment) |
| src/pytribeam/factory.py |
832:19 |
Error |
Possibly using variable 'step_count' before assignment (possibly-used-before-assignment) |
| src/pytribeam/factory.py |
956:17 |
Error |
Possibly using variable 'optics_set_db' before assignment (possibly-used-before-assignment) |
| src/pytribeam/factory.py |
967:37 |
Error |
Possibly using variable 'box_pattern_db' before assignment (possibly-used-before-assignment) |
| src/pytribeam/factory.py |
969:38 |
Error |
Possibly using variable 'line_pattern_db' before assignment (possibly-used-before-assignment) |
| src/pytribeam/factory.py |
975:17 |
Error |
Possibly using variable 'geometry' before assignment (possibly-used-before-assignment) |
| src/pytribeam/factory.py |
992:0 |
Refactor |
Too many local variables (21/15) (too-many-locals) |
| src/pytribeam/factory.py |
1078:18 |
Error |
Possibly using variable 'beam_type' before assignment (possibly-used-before-assignment) |
| src/pytribeam/factory.py |
1095:17 |
Error |
Possibly using variable 'auto_cb_set_db' before assignment (possibly-used-before-assignment) |
| src/pytribeam/factory.py |
1149:31 |
Error |
Possibly using variable 'bit_depth' before assignment (possibly-used-before-assignment) |
| src/pytribeam/factory.py |
1074:8 |
Warning |
Unused variable 'tile_set_db' (unused-variable) |
| src/pytribeam/factory.py |
1231:29 |
Error |
Possibly using variable 'mill_beam_db' before assignment (possibly-used-before-assignment) |
| src/pytribeam/factory.py |
1256:17 |
Error |
Possibly using variable 'mill_pattern_db' before assignment (possibly-used-before-assignment) |
| src/pytribeam/factory.py |
1357:11 |
Convention |
Consider changing "not tbt.BeamType(beam_type_value) == tbt.BeamType.ELECTRON" to "tbt.BeamType(beam_type_value) != tbt.BeamType.ELECTRON" (unnecessary-negation) |
| src/pytribeam/factory.py |
1408:11 |
Convention |
Consider changing "not tbt.BeamType(beam_type_value) == tbt.BeamType.ION" to "tbt.BeamType(beam_type_value) != tbt.BeamType.ION" (unnecessary-negation) |
| src/pytribeam/factory.py |
1456:4 |
Convention |
Variable name "concurrent_EDS" doesn't conform to snake_case naming style (invalid-name) |
| src/pytribeam/factory.py |
1459:9 |
Convention |
Comparison 'concurrent_EDS == True' should be 'concurrent_EDS is True' if checking for the singleton value True, or 'concurrent_EDS' if testing for truthiness (singleton-comparison) |
| src/pytribeam/factory.py |
1521:4 |
Warning |
Unused argument 'microscope' (unused-argument) |
| src/pytribeam/factory.py |
1619:18 |
Warning |
Redefining built-in 'input' (redefined-builtin) |
| src/pytribeam/factory.py |
1644:8 |
Warning |
Consider explicitly re-raising using 'except Exception as exc' and 'raise ValueError(f'Invalid string format, \n expected string format of "WIDTHxHEIGHT", \n but received the following: "{input}".') from exc' (raise-missing-from) |
| src/pytribeam/factory.py |
1778:8 |
Error |
Possibly using variable 'schema' before assignment (possibly-used-before-assignment) |
| src/pytribeam/factory.py |
1780:8 |
Warning |
Consider explicitly re-raising using 'except UnboundLocalError as exc' and 'raise ValueError(f'Error. Unsupported yml version {yml_format.version} provided.') from exc' (raise-missing-from) |
| src/pytribeam/factory.py |
1873:8 |
Error |
Possibly using variable 'schema' before assignment (possibly-used-before-assignment) |
| src/pytribeam/factory.py |
1875:8 |
Warning |
Consider explicitly re-raising using 'except UnboundLocalError as exc' and 'raise ValueError(f'Error. Unsupported yml version {yml_format.version} provided.') from exc' (raise-missing-from) |
| src/pytribeam/factory.py |
1916:20 |
Error |
Too many positional arguments for function call (too-many-function-args) |
| src/pytribeam/factory.py |
2005:8 |
Error |
Possibly using variable 'schema' before assignment (possibly-used-before-assignment) |
| src/pytribeam/factory.py |
2007:12 |
Error |
Possibly using variable 'e_beam_schema' before assignment (possibly-used-before-assignment) |
| src/pytribeam/factory.py |
2009:12 |
Error |
Possibly using variable 'i_beam_schema' before assignment (possibly-used-before-assignment) |
| src/pytribeam/factory.py |
2011:8 |
Warning |
Consider explicitly re-raising using 'except UnboundLocalError as exc' and 'raise ValueError(f'Error. Unsupported yml version {yml_format.version} provided.') from exc' (raise-missing-from) |
| src/pytribeam/factory.py |
2016:0 |
Refactor |
Too many local variables (16/15) (too-many-locals) |
| src/pytribeam/factory.py |
2108:31 |
Error |
Possibly using variable 'detector' before assignment (possibly-used-before-assignment) |
| src/pytribeam/factory.py |
2125:31 |
Error |
Possibly using variable 'mode' before assignment (possibly-used-before-assignment) |
| src/pytribeam/factory.py |
2138:8 |
Error |
Possibly using variable 'schema' before assignment (possibly-used-before-assignment) |
| src/pytribeam/factory.py |
2140:8 |
Warning |
Consider explicitly re-raising using 'except UnboundLocalError as exc' and 'raise ValueError(f'Error. Unsupported yml version {yml_format.version} provided.') from exc' (raise-missing-from) |
| src/pytribeam/factory.py |
2145:0 |
Convention |
Function name "validate_EBSD_EDS_settings" doesn't conform to snake_case naming style (invalid-name) |
| src/pytribeam/factory.py |
2208:8 |
Warning |
Consider explicitly re-raising using 'except Exception as exc' and 'raise SystemError("EBSD and/or EDS control requested, but Laser API not accessible, so cannot use EBSD and EDS control. Please restart Laser API, or if not installed, change OEM to 'null', or leave blank in settings file.") from exc' (raise-missing-from) |
| src/pytribeam/factory.py |
2283:31 |
Error |
Possibly using variable 'sectioning_axis' before assignment (possibly-used-before-assignment) |
| src/pytribeam/factory.py |
2295:13 |
Error |
Possibly using variable 'connection_host' before assignment (possibly-used-before-assignment) |
| src/pytribeam/factory.py |
2296:13 |
Error |
Possibly using variable 'connection_port' before assignment (possibly-used-before-assignment) |
| src/pytribeam/factory.py |
2304:17 |
Error |
Possibly using variable 'ebsd_oem' before assignment (possibly-used-before-assignment) |
| src/pytribeam/factory.py |
2305:16 |
Error |
Possibly using variable 'eds_oem' before assignment (possibly-used-before-assignment) |
| src/pytribeam/factory.py |
2310:13 |
Error |
Possibly using variable 'exp_dir' before assignment (possibly-used-before-assignment) |
| src/pytribeam/factory.py |
2315:8 |
Warning |
Consider explicitly re-raising using 'except TypeError as exc' and 'raise ValueError(f'Requested experimental directory of "{exp_dir}", which is not a valid path.') from exc' (raise-missing-from) |
| src/pytribeam/factory.py |
2319:22 |
Error |
Possibly using variable 'h5_log_name' before assignment (possibly-used-before-assignment) |
| src/pytribeam/factory.py |
2369:8 |
Warning |
Consider explicitly re-raising using 'except UnboundLocalError as exc' and 'raise ValueError(f'Error. Unsupported yml version {yml_format.version} provided.') from exc' (raise-missing-from) |
| src/pytribeam/factory.py |
2410:20 |
Error |
Too many positional arguments for function call (too-many-function-args) |
| src/pytribeam/factory.py |
2412:4 |
Warning |
String statement has no effect (pointless-string-statement) |
| src/pytribeam/factory.py |
2420:24 |
Error |
Possibly using variable 'resolution' before assignment (possibly-used-before-assignment) |
| src/pytribeam/factory.py |
2426:16 |
Warning |
Lambda may not be necessary (unnecessary-lambda) |
| src/pytribeam/factory.py |
2433:26 |
Error |
Possibly using variable 'rotation_limit' before assignment (possibly-used-before-assignment) |
| src/pytribeam/factory.py |
2442:26 |
Error |
Possibly using variable 'dwell_limit' before assignment (possibly-used-before-assignment) |
| src/pytribeam/factory.py |
2454:8 |
Warning |
Consider explicitly re-raising using 'except UnboundLocalError as exc' and 'raise ValueError(f'Error. Unsupported yml version {yml_format.version} provided.') from exc' (raise-missing-from) |
| src/pytribeam/factory.py |
2420:4 |
Warning |
Unused variable 'res' (unused-variable) |
| src/pytribeam/factory.py |
2509:17 |
Error |
Possibly using variable 'pos_db' before assignment (possibly-used-before-assignment) |
| src/pytribeam/factory.py |
2595:8 |
Error |
Possibly using variable 'schema' before assignment (possibly-used-before-assignment) |
| src/pytribeam/factory.py |
2597:8 |
Warning |
Consider explicitly re-raising using 'except UnboundLocalError as exc' and 'raise ValueError(f'Error. Unsupported yml version {yml_format.version} provided.') from exc' (raise-missing-from) |
| src/pytribeam/factory.py |
2655:8 |
Error |
Possibly using variable 'schema' before assignment (possibly-used-before-assignment) |
| src/pytribeam/factory.py |
2657:8 |
Warning |
Consider explicitly re-raising using 'except UnboundLocalError as exc' and 'raise ValueError(f'Error. Unsupported yml version {yml_format.version} provided.') from exc' (raise-missing-from) |
| src/pytribeam/factory.py |
2750:8 |
Error |
Possibly using variable 'schema' before assignment (possibly-used-before-assignment) |
| src/pytribeam/factory.py |
2752:8 |
Warning |
Consider explicitly re-raising using 'except UnboundLocalError as exc' and 'raise ValueError(f'Error. Unsupported yml version {yml_format.version} provided.') from exc' (raise-missing-from) |
| src/pytribeam/factory.py |
2822:8 |
Error |
Possibly using variable 'schema' before assignment (possibly-used-before-assignment) |
| src/pytribeam/factory.py |
2824:8 |
Warning |
Consider explicitly re-raising using 'except UnboundLocalError as exc' and 'raise ValueError(f'Error. Unsupported yml version {yml_format.version} provided.') from exc' (raise-missing-from) |
| src/pytribeam/factory.py |
2909:8 |
Error |
Possibly using variable 'schema' before assignment (possibly-used-before-assignment) |
| src/pytribeam/factory.py |
2911:12 |
Error |
Possibly using variable 'schema_fine' before assignment (possibly-used-before-assignment) |
| src/pytribeam/factory.py |
2913:12 |
Error |
Possibly using variable 'schema_coarse' before assignment (possibly-used-before-assignment) |
| src/pytribeam/factory.py |
2915:8 |
Warning |
Consider explicitly re-raising using 'except UnboundLocalError as exc' and 'raise ValueError(f'Error. Unsupported yml version {yml_format.version} provided.') from exc' (raise-missing-from) |
| src/pytribeam/factory.py |
2983:8 |
Refactor |
Unnecessary "elif" after "return", remove the leading "el" from "elif" (no-else-return) |
| src/pytribeam/factory.py |
2920:0 |
Refactor |
Either all return statements in a function should return an expression, or none of them should. (inconsistent-return-statements) |
| src/pytribeam/factory.py |
3003:0 |
Refactor |
Too many local variables (23/15) (too-many-locals) |
| src/pytribeam/factory.py |
3088:12 |
Warning |
Redefining built-in 'type' (redefined-builtin) |
| src/pytribeam/factory.py |
3088:8 |
Convention |
Consider using enumerate instead of iterating with range and len (consider-using-enumerate) |
| src/pytribeam/factory.py |
3098:205 |
Refactor |
Unnecessary use of a comprehension, use list(pattern_names) instead. (unnecessary-comprehension) |
| src/pytribeam/factory.py |
3107:7 |
Error |
Possibly using variable 'application_file' before assignment (possibly-used-before-assignment) |
| src/pytribeam/factory.py |
3112:4 |
Refactor |
Unnecessary "elif" after "return", remove the leading "el" from "elif" (no-else-return) |
| src/pytribeam/factory.py |
3112:7 |
Error |
Possibly using variable 'pattern_type' before assignment (possibly-used-before-assignment) |
| src/pytribeam/factory.py |
3150:12 |
Warning |
Consider explicitly re-raising using 'except Exception as exc' and 'raise ValueError(f'Invalid application file of "{pattern.application}" for Rectangle pattern type. Please select or create an appropriate application file.') from exc' (raise-missing-from) |
| src/pytribeam/factory.py |
3194:12 |
Warning |
Consider explicitly re-raising using 'except Exception as exc' and 'raise ValueError(f'Invalid application file of "{pattern.application}" for Regular Cross Section pattern type. Please select or create an appropriate application file.') from exc' (raise-missing-from) |
| src/pytribeam/factory.py |
3237:12 |
Warning |
Consider explicitly re-raising using 'except Exception as exc' and 'raise ValueError(f'Invalid application file of "{pattern.application}" for Cleaning Cross Section pattern type. Please select or create an appropriate application file.') from exc' (raise-missing-from) |
| src/pytribeam/factory.py |
3271:12 |
Warning |
Consider explicitly re-raising using 'except Exception as exc' and 'raise ValueError(f'Invalid application file of "{pattern.application}" for Selected Area pattern. Please use an application file for Rectangle milling.') from exc' (raise-missing-from) |
| src/pytribeam/factory.py |
3003:0 |
Refactor |
Too many branches (16/12) (too-many-branches) |
| src/pytribeam/factory.py |
3003:0 |
Refactor |
Too many statements (66/50) (too-many-statements) |
| src/pytribeam/factory.py |
3316:24 |
Warning |
Access to a protected member _flatten of a client class (protected-access) |
| src/pytribeam/factory.py |
3356:8 |
Error |
Possibly using variable 'schema' before assignment (possibly-used-before-assignment) |
| src/pytribeam/factory.py |
3358:8 |
Warning |
Consider explicitly re-raising using 'except UnboundLocalError as exc' and 'raise ValueError(f'Error. Unsupported yml version {yml_format.version} provided.') from exc' (raise-missing-from) |
| src/pytribeam/factory.py |
3442:8 |
Error |
Possibly using variable 'schema' before assignment (possibly-used-before-assignment) |
| src/pytribeam/factory.py |
3444:8 |
Warning |
Consider explicitly re-raising using 'except UnboundLocalError as exc' and 'raise ValueError(f'Error. Unsupported yml version {yml_format.version} provided.') from exc' (raise-missing-from) |
| src/pytribeam/factory.py |
3575:27 |
Error |
Possibly using variable 'operation_settings' before assignment (possibly-used-before-assignment) |
| src/pytribeam/utilities.py |
6:0 |
Convention |
Line too long (162/100) (line-too-long) |
| src/pytribeam/utilities.py |
13:0 |
Convention |
Line too long (139/100) (line-too-long) |
| src/pytribeam/utilities.py |
29:0 |
Convention |
Line too long (109/100) (line-too-long) |
| src/pytribeam/utilities.py |
52:0 |
Convention |
Line too long (131/100) (line-too-long) |
| src/pytribeam/utilities.py |
53:0 |
Convention |
Line too long (134/100) (line-too-long) |
| src/pytribeam/utilities.py |
82:0 |
Convention |
Line too long (134/100) (line-too-long) |
| src/pytribeam/utilities.py |
249:0 |
Convention |
Line too long (146/100) (line-too-long) |
| src/pytribeam/utilities.py |
361:0 |
Convention |
Line too long (109/100) (line-too-long) |
| src/pytribeam/utilities.py |
420:0 |
Convention |
Line too long (107/100) (line-too-long) |
| src/pytribeam/utilities.py |
453:0 |
Convention |
Line too long (107/100) (line-too-long) |
| src/pytribeam/utilities.py |
483:0 |
Convention |
Line too long (101/100) (line-too-long) |
| src/pytribeam/utilities.py |
549:0 |
Convention |
Line too long (117/100) (line-too-long) |
| src/pytribeam/utilities.py |
577:0 |
Convention |
Line too long (269/100) (line-too-long) |
| src/pytribeam/utilities.py |
597:0 |
Convention |
Line too long (150/100) (line-too-long) |
| src/pytribeam/utilities.py |
601:0 |
Convention |
Line too long (395/100) (line-too-long) |
| src/pytribeam/utilities.py |
614:0 |
Convention |
Line too long (134/100) (line-too-long) |
| src/pytribeam/utilities.py |
638:0 |
Convention |
Line too long (110/100) (line-too-long) |
| src/pytribeam/utilities.py |
648:0 |
Convention |
Line too long (108/100) (line-too-long) |
| src/pytribeam/utilities.py |
752:0 |
Convention |
Line too long (133/100) (line-too-long) |
| src/pytribeam/utilities.py |
872:0 |
Convention |
Line too long (113/100) (line-too-long) |
| src/pytribeam/utilities.py |
1:0 |
Convention |
Too many lines in module (1039/1000) (too-many-lines) |
| src/pytribeam/utilities.py |
217:5 |
Warning |
TODO clean up inner function (fixme) |
| src/pytribeam/utilities.py |
597:5 |
Warning |
TODO YAML safeloader will ignore duplicate top level keys, so this check relies on unique step numbers in ascending order (no gaps) to be found. (fixme) |
| src/pytribeam/utilities.py |
110:0 |
Error |
Unable to import 'pandas' (import-error) |
| src/pytribeam/utilities.py |
245:4 |
Refactor |
Unnecessary "else" after "return", remove the "else" and de-indent the code inside it (no-else-return) |
| src/pytribeam/utilities.py |
310:4 |
Refactor |
Unnecessary "else" after "return", remove the "else" and de-indent the code inside it (no-else-return) |
| src/pytribeam/utilities.py |
316:41 |
Warning |
Redefining name 'yml_format' from outer scope (line 728) (redefined-outer-name) |
| src/pytribeam/utilities.py |
336:30 |
Warning |
Redefining name 'yml_format' from outer scope (line 728) (redefined-outer-name) |
| src/pytribeam/utilities.py |
352:4 |
Warning |
Redefining name 'step_type' from outer scope (line 336) (redefined-outer-name) |
| src/pytribeam/utilities.py |
359:46 |
Warning |
Redefining built-in 'type' (redefined-builtin) |
| src/pytribeam/utilities.py |
378:15 |
Refactor |
Simplify chained comparison between the operands (chained-comparison) |
| src/pytribeam/utilities.py |
380:15 |
Refactor |
Simplify chained comparison between the operands (chained-comparison) |
| src/pytribeam/utilities.py |
382:15 |
Refactor |
Simplify chained comparison between the operands (chained-comparison) |
| src/pytribeam/utilities.py |
384:15 |
Refactor |
Simplify chained comparison between the operands (chained-comparison) |
| src/pytribeam/utilities.py |
359:0 |
Refactor |
Either all return statements in a function should return an expression, or none of them should. (inconsistent-return-statements) |
| src/pytribeam/utilities.py |
408:16 |
Refactor |
Use 'yield from' directly instead of yielding each element one by one (use-yield-from) |
| src/pytribeam/utilities.py |
412:20 |
Refactor |
Use 'yield from' directly instead of yielding each element one by one (use-yield-from) |
| src/pytribeam/utilities.py |
449:0 |
Refactor |
Either all return statements in a function should return an expression, or none of them should. (inconsistent-return-statements) |
| src/pytribeam/utilities.py |
519:11 |
Refactor |
Use a generator instead 'all(v is None for v in db_flat.values())' (use-a-generator) |
| src/pytribeam/utilities.py |
544:4 |
Warning |
Redefining name 'yml_format' from outer scope (line 728) (redefined-outer-name) |
| src/pytribeam/utilities.py |
611:4 |
Warning |
Redefining name 'yml_format' from outer scope (line 728) (redefined-outer-name) |
| src/pytribeam/utilities.py |
725:18 |
Warning |
Access to a protected member _value2member_map_ of a client class (protected-access) |
| src/pytribeam/utilities.py |
755:4 |
Warning |
Redefining name 'yml_format' from outer scope (line 728) (redefined-outer-name) |
| src/pytribeam/utilities.py |
860:9 |
Warning |
Using open without explicitly specifying an encoding (unspecified-encoding) |
| src/pytribeam/utilities.py |
867:8 |
Warning |
Consider explicitly re-raising using 'except KeyError as exc' and 'raise KeyError(f"Error with version key, '{key_name}' key not found in {file}.") from exc' (raise-missing-from) |
| src/pytribeam/utilities.py |
871:8 |
Warning |
Consider explicitly re-raising using 'except ValueError as exc' and 'raise ValueError(f"Could not find valid version in {file} for key {key_name}, found '{version}' which is not a float.") from exc' (raise-missing-from) |
| src/pytribeam/utilities.py |
1017:8 |
Convention |
Import outside toplevel (autoscript_sdb_microscope_client) (import-outside-toplevel) |
| src/pytribeam/utilities.py |
1035:8 |
Convention |
Import outside toplevel (Laser.PythonControl) (import-outside-toplevel) |
| src/pytribeam/utilities.py |
1035:8 |
Warning |
Unused Laser.PythonControl imported as tfs_laser (unused-import) |
| src/pytribeam/utilities.py |
103:0 |
Convention |
standard import "functools.singledispatch" should be placed before third party import "pytest" (wrong-import-order) |
| src/pytribeam/utilities.py |
104:0 |
Convention |
standard import "shutil" should be placed before third party import "pytest" (wrong-import-order) |
| src/pytribeam/utilities.py |
108:0 |
Convention |
standard import "contextlib" should be placed before third party imports "pytest", "yaml" (wrong-import-order) |
| src/pytribeam/utilities.py |
109:0 |
Convention |
standard import "sys" should be placed before third party imports "pytest", "yaml" (wrong-import-order) |
| src/pytribeam/utilities.py |
102:0 |
Warning |
Unused import pytest (unused-import) |
| src/pytribeam/stage.py |
6:0 |
Convention |
Line too long (174/100) (line-too-long) |
| src/pytribeam/stage.py |
10:0 |
Convention |
Line too long (118/100) (line-too-long) |
| src/pytribeam/stage.py |
22:0 |
Convention |
Line too long (113/100) (line-too-long) |
| src/pytribeam/stage.py |
25:0 |
Convention |
Line too long (112/100) (line-too-long) |
| src/pytribeam/stage.py |
31:0 |
Convention |
Line too long (107/100) (line-too-long) |
| src/pytribeam/stage.py |
34:0 |
Convention |
Line too long (104/100) (line-too-long) |
| src/pytribeam/stage.py |
37:0 |
Convention |
Line too long (186/100) (line-too-long) |
| src/pytribeam/stage.py |
40:0 |
Convention |
Line too long (216/100) (line-too-long) |
| src/pytribeam/stage.py |
43:0 |
Convention |
Line too long (123/100) (line-too-long) |
| src/pytribeam/stage.py |
46:0 |
Convention |
Line too long (127/100) (line-too-long) |
| src/pytribeam/stage.py |
49:0 |
Convention |
Line too long (122/100) (line-too-long) |
| src/pytribeam/stage.py |
52:0 |
Convention |
Line too long (168/100) (line-too-long) |
| src/pytribeam/stage.py |
55:0 |
Convention |
Line too long (142/100) (line-too-long) |
| src/pytribeam/stage.py |
58:0 |
Convention |
Line too long (134/100) (line-too-long) |
| src/pytribeam/stage.py |
89:0 |
Convention |
Line too long (105/100) (line-too-long) |
| src/pytribeam/stage.py |
160:0 |
Convention |
Line too long (191/100) (line-too-long) |
| src/pytribeam/stage.py |
197:0 |
Convention |
Line too long (188/100) (line-too-long) |
| src/pytribeam/stage.py |
265:0 |
Convention |
Line too long (136/100) (line-too-long) |
| src/pytribeam/stage.py |
603:0 |
Convention |
Line too long (175/100) (line-too-long) |
| src/pytribeam/stage.py |
718:0 |
Convention |
Line too long (107/100) (line-too-long) |
| src/pytribeam/stage.py |
758:0 |
Convention |
Line too long (144/100) (line-too-long) |
| src/pytribeam/stage.py |
814:0 |
Convention |
Line too long (149/100) (line-too-long) |
| src/pytribeam/stage.py |
898:0 |
Convention |
Line too long (165/100) (line-too-long) |
| src/pytribeam/stage.py |
906:0 |
Convention |
Line too long (154/100) (line-too-long) |
| src/pytribeam/stage.py |
920:0 |
Convention |
Line too long (131/100) (line-too-long) |
| src/pytribeam/stage.py |
946:0 |
Convention |
Line too long (127/100) (line-too-long) |
| src/pytribeam/stage.py |
949:0 |
Convention |
Line too long (162/100) (line-too-long) |
| src/pytribeam/stage.py |
109:9 |
Warning |
TODO ask for yes no continue (fixme) |
| src/pytribeam/stage.py |
210:1 |
Warning |
TODO not yet implemented for other sectioning axes, below example works on Z-sectioning (fixme) |
| src/pytribeam/stage.py |
333:5 |
Warning |
TODO (fixme) |
| src/pytribeam/stage.py |
511:5 |
Warning |
TODO convert to match statements at python >=3.10 (fixme) |
| src/pytribeam/stage.py |
581:5 |
Warning |
TODO convert to match statements at python >=3.10 (fixme) |
| src/pytribeam/stage.py |
830:5 |
Warning |
check if completed #TODO clean this with a loop (fixme) |
| src/pytribeam/stage.py |
77:0 |
Refactor |
Use 'from pytribeam import factory' instead (consider-using-from-import) |
| src/pytribeam/stage.py |
257:0 |
Refactor |
Too many local variables (20/15) (too-many-locals) |
| src/pytribeam/stage.py |
336:8 |
Warning |
Unreachable code (unreachable) |
| src/pytribeam/stage.py |
337:8 |
Warning |
Unnecessary pass statement (unnecessary-pass) |
| src/pytribeam/stage.py |
340:8 |
Warning |
Unreachable code (unreachable) |
| src/pytribeam/stage.py |
341:8 |
Warning |
Unnecessary pass statement (unnecessary-pass) |
| src/pytribeam/stage.py |
344:8 |
Warning |
Unreachable code (unreachable) |
| src/pytribeam/stage.py |
345:8 |
Warning |
Unnecessary pass statement (unnecessary-pass) |
| src/pytribeam/stage.py |
348:8 |
Warning |
Unreachable code (unreachable) |
| src/pytribeam/stage.py |
349:8 |
Warning |
Unnecessary pass statement (unnecessary-pass) |
| src/pytribeam/stage.py |
336:8 |
Warning |
Unused variable 'delta_x_m' (unused-variable) |
| src/pytribeam/stage.py |
483:4 |
Warning |
Redefining name 'target_position' from outer scope (line 257) (redefined-outer-name) |
| src/pytribeam/stage.py |
553:4 |
Warning |
Redefining name 'target_position' from outer scope (line 257) (redefined-outer-name) |
| src/pytribeam/stage.py |
597:4 |
Warning |
Redefining name 'target_position' from outer scope (line 257) (redefined-outer-name) |
| src/pytribeam/stage.py |
679:4 |
Warning |
Redefining name 'target_position' from outer scope (line 257) (redefined-outer-name) |
| src/pytribeam/stage.py |
772:4 |
Warning |
Redefining name 'target_position' from outer scope (line 257) (redefined-outer-name) |
| src/pytribeam/stage.py |
783:4 |
Warning |
Redefining name 'target_position' from outer scope (line 257) (redefined-outer-name) |
| src/pytribeam/stage.py |
860:4 |
Warning |
Redefining name 'target_position' from outer scope (line 257) (redefined-outer-name) |
| src/pytribeam/stage.py |
896:4 |
Convention |
Consider using enumerate instead of iterating with range and len (consider-using-enumerate) |
| src/pytribeam/stage.py |
904:4 |
Convention |
Consider using enumerate instead of iterating with range and len (consider-using-enumerate) |
| src/pytribeam/laser.py |
6:0 |
Convention |
Line too long (185/100) (line-too-long) |
| src/pytribeam/laser.py |
22:0 |
Convention |
Line too long (117/100) (line-too-long) |
| src/pytribeam/laser.py |
28:0 |
Convention |
Line too long (144/100) (line-too-long) |
| src/pytribeam/laser.py |
52:0 |
Convention |
Line too long (108/100) (line-too-long) |
| src/pytribeam/laser.py |
159:0 |
Convention |
Line too long (101/100) (line-too-long) |
| src/pytribeam/laser.py |
183:0 |
Convention |
Line too long (191/100) (line-too-long) |
| src/pytribeam/laser.py |
243:0 |
Convention |
Line too long (148/100) (line-too-long) |
| src/pytribeam/laser.py |
250:0 |
Convention |
Line too long (101/100) (line-too-long) |
| src/pytribeam/laser.py |
329:0 |
Convention |
Line too long (112/100) (line-too-long) |
| src/pytribeam/laser.py |
473:0 |
Convention |
Line too long (203/100) (line-too-long) |
| src/pytribeam/laser.py |
507:0 |
Convention |
Line too long (103/100) (line-too-long) |
| src/pytribeam/laser.py |
512:0 |
Convention |
Line too long (103/100) (line-too-long) |
| src/pytribeam/laser.py |
520:0 |
Convention |
Line too long (137/100) (line-too-long) |
| src/pytribeam/laser.py |
564:0 |
Convention |
Line too long (116/100) (line-too-long) |
| src/pytribeam/laser.py |
571:0 |
Convention |
Line too long (122/100) (line-too-long) |
| src/pytribeam/laser.py |
593:0 |
Convention |
Line too long (207/100) (line-too-long) |
| src/pytribeam/laser.py |
608:0 |
Convention |
Line too long (119/100) (line-too-long) |
| src/pytribeam/laser.py |
622:0 |
Convention |
Line too long (111/100) (line-too-long) |
| src/pytribeam/laser.py |
667:0 |
Convention |
Line too long (106/100) (line-too-long) |
| src/pytribeam/laser.py |
674:0 |
Convention |
Line too long (109/100) (line-too-long) |
| src/pytribeam/laser.py |
704:0 |
Convention |
Line too long (210/100) (line-too-long) |
| src/pytribeam/laser.py |
713:0 |
Convention |
Line too long (126/100) (line-too-long) |
| src/pytribeam/laser.py |
762:0 |
Convention |
Line too long (143/100) (line-too-long) |
| src/pytribeam/laser.py |
774:0 |
Convention |
Line too long (184/100) (line-too-long) |
| src/pytribeam/laser.py |
836:0 |
Convention |
Line too long (255/100) (line-too-long) |
| src/pytribeam/laser.py |
896:0 |
Convention |
Line too long (180/100) (line-too-long) |
| src/pytribeam/laser.py |
943:0 |
Convention |
Line too long (171/100) (line-too-long) |
| src/pytribeam/laser.py |
962:0 |
Convention |
Line too long (131/100) (line-too-long) |
| src/pytribeam/laser.py |
972:0 |
Convention |
Line too long (170/100) (line-too-long) |
| src/pytribeam/laser.py |
991:0 |
Convention |
Line too long (130/100) (line-too-long) |
| src/pytribeam/laser.py |
323:29 |
Warning |
TODO make a constant (fixme) |
| src/pytribeam/laser.py |
353:13 |
Warning |
TODO use constant for tolerance): (fixme) |
| src/pytribeam/laser.py |
79:0 |
Convention |
Multiple imports on one line (contextlib, io) (multiple-imports) |
| src/pytribeam/laser.py |
86:0 |
Warning |
No exception type(s) specified (bare-except) |
| src/pytribeam/laser.py |
83:4 |
Error |
Unable to import 'Laser.PythonControl' (import-error) |
| src/pytribeam/laser.py |
94:0 |
Refactor |
Use 'from pytribeam import factory' instead (consider-using-from-import) |
| src/pytribeam/laser.py |
99:0 |
Refactor |
Use 'from pytribeam import log' instead (consider-using-from-import) |
| src/pytribeam/laser.py |
125:4 |
Warning |
Redefining name 'beam_shift' from outer scope (line 660) (redefined-outer-name) |
| src/pytribeam/laser.py |
171:4 |
Warning |
No exception type(s) specified (bare-except) |
| src/pytribeam/laser.py |
168:4 |
Refactor |
Unnecessary "else" after "return", remove the "else" and de-indent the code inside it (no-else-return) |
| src/pytribeam/laser.py |
495:4 |
Refactor |
Unnecessary "elif" after "return", remove the leading "el" from "elif" (no-else-return) |
| src/pytribeam/laser.py |
506:12 |
Warning |
Consider explicitly re-raising using 'except KeyError as exc' and 'raise KeyError(f'Invalid laser wavelength, valid options are {[i.value for i in tbt.LaserWavelength]}') from exc' (raise-missing-from) |
| src/pytribeam/image.py |
5:0 |
Convention |
Line too long (106/100) (line-too-long) |
| src/pytribeam/image.py |
6:0 |
Convention |
Line too long (102/100) (line-too-long) |
| src/pytribeam/image.py |
132:0 |
Convention |
Line too long (111/100) (line-too-long) |
| src/pytribeam/image.py |
243:0 |
Convention |
Line too long (101/100) (line-too-long) |
| src/pytribeam/image.py |
335:0 |
Convention |
Line too long (102/100) (line-too-long) |
| src/pytribeam/image.py |
400:0 |
Convention |
Line too long (106/100) (line-too-long) |
| src/pytribeam/image.py |
401:0 |
Convention |
Line too long (113/100) (line-too-long) |
| src/pytribeam/image.py |
532:0 |
Convention |
Line too long (104/100) (line-too-long) |
| src/pytribeam/image.py |
597:0 |
Convention |
Line too long (112/100) (line-too-long) |
| src/pytribeam/image.py |
657:0 |
Convention |
Line too long (115/100) (line-too-long) |
| src/pytribeam/image.py |
703:0 |
Convention |
Line too long (101/100) (line-too-long) |
| src/pytribeam/image.py |
795:0 |
Convention |
Line too long (101/100) (line-too-long) |
| src/pytribeam/image.py |
842:0 |
Convention |
Line too long (119/100) (line-too-long) |
| src/pytribeam/image.py |
852:0 |
Convention |
Line too long (125/100) (line-too-long) |
| src/pytribeam/image.py |
865:0 |
Convention |
Line too long (107/100) (line-too-long) |
| src/pytribeam/image.py |
921:0 |
Convention |
Line too long (105/100) (line-too-long) |
| src/pytribeam/image.py |
986:0 |
Convention |
Line too long (101/100) (line-too-long) |
| src/pytribeam/image.py |
1003:0 |
Convention |
Line too long (145/100) (line-too-long) |
| src/pytribeam/image.py |
1019:0 |
Convention |
Line too long (109/100) (line-too-long) |
| src/pytribeam/image.py |
1046:0 |
Convention |
Line too long (101/100) (line-too-long) |
| src/pytribeam/image.py |
1098:0 |
Convention |
Line too long (101/100) (line-too-long) |
| src/pytribeam/image.py |
1149:0 |
Convention |
Line too long (108/100) (line-too-long) |
| src/pytribeam/image.py |
1249:0 |
Convention |
Line too long (107/100) (line-too-long) |
| src/pytribeam/image.py |
1318:0 |
Convention |
Line too long (101/100) (line-too-long) |
| src/pytribeam/image.py |
1454:0 |
Convention |
Line too long (101/100) (line-too-long) |
| src/pytribeam/image.py |
1529:0 |
Convention |
Line too long (143/100) (line-too-long) |
| src/pytribeam/image.py |
1533:0 |
Convention |
Line too long (168/100) (line-too-long) |
| src/pytribeam/image.py |
1554:0 |
Convention |
Line too long (111/100) (line-too-long) |
| src/pytribeam/image.py |
1575:0 |
Convention |
Line too long (124/100) (line-too-long) |
| src/pytribeam/image.py |
1600:0 |
Convention |
Line too long (165/100) (line-too-long) |
| src/pytribeam/image.py |
1636:0 |
Convention |
Line too long (122/100) (line-too-long) |
| src/pytribeam/image.py |
1:0 |
Convention |
Too many lines in module (1675/1000) (too-many-lines) |
| src/pytribeam/image.py |
1573:5 |
Warning |
TODO test this (fixme) |
| src/pytribeam/image.py |
1614:1 |
Warning |
TODO (fixme) |
| src/pytribeam/image.py |
1619:1 |
Warning |
TODO (fixme) |
| src/pytribeam/image.py |
1626:1 |
Warning |
TODO add more complex imaging behavior, determine method in this function (fixme) |
| src/pytribeam/image.py |
1659:5 |
Warning |
TODO (fixme) |
| src/pytribeam/image.py |
235:20 |
Error |
Too many positional arguments for function call (too-many-function-args) |
| src/pytribeam/image.py |
307:20 |
Error |
Too many positional arguments for function call (too-many-function-args) |
| src/pytribeam/image.py |
372:20 |
Error |
Too many positional arguments for function call (too-many-function-args) |
| src/pytribeam/image.py |
438:20 |
Error |
Too many positional arguments for function call (too-many-function-args) |
| src/pytribeam/image.py |
512:20 |
Error |
Too many positional arguments for function call (too-many-function-args) |
| src/pytribeam/image.py |
574:20 |
Error |
Too many positional arguments for function call (too-many-function-args) |
| src/pytribeam/image.py |
632:20 |
Error |
Too many positional arguments for function call (too-many-function-args) |
| src/pytribeam/image.py |
695:20 |
Error |
Too many positional arguments for function call (too-many-function-args) |
| src/pytribeam/image.py |
709:16 |
Warning |
Using an f-string that does not have any interpolated variables (f-string-without-interpolation) |
| src/pytribeam/image.py |
772:20 |
Error |
Too many positional arguments for function call (too-many-function-args) |
| src/pytribeam/image.py |
832:20 |
Error |
Too many positional arguments for function call (too-many-function-args) |
| src/pytribeam/image.py |
1040:4 |
Warning |
Redefining name 'detector_mode' from outer scope (line 1038) (redefined-outer-name) |
| src/pytribeam/image.py |
1585:4 |
Refactor |
Unnecessary "elif" after "raise", remove the leading "el" from "elif" (no-else-raise) |
| src/pytribeam/image.py |
1607:8 |
Error |
Unexpected keyword argument 'microscope' in function call (unexpected-keyword-arg) |
| src/pytribeam/image.py |
1607:8 |
Error |
Unexpected keyword argument 'beam' in function call (unexpected-keyword-arg) |
| src/pytribeam/constants.py |
6:0 |
Convention |
Line too long (173/100) (line-too-long) |
| src/pytribeam/constants.py |
11:0 |
Convention |
Line too long (257/100) (line-too-long) |
| src/pytribeam/constants.py |
14:0 |
Convention |
Line too long (101/100) (line-too-long) |
| src/pytribeam/constants.py |
237:0 |
Convention |
Line too long (247/100) (line-too-long) |
| src/pytribeam/constants.py |
287:0 |
Convention |
Line too long (103/100) (line-too-long) |
| src/pytribeam/constants.py |
149:33 |
Warning |
max supported version #TODO convert to float (fixme) |
| src/pytribeam/constants.py |
249:62 |
Warning |
TODO revert to 0.5 micron (fixme) |
| src/pytribeam/log.py |
6:0 |
Convention |
Line too long (208/100) (line-too-long) |
| src/pytribeam/log.py |
13:0 |
Convention |
Line too long (107/100) (line-too-long) |
| src/pytribeam/log.py |
19:0 |
Convention |
Line too long (149/100) (line-too-long) |
| src/pytribeam/log.py |
22:0 |
Convention |
Line too long (127/100) (line-too-long) |
| src/pytribeam/log.py |
25:0 |
Convention |
Line too long (144/100) (line-too-long) |
| src/pytribeam/log.py |
83:0 |
Convention |
Line too long (120/100) (line-too-long) |
| src/pytribeam/log.py |
106:0 |
Convention |
Line too long (119/100) (line-too-long) |
| src/pytribeam/log.py |
124:5 |
Warning |
TODO enforce file formats on inputs (fixme) |
| src/pytribeam/log.py |
131:9 |
Warning |
Using open without explicitly specifying an encoding (unspecified-encoding) |
| src/pytribeam/log.py |
168:9 |
Warning |
Using open without explicitly specifying an encoding (unspecified-encoding) |
| src/pytribeam/log.py |
175:11 |
Convention |
Consider changing "not dataset_name in log" to "dataset_name not in log" (unnecessary-negation) |
| src/pytribeam/log.py |
176:12 |
Warning |
Unused variable 'settings' (unused-variable) |
| src/pytribeam/log.py |
202:0 |
Refactor |
Too many arguments (6/5) (too-many-arguments) |
| src/pytribeam/log.py |
241:12 |
Warning |
Redefining name 'position' from outer scope (line 202) (redefined-outer-name) |
| src/pytribeam/log.py |
276:0 |
Refactor |
Too many arguments (6/5) (too-many-arguments) |
| src/pytribeam/log.py |
315:12 |
Warning |
Redefining name 'laser_power' from outer scope (line 276) (redefined-outer-name) |
| src/pytribeam/log.py |
340:0 |
Refactor |
Too many arguments (6/5) (too-many-arguments) |
| src/pytribeam/log.py |
379:12 |
Warning |
Redefining name 'specimen_current' from outer scope (line 340) (redefined-outer-name) |
| src/pytribeam/command_line.py |
17:0 |
Refactor |
Use 'from pytribeam.GUI import runner' instead (consider-using-from-import) |
| src/pytribeam/command_line.py |
18:0 |
Refactor |
Use 'from pytribeam import workflow' instead (consider-using-from-import) |
| src/pytribeam/command_line.py |
64:0 |
Refactor |
Useless return at end of function or method (useless-return) |
| src/pytribeam/command_line.py |
96:0 |
Convention |
Missing function or method docstring (missing-function-docstring) |
| src/pytribeam/fib.py |
6:0 |
Convention |
Line too long (209/100) (line-too-long) |
| src/pytribeam/fib.py |
16:0 |
Convention |
Line too long (122/100) (line-too-long) |
| src/pytribeam/fib.py |
22:0 |
Convention |
Line too long (129/100) (line-too-long) |
| src/pytribeam/fib.py |
25:0 |
Convention |
Line too long (142/100) (line-too-long) |
| src/pytribeam/fib.py |
28:0 |
Convention |
Line too long (144/100) (line-too-long) |
| src/pytribeam/fib.py |
31:0 |
Convention |
Line too long (111/100) (line-too-long) |
| src/pytribeam/fib.py |
37:0 |
Convention |
Line too long (127/100) (line-too-long) |
| src/pytribeam/fib.py |
67:0 |
Convention |
Line too long (142/100) (line-too-long) |
| src/pytribeam/fib.py |
93:0 |
Convention |
Line too long (200/100) (line-too-long) |
| src/pytribeam/fib.py |
120:0 |
Convention |
Line too long (101/100) (line-too-long) |
| src/pytribeam/fib.py |
123:0 |
Convention |
Line too long (163/100) (line-too-long) |
| src/pytribeam/fib.py |
138:0 |
Convention |
Line too long (207/100) (line-too-long) |
| src/pytribeam/fib.py |
162:0 |
Convention |
Line too long (123/100) (line-too-long) |
| src/pytribeam/fib.py |
168:0 |
Convention |
Line too long (118/100) (line-too-long) |
| src/pytribeam/fib.py |
185:0 |
Convention |
Line too long (203/100) (line-too-long) |
| src/pytribeam/fib.py |
416:0 |
Convention |
Line too long (163/100) (line-too-long) |
| src/pytribeam/fib.py |
433:0 |
Convention |
Line too long (108/100) (line-too-long) |
| src/pytribeam/fib.py |
446:0 |
Convention |
Line too long (117/100) (line-too-long) |
| src/pytribeam/fib.py |
451:0 |
Convention |
Line too long (167/100) (line-too-long) |
| src/pytribeam/fib.py |
469:0 |
Convention |
Line too long (122/100) (line-too-long) |
| src/pytribeam/fib.py |
133:5 |
Warning |
TODO validation and error checking from TFS (fixme) |
| src/pytribeam/fib.py |
134:5 |
Warning |
TODO support e-beam patterning via the mill_beam settings (fixme) |
| src/pytribeam/fib.py |
453:5 |
Warning |
TODO (fixme) |
| src/pytribeam/fib.py |
459:1 |
Warning |
TODO add more complex patterning behavior (fixme) |
| src/pytribeam/fib.py |
46:0 |
Warning |
Reimport 'singledispatch' (imported line 42) (reimported) |
| src/pytribeam/fib.py |
51:0 |
Error |
Unable to import 'cv2' (import-error) |
| src/pytribeam/fib.py |
162:83 |
Refactor |
Unnecessary use of a comprehension, use list(valid_devices) instead. (unnecessary-comprehension) |
| src/pytribeam/fib.py |
166:4 |
Refactor |
Unnecessary "else" after "raise", remove the "else" and de-indent the code inside it (no-else-raise) |
| src/pytribeam/fib.py |
321:0 |
Refactor |
Too many local variables (20/15) (too-many-locals) |
| src/pytribeam/fib.py |
435:13 |
Warning |
'subprocess.run' used without explicitly defining the value for 'check'. (subprocess-run-check) |
| src/pytribeam/fib.py |
508:27 |
Error |
Class 'Path' has no 'join' member (no-member) |
| src/pytribeam/fib.py |
519:4 |
Warning |
Unused variable 'pattern' (unused-variable) |
| src/pytribeam/fib.py |
46:0 |
Convention |
Imports from package functools are not grouped (ungrouped-imports) |
| src/pytribeam/_version.py |
1:0 |
Convention |
Missing module docstring (missing-module-docstring) |
| src/pytribeam/_version.py |
18:4 |
Convention |
Class name "VERSION_TUPLE" doesn't conform to PascalCase naming style (invalid-name) |
| src/pytribeam/_version.py |
19:4 |
Convention |
Class name "COMMIT_ID" doesn't conform to PascalCase naming style (invalid-name) |
| src/pytribeam/_version.py |
21:4 |
Convention |
Class name "VERSION_TUPLE" doesn't conform to PascalCase naming style (invalid-name) |
| src/pytribeam/_version.py |
22:4 |
Convention |
Class name "COMMIT_ID" doesn't conform to PascalCase naming style (invalid-name) |
| src/pytribeam/_version.py |
31:14 |
Convention |
Constant name "version" doesn't conform to UPPER_CASE naming style (invalid-name) |
| src/pytribeam/_version.py |
34:16 |
Convention |
Constant name "commit_id" doesn't conform to UPPER_CASE naming style (invalid-name) |
| src/pytribeam/insertable_devices.py |
6:0 |
Convention |
Line too long (141/100) (line-too-long) |
| src/pytribeam/insertable_devices.py |
28:0 |
Convention |
Line too long (106/100) (line-too-long) |
| src/pytribeam/insertable_devices.py |
32:0 |
Convention |
Line too long (104/100) (line-too-long) |
| src/pytribeam/insertable_devices.py |
55:0 |
Convention |
Line too long (139/100) (line-too-long) |
| src/pytribeam/insertable_devices.py |
85:0 |
Convention |
Line too long (103/100) (line-too-long) |
| src/pytribeam/insertable_devices.py |
102:0 |
Convention |
Line too long (120/100) (line-too-long) |
| src/pytribeam/insertable_devices.py |
111:0 |
Convention |
Line too long (113/100) (line-too-long) |
| src/pytribeam/insertable_devices.py |
167:0 |
Convention |
Line too long (109/100) (line-too-long) |
| src/pytribeam/insertable_devices.py |
204:0 |
Convention |
Line too long (279/100) (line-too-long) |
| src/pytribeam/insertable_devices.py |
233:0 |
Convention |
Line too long (217/100) (line-too-long) |
| src/pytribeam/insertable_devices.py |
248:0 |
Convention |
Line too long (171/100) (line-too-long) |
| src/pytribeam/insertable_devices.py |
304:0 |
Convention |
Line too long (214/100) (line-too-long) |
| src/pytribeam/insertable_devices.py |
319:0 |
Convention |
Line too long (168/100) (line-too-long) |
| src/pytribeam/insertable_devices.py |
328:0 |
Convention |
Line too long (126/100) (line-too-long) |
| src/pytribeam/insertable_devices.py |
328:0 |
Convention |
Line too long (126/100) (line-too-long) |
| src/pytribeam/insertable_devices.py |
361:0 |
Convention |
Line too long (195/100) (line-too-long) |
| src/pytribeam/insertable_devices.py |
424:0 |
Convention |
Line too long (104/100) (line-too-long) |
| src/pytribeam/insertable_devices.py |
426:0 |
Convention |
Line too long (163/100) (line-too-long) |
| src/pytribeam/insertable_devices.py |
495:0 |
Convention |
Line too long (141/100) (line-too-long) |
| src/pytribeam/insertable_devices.py |
512:0 |
Convention |
Line too long (105/100) (line-too-long) |
| src/pytribeam/insertable_devices.py |
512:0 |
Convention |
Line too long (105/100) (line-too-long) |
| src/pytribeam/insertable_devices.py |
521:0 |
Convention |
Line too long (192/100) (line-too-long) |
| src/pytribeam/insertable_devices.py |
536:0 |
Convention |
Line too long (126/100) (line-too-long) |
| src/pytribeam/insertable_devices.py |
542:0 |
Convention |
Line too long (108/100) (line-too-long) |
| src/pytribeam/insertable_devices.py |
546:0 |
Convention |
Line too long (104/100) (line-too-long) |
| src/pytribeam/insertable_devices.py |
552:0 |
Convention |
Line too long (115/100) (line-too-long) |
| src/pytribeam/insertable_devices.py |
560:0 |
Convention |
Line too long (101/100) (line-too-long) |
| src/pytribeam/insertable_devices.py |
588:0 |
Convention |
Line too long (140/100) (line-too-long) |
| src/pytribeam/insertable_devices.py |
605:0 |
Convention |
Line too long (105/100) (line-too-long) |
| src/pytribeam/insertable_devices.py |
605:0 |
Convention |
Line too long (105/100) (line-too-long) |
| src/pytribeam/insertable_devices.py |
614:0 |
Convention |
Line too long (189/100) (line-too-long) |
| src/pytribeam/insertable_devices.py |
636:0 |
Convention |
Line too long (107/100) (line-too-long) |
| src/pytribeam/insertable_devices.py |
657:0 |
Convention |
Line too long (158/100) (line-too-long) |
| src/pytribeam/insertable_devices.py |
683:0 |
Convention |
Line too long (104/100) (line-too-long) |
| src/pytribeam/insertable_devices.py |
698:0 |
Convention |
Line too long (192/100) (line-too-long) |
| src/pytribeam/insertable_devices.py |
705:0 |
Convention |
Line too long (102/100) (line-too-long) |
| src/pytribeam/insertable_devices.py |
737:0 |
Convention |
Line too long (208/100) (line-too-long) |
| src/pytribeam/insertable_devices.py |
744:0 |
Convention |
Line too long (104/100) (line-too-long) |
| src/pytribeam/insertable_devices.py |
777:0 |
Convention |
Line too long (235/100) (line-too-long) |
| src/pytribeam/insertable_devices.py |
786:0 |
Convention |
Line too long (115/100) (line-too-long) |
| src/pytribeam/insertable_devices.py |
269:9 |
Warning |
TODO change to constants (fixme) |
| src/pytribeam/insertable_devices.py |
422:5 |
Warning |
TODO come up with better system for enable_EBSD_EDS (fixme) |
| src/pytribeam/insertable_devices.py |
550:30 |
Warning |
TODO set constant (fixme) |
| src/pytribeam/insertable_devices.py |
551:41 |
Warning |
seconds #TODO (fixme) |
| src/pytribeam/insertable_devices.py |
73:0 |
Warning |
No exception type(s) specified (bare-except) |
| src/pytribeam/insertable_devices.py |
108:4 |
Warning |
No exception type(s) specified (bare-except) |
| src/pytribeam/insertable_devices.py |
122:11 |
Warning |
Catching too general exception Exception (broad-exception-caught) |
| src/pytribeam/insertable_devices.py |
227:0 |
Convention |
Function name "insert_EBSD" doesn't conform to snake_case naming style (invalid-name) |
| src/pytribeam/insertable_devices.py |
298:0 |
Convention |
Function name "insert_EDS" doesn't conform to snake_case naming style (invalid-name) |
| src/pytribeam/insertable_devices.py |
390:8 |
Warning |
Consider explicitly re-raising using 'except Exception as exc' and 'raise ValueError(f'{detector.value} detector is not insertable.') from exc' (raise-missing-from) |
| src/pytribeam/insertable_devices.py |
419:4 |
Convention |
Argument name "enable_EBSD" doesn't conform to snake_case naming style (invalid-name) |
| src/pytribeam/insertable_devices.py |
420:4 |
Convention |
Argument name "enable_EDS" doesn't conform to snake_case naming style (invalid-name) |
| src/pytribeam/insertable_devices.py |
470:8 |
Warning |
Unnecessary pass statement (unnecessary-pass) |
| src/pytribeam/insertable_devices.py |
491:0 |
Convention |
Function name "connect_EBSD" doesn't conform to snake_case naming style (invalid-name) |
| src/pytribeam/insertable_devices.py |
510:8 |
Warning |
Consider explicitly re-raising using 'except Exception as exc' and 'raise ConnectionError('EBSD control not connected, "Laser Control" from ThermoFisher must be open. \n Try closing Laser Control, restarting EBSD/EDS software, then opening Laser Control again.') from exc' (raise-missing-from) |
| src/pytribeam/insertable_devices.py |
517:0 |
Convention |
Function name "retract_EBSD" doesn't conform to snake_case naming style (invalid-name) |
| src/pytribeam/insertable_devices.py |
584:0 |
Convention |
Function name "connect_EDS" doesn't conform to snake_case naming style (invalid-name) |
| src/pytribeam/insertable_devices.py |
603:8 |
Warning |
Consider explicitly re-raising using 'except Exception as exc' and 'raise ConnectionError('EDS control not connected, "Laser Control" from ThermoFisher must be open. \n Try closing Laser Control, restarting EBSD/EDS software, then opening Laser Control again.') from exc' (raise-missing-from) |
| src/pytribeam/insertable_devices.py |
610:0 |
Convention |
Function name "retract_EDS" doesn't conform to snake_case naming style (invalid-name) |
| src/pytribeam/insertable_devices.py |
683:82 |
Error |
Function 'detector_state' has no 'value' member (no-member) |
| src/pytribeam/insertable_devices.py |
691:0 |
Convention |
Function name "CCD_pause" doesn't conform to snake_case naming style (invalid-name) |
| src/pytribeam/insertable_devices.py |
727:8 |
Warning |
'return' shadowed by the 'finally' clause. (return-in-finally) |
| src/pytribeam/insertable_devices.py |
721:4 |
Warning |
No exception type(s) specified (bare-except) |
| src/pytribeam/insertable_devices.py |
727:8 |
Warning |
return statement in finally block may swallow exception (lost-exception) |
| src/pytribeam/insertable_devices.py |
691:0 |
Refactor |
Either all return statements in a function should return an expression, or none of them should. (inconsistent-return-statements) |
| src/pytribeam/insertable_devices.py |
730:0 |
Convention |
Function name "CCD_view" doesn't conform to snake_case naming style (invalid-name) |
| src/pytribeam/insertable_devices.py |
766:8 |
Warning |
'return' shadowed by the 'finally' clause. (return-in-finally) |
| src/pytribeam/insertable_devices.py |
760:4 |
Warning |
No exception type(s) specified (bare-except) |
| src/pytribeam/insertable_devices.py |
766:8 |
Warning |
return statement in finally block may swallow exception (lost-exception) |
| src/pytribeam/insertable_devices.py |
730:0 |
Refactor |
Either all return statements in a function should return an expression, or none of them should. (inconsistent-return-statements) |
| src/pytribeam/types.py |
6:0 |
Convention |
Line too long (128/100) (line-too-long) |
| src/pytribeam/types.py |
1129:0 |
Convention |
Line too long (115/100) (line-too-long) |
| src/pytribeam/types.py |
1903:0 |
Convention |
Line too long (108/100) (line-too-long) |
| src/pytribeam/types.py |
2207:0 |
Convention |
Line too long (116/100) (line-too-long) |
| src/pytribeam/types.py |
1:0 |
Convention |
Too many lines in module (2358/1000) (too-many-lines) |
| src/pytribeam/types.py |
730:1 |
Warning |
TODO remove this class and fix references (fixme) |
| src/pytribeam/types.py |
839:33 |
Warning |
TODO not yet supported by pyTriBeam (fixme) |
| src/pytribeam/types.py |
1723:5 |
Warning |
TODO incorporate tiling settings (fixme) |
| src/pytribeam/types.py |
275:0 |
Error |
Unable to import 'autoscript_sdb_microscope_client' (import-error) |
| src/pytribeam/types.py |
276:0 |
Error |
Unable to import 'autoscript_sdb_microscope_client.enumerations' (import-error) |
| src/pytribeam/types.py |
277:0 |
Error |
Unable to import 'autoscript_sdb_microscope_client.structures' (import-error) |
| src/pytribeam/types.py |
278:0 |
Error |
Unable to import 'autoscript_sdb_microscope_client._dynamic_object_proxies' (import-error) |
| src/pytribeam/types.py |
289:4 |
Warning |
Unnecessary pass statement (unnecessary-pass) |
| src/pytribeam/types.py |
284:0 |
Refactor |
Too few public methods (0/2) (too-few-public-methods) |
| src/pytribeam/types.py |
297:4 |
Warning |
Unnecessary pass statement (unnecessary-pass) |
| src/pytribeam/types.py |
292:0 |
Refactor |
Too few public methods (0/2) (too-few-public-methods) |
| src/pytribeam/types.py |
702:0 |
Refactor |
Class 'DummyFile' inherits from object, can be safely removed from bases in python3 (useless-object-inheritance) |
| src/pytribeam/types.py |
707:4 |
Convention |
Missing function or method docstring (missing-function-docstring) |
| src/pytribeam/types.py |
707:4 |
Error |
Method 'write' should have "self" as first argument (no-self-argument) |
| src/pytribeam/types.py |
702:0 |
Refactor |
Too few public methods (1/2) (too-few-public-methods) |
| src/pytribeam/types.py |
869:4 |
Warning |
Unnecessary pass statement (unnecessary-pass) |
| src/pytribeam/types.py |
864:0 |
Refactor |
Too few public methods (0/2) (too-few-public-methods) |
| src/pytribeam/types.py |
975:4 |
Warning |
Unnecessary pass statement (unnecessary-pass) |
| src/pytribeam/types.py |
970:0 |
Refactor |
Too few public methods (0/2) (too-few-public-methods) |
| src/pytribeam/types.py |
983:4 |
Warning |
Unnecessary pass statement (unnecessary-pass) |
| src/pytribeam/types.py |
978:0 |
Refactor |
Too few public methods (0/2) (too-few-public-methods) |
| src/pytribeam/types.py |
1015:4 |
Warning |
Unnecessary pass statement (unnecessary-pass) |
| src/pytribeam/types.py |
1005:0 |
Refactor |
Too few public methods (0/2) (too-few-public-methods) |
| src/pytribeam/types.py |
1068:4 |
Convention |
Missing function or method docstring (missing-function-docstring) |
| src/pytribeam/types.py |
1234:4 |
Warning |
Unnecessary pass statement (unnecessary-pass) |
| src/pytribeam/types.py |
1229:0 |
Refactor |
Too few public methods (0/2) (too-few-public-methods) |
| src/pytribeam/types.py |
1289:4 |
Warning |
Unnecessary pass statement (unnecessary-pass) |
| src/pytribeam/types.py |
1269:0 |
Refactor |
Too few public methods (0/2) (too-few-public-methods) |
| src/pytribeam/types.py |
1395:4 |
Warning |
Unnecessary pass statement (unnecessary-pass) |
| src/pytribeam/types.py |
1390:0 |
Refactor |
Too few public methods (0/2) (too-few-public-methods) |
| src/pytribeam/types.py |
1587:4 |
Convention |
Missing function or method docstring (missing-function-docstring) |
| src/pytribeam/types.py |
1792:4 |
Warning |
Unnecessary pass statement (unnecessary-pass) |
| src/pytribeam/types.py |
1787:0 |
Refactor |
Too few public methods (0/2) (too-few-public-methods) |
| src/pytribeam/types.py |
1800:4 |
Warning |
Unnecessary pass statement (unnecessary-pass) |
| src/pytribeam/types.py |
1795:0 |
Refactor |
Too few public methods (0/2) (too-few-public-methods) |
| src/pytribeam/types.py |
1808:4 |
Warning |
Unnecessary pass statement (unnecessary-pass) |
| src/pytribeam/types.py |
1803:0 |
Refactor |
Too few public methods (0/2) (too-few-public-methods) |
| src/pytribeam/types.py |
1816:4 |
Warning |
Unnecessary pass statement (unnecessary-pass) |
| src/pytribeam/types.py |
1811:0 |
Refactor |
Too few public methods (0/2) (too-few-public-methods) |
| src/pytribeam/types.py |
1852:4 |
Warning |
Unnecessary pass statement (unnecessary-pass) |
| src/pytribeam/types.py |
1860:4 |
Warning |
Unnecessary pass statement (unnecessary-pass) |
| src/pytribeam/types.py |
1868:4 |
Warning |
Unnecessary pass statement (unnecessary-pass) |
| src/pytribeam/GUI/__init__.py |
1:0 |
Convention |
Module name "GUI" doesn't conform to snake_case naming style (invalid-name) |
| src/pytribeam/GUI/runner.py |
206:0 |
Convention |
Line too long (105/100) (line-too-long) |
| src/pytribeam/GUI/runner.py |
587:0 |
Convention |
Line too long (112/100) (line-too-long) |
| src/pytribeam/GUI/runner.py |
629:0 |
Convention |
Line too long (112/100) (line-too-long) |
| src/pytribeam/GUI/runner.py |
219:9 |
Warning |
## TODO: Fix this to open local file properly on all OSes (fixme) |
| src/pytribeam/GUI/runner.py |
1:0 |
Convention |
Missing module docstring (missing-module-docstring) |
| src/pytribeam/GUI/runner.py |
33:0 |
Convention |
Missing class docstring (missing-class-docstring) |
| src/pytribeam/GUI/runner.py |
33:0 |
Refactor |
Too many instance attributes (20/7) (too-many-instance-attributes) |
| src/pytribeam/GUI/runner.py |
49:12 |
Convention |
Import outside toplevel (ctypes) (import-outside-toplevel) |
| src/pytribeam/GUI/runner.py |
34:4 |
Refactor |
Too many statements (51/50) (too-many-statements) |
| src/pytribeam/GUI/runner.py |
217:8 |
Convention |
Import outside toplevel (webbrowser) (import-outside-toplevel) |
| src/pytribeam/GUI/runner.py |
261:49 |
Warning |
Access to a protected member _device_connections of a client class (protected-access) |
| src/pytribeam/GUI/runner.py |
272:4 |
Convention |
Missing function or method docstring (missing-function-docstring) |
| src/pytribeam/GUI/runner.py |
295:11 |
Convention |
Consider changing "not save_path.suffix == '.txt'" to "save_path.suffix != '.txt'" (unnecessary-negation) |
| src/pytribeam/GUI/runner.py |
302:4 |
Convention |
Missing function or method docstring (missing-function-docstring) |
| src/pytribeam/GUI/runner.py |
306:4 |
Convention |
Missing function or method docstring (missing-function-docstring) |
| src/pytribeam/GUI/runner.py |
325:4 |
Convention |
Missing function or method docstring (missing-function-docstring) |
| src/pytribeam/GUI/runner.py |
327:12 |
Warning |
Redefining name 'app' from outer scope (line 633) (redefined-outer-name) |
| src/pytribeam/GUI/runner.py |
341:4 |
Convention |
Missing function or method docstring (missing-function-docstring) |
| src/pytribeam/GUI/runner.py |
370:15 |
Warning |
Catching too general exception Exception (broad-exception-caught) |
| src/pytribeam/GUI/runner.py |
358:27 |
Warning |
Catching too general exception Exception (broad-exception-caught) |
| src/pytribeam/GUI/runner.py |
361:20 |
Warning |
Raising too general exception: Exception (broad-exception-raised) |
| src/pytribeam/GUI/runner.py |
366:12 |
Refactor |
Unnecessary "else" after "return", remove the "else" and de-indent the code inside it (no-else-return) |
| src/pytribeam/GUI/runner.py |
341:4 |
Refactor |
Either all return statements in a function should return an expression, or none of them should. (inconsistent-return-statements) |
| src/pytribeam/GUI/runner.py |
358:20 |
Warning |
Unused variable 'e' (unused-variable) |
| src/pytribeam/GUI/runner.py |
397:15 |
Warning |
Catching too general exception Exception (broad-exception-caught) |
| src/pytribeam/GUI/runner.py |
421:4 |
Refactor |
Too many arguments (6/5) (too-many-arguments) |
| src/pytribeam/GUI/runner.py |
425:8 |
Warning |
Redefining built-in 'slice' (redefined-builtin) |
| src/pytribeam/GUI/runner.py |
427:8 |
Warning |
Unused argument 'buttons' (unused-argument) |
| src/pytribeam/GUI/runner.py |
527:8 |
Warning |
Unnecessary pass statement (unnecessary-pass) |
| src/pytribeam/GUI/runner.py |
136:8 |
Warning |
Attribute 'menu' defined outside __init__ (attribute-defined-outside-init) |
| src/pytribeam/GUI/runner.py |
147:8 |
Warning |
Attribute 'control_panel' defined outside __init__ (attribute-defined-outside-init) |
| src/pytribeam/GUI/runner.py |
165:8 |
Warning |
Attribute 'display_frame' defined outside __init__ (attribute-defined-outside-init) |
| src/pytribeam/GUI/runner.py |
170:8 |
Warning |
Attribute 'terminal' defined outside __init__ (attribute-defined-outside-init) |
| src/pytribeam/GUI/runner.py |
195:8 |
Warning |
Attribute 'status_panel' defined outside __init__ (attribute-defined-outside-init) |
| src/pytribeam/GUI/runner.py |
576:0 |
Convention |
Missing function or method docstring (missing-function-docstring) |
| src/pytribeam/GUI/runner.py |
576:0 |
Convention |
Function name "WaitCursor" doesn't conform to snake_case naming style (invalid-name) |
| src/pytribeam/GUI/runner.py |
600:11 |
Warning |
Catching too general exception Exception (broad-exception-caught) |
| src/pytribeam/GUI/runner.py |
607:13 |
Warning |
Using open without explicitly specifying an encoding (unspecified-encoding) |
| src/pytribeam/GUI/runner.py |
621:0 |
Convention |
Missing function or method docstring (missing-function-docstring) |
| src/pytribeam/GUI/runner.py |
624:11 |
Warning |
Catching too general exception Exception (broad-exception-caught) |
| src/pytribeam/GUI/runner.py |
12:0 |
Convention |
standard import "contextlib" should be placed before third party import "PIL.Image" (wrong-import-order) |
| src/pytribeam/GUI/runner.py |
13:0 |
Convention |
standard import "traceback" should be placed before third party import "PIL.Image" (wrong-import-order) |
| src/pytribeam/GUI/runner.py |
3:0 |
Warning |
Unused import time (unused-import) |
| src/pytribeam/GUI/runner.py |
4:0 |
Warning |
Unused import datetime (unused-import) |
| src/pytribeam/GUI/runner.py |
7:0 |
Warning |
Unused ttk imported from tkinter (unused-import) |
| src/pytribeam/GUI/runner.py |
11:0 |
Warning |
Unused Image imported from PIL (unused-import) |
| src/pytribeam/GUI/runner.py |
11:0 |
Warning |
Unused ImageTk imported from PIL (unused-import) |
| src/pytribeam/GUI/runner.py |
18:0 |
Warning |
Unused log imported from pytribeam (unused-import) |
| src/pytribeam/GUI/runner.py |
18:0 |
Warning |
Unused insertable_devices imported from pytribeam (unused-import) |
| src/pytribeam/GUI/runner.py |
19:0 |
Warning |
Unused pytribeam.types imported as tbt (unused-import) |
| src/pytribeam/GUI/runner.py |
28:0 |
Warning |
Unused generate_escape_keypress imported from pytribeam.GUI.common.threading_utils (unused-import) |
| src/pytribeam/GUI/config_ui/App.py |
232:0 |
Convention |
Line too long (134/100) (line-too-long) |
| src/pytribeam/GUI/config_ui/App.py |
252:0 |
Convention |
Line too long (106/100) (line-too-long) |
| src/pytribeam/GUI/config_ui/App.py |
549:0 |
Convention |
Line too long (103/100) (line-too-long) |
| src/pytribeam/GUI/config_ui/App.py |
576:0 |
Convention |
Line too long (106/100) (line-too-long) |
| src/pytribeam/GUI/config_ui/App.py |
581:0 |
Convention |
Line too long (114/100) (line-too-long) |
| src/pytribeam/GUI/config_ui/App.py |
588:0 |
Convention |
Line too long (121/100) (line-too-long) |
| src/pytribeam/GUI/config_ui/App.py |
595:0 |
Convention |
Line too long (120/100) (line-too-long) |
| src/pytribeam/GUI/config_ui/App.py |
598:0 |
Convention |
Line too long (146/100) (line-too-long) |
| src/pytribeam/GUI/config_ui/App.py |
599:0 |
Convention |
Line too long (158/100) (line-too-long) |
| src/pytribeam/GUI/config_ui/App.py |
600:0 |
Convention |
Line too long (109/100) (line-too-long) |
| src/pytribeam/GUI/config_ui/App.py |
601:0 |
Convention |
Line too long (111/100) (line-too-long) |
| src/pytribeam/GUI/config_ui/App.py |
675:0 |
Convention |
Line too long (101/100) (line-too-long) |
| src/pytribeam/GUI/config_ui/App.py |
724:0 |
Convention |
Line too long (101/100) (line-too-long) |
| src/pytribeam/GUI/config_ui/App.py |
847:0 |
Convention |
Line too long (153/100) (line-too-long) |
| src/pytribeam/GUI/config_ui/App.py |
1054:0 |
Convention |
Line too long (119/100) (line-too-long) |
| src/pytribeam/GUI/config_ui/App.py |
1089:0 |
Convention |
Line too long (101/100) (line-too-long) |
| src/pytribeam/GUI/config_ui/App.py |
1181:0 |
Convention |
Line too long (101/100) (line-too-long) |
| src/pytribeam/GUI/config_ui/App.py |
1:0 |
Convention |
Too many lines in module (1318/1000) (too-many-lines) |
| src/pytribeam/GUI/config_ui/App.py |
25:1 |
Warning |
TODO: Test all functionality on an actual microscope (fixme) |
| src/pytribeam/GUI/config_ui/App.py |
1:0 |
Convention |
Missing module docstring (missing-module-docstring) |
| src/pytribeam/GUI/config_ui/App.py |
1:0 |
Convention |
Module name "App" doesn't conform to snake_case naming style (invalid-name) |
| src/pytribeam/GUI/config_ui/App.py |
8:0 |
Refactor |
Use 'from pytribeam import factory' instead (consider-using-from-import) |
| src/pytribeam/GUI/config_ui/App.py |
9:0 |
Refactor |
Use 'from pytribeam import laser' instead (consider-using-from-import) |
| src/pytribeam/GUI/config_ui/App.py |
28:0 |
Convention |
Missing class docstring (missing-class-docstring) |
| src/pytribeam/GUI/config_ui/App.py |
74:4 |
Convention |
Missing function or method docstring (missing-function-docstring) |
| src/pytribeam/GUI/config_ui/App.py |
28:0 |
Refactor |
Too few public methods (1/2) (too-few-public-methods) |
| src/pytribeam/GUI/config_ui/App.py |
79:0 |
Convention |
Missing class docstring (missing-class-docstring) |
| src/pytribeam/GUI/config_ui/App.py |
91:8 |
Convention |
Attribute name "YAML_PATH" doesn't conform to snake_case naming style (invalid-name) |
| src/pytribeam/GUI/config_ui/App.py |
133:8 |
Convention |
Attribute name "STEP_INDEX" doesn't conform to snake_case naming style (invalid-name) |
| src/pytribeam/GUI/config_ui/App.py |
134:8 |
Convention |
Attribute name "STEP" doesn't conform to snake_case naming style (invalid-name) |
| src/pytribeam/GUI/config_ui/App.py |
79:0 |
Refactor |
Too many instance attributes (19/7) (too-many-instance-attributes) |
| src/pytribeam/GUI/config_ui/App.py |
80:4 |
Warning |
Keyword argument before variable positional arguments list in the definition of __init__ function (keyword-arg-before-vararg) |
| src/pytribeam/GUI/config_ui/App.py |
150:4 |
Refactor |
Too many statements (56/50) (too-many-statements) |
| src/pytribeam/GUI/config_ui/App.py |
343:0 |
Warning |
Unused argument 'args' (unused-argument) |
| src/pytribeam/GUI/config_ui/App.py |
355:4 |
Refactor |
Either all return statements in a function should return an expression, or none of them should. (inconsistent-return-statements) |
| src/pytribeam/GUI/config_ui/App.py |
394:4 |
Convention |
Missing function or method docstring (missing-function-docstring) |
| src/pytribeam/GUI/config_ui/App.py |
424:35 |
Warning |
Unused argument 'pipeline' (unused-argument) |
| src/pytribeam/GUI/config_ui/App.py |
437:8 |
Warning |
Unnecessary pass statement (unnecessary-pass) |
| src/pytribeam/GUI/config_ui/App.py |
450:42 |
Warning |
Unused argument 'value' (unused-argument) |
| src/pytribeam/GUI/config_ui/App.py |
464:59 |
Warning |
Unused argument 'message' (unused-argument) |
| src/pytribeam/GUI/config_ui/App.py |
476:56 |
Warning |
Unused argument 'message' (unused-argument) |
| src/pytribeam/GUI/config_ui/App.py |
531:15 |
Warning |
Catching too general exception Exception (broad-exception-caught) |
| src/pytribeam/GUI/config_ui/App.py |
565:15 |
Warning |
Catching too general exception Exception (broad-exception-caught) |
| src/pytribeam/GUI/config_ui/App.py |
575:20 |
Convention |
Unnecessarily calls dunder method __getattribute__. Access attribute directly or use getattr built-in function. (unnecessary-dunder-call) |
| src/pytribeam/GUI/config_ui/App.py |
577:8 |
Refactor |
Unnecessary "elif" after "return", remove the leading "el" from "elif" (no-else-return) |
| src/pytribeam/GUI/config_ui/App.py |
660:29 |
Convention |
Unnecessarily calls dunder method __getattribute__. Access attribute directly or use getattr built-in function. (unnecessary-dunder-call) |
| src/pytribeam/GUI/config_ui/App.py |
690:15 |
Warning |
Catching too general exception Exception (broad-exception-caught) |
| src/pytribeam/GUI/config_ui/App.py |
738:15 |
Warning |
Catching too general exception Exception (broad-exception-caught) |
| src/pytribeam/GUI/config_ui/App.py |
750:8 |
Convention |
Consider iterating with .items() (consider-using-dict-items) |
| src/pytribeam/GUI/config_ui/App.py |
750:19 |
Convention |
Consider iterating the dictionary directly instead of calling .keys() (consider-iterating-dictionary) |
| src/pytribeam/GUI/config_ui/App.py |
926:12 |
Warning |
Unused variable 'step' (unused-variable) |
| src/pytribeam/GUI/config_ui/App.py |
1099:4 |
Refactor |
Too many local variables (19/15) (too-many-locals) |
| src/pytribeam/GUI/config_ui/App.py |
1115:16 |
Refactor |
Consider using a generator instead 'max(len(k.split('/')) for k in entries_flat.keys())' (consider-using-generator) |
| src/pytribeam/GUI/config_ui/App.py |
1134:48 |
Convention |
Consider iterating the dictionary directly instead of calling .keys() (consider-iterating-dictionary) |
| src/pytribeam/GUI/config_ui/App.py |
1176:8 |
Convention |
Consider iterating with .items() (consider-using-dict-items) |
| src/pytribeam/GUI/config_ui/App.py |
1176:19 |
Convention |
Consider iterating the dictionary directly instead of calling .keys() (consider-iterating-dictionary) |
| src/pytribeam/GUI/config_ui/App.py |
1177:22 |
Convention |
Consider iterating the dictionary directly instead of calling .keys() (consider-iterating-dictionary) |
| src/pytribeam/GUI/config_ui/App.py |
1212:11 |
Convention |
Use isinstance() rather than type() for a typecheck. (unidiomatic-typecheck) |
| src/pytribeam/GUI/config_ui/App.py |
1275:28 |
Warning |
Access to a protected member _microscope of a client class (protected-access) |
| src/pytribeam/GUI/config_ui/App.py |
1259:4 |
Refactor |
Either all return statements in a function should return an expression, or none of them should. (inconsistent-return-statements) |
| src/pytribeam/GUI/config_ui/App.py |
1304:4 |
Convention |
Missing function or method docstring (missing-function-docstring) |
| src/pytribeam/GUI/config_ui/App.py |
6:0 |
Warning |
Unused pytribeam.utilities imported as ut (unused-import) |
| src/pytribeam/GUI/config_ui/App.py |
7:0 |
Warning |
Unused pytribeam.types imported as tbt (unused-import) |
| src/pytribeam/GUI/config_ui/App.py |
8:0 |
Warning |
Unused pytribeam.factory imported as factory (unused-import) |
| src/pytribeam/GUI/config_ui/App.py |
9:0 |
Warning |
Unused pytribeam.laser imported as laser (unused-import) |
| src/pytribeam/GUI/config_ui/App.py |
10:0 |
Warning |
Unused Conversions imported from pytribeam.constants (unused-import) |
| src/pytribeam/GUI/config_ui/App.py |
16:0 |
Warning |
Unused flatten_dict imported from pytribeam.GUI.config_ui.pipeline_model (unused-import) |
| src/pytribeam/GUI/config_ui/App.py |
16:0 |
Warning |
Unused unflatten_dict imported from pytribeam.GUI.config_ui.pipeline_model (unused-import) |
| src/pytribeam/GUI/config_ui/App.py |
21:0 |
Warning |
Unused ConfigValidator imported from pytribeam.GUI.config_ui.validator (unused-import) |
| src/pytribeam/GUI/config_ui/validator.py |
10:0 |
Refactor |
Use 'from pytribeam import factory' instead (consider-using-from-import) |
| src/pytribeam/GUI/config_ui/validator.py |
99:15 |
Warning |
Catching too general exception Exception (broad-exception-caught) |
| src/pytribeam/GUI/config_ui/validator.py |
143:15 |
Warning |
Catching too general exception Exception (broad-exception-caught) |
| src/pytribeam/GUI/config_ui/validator.py |
185:15 |
Warning |
Catching too general exception Exception (broad-exception-caught) |
| src/pytribeam/GUI/config_ui/validator.py |
209:19 |
Warning |
Catching too general exception Exception (broad-exception-caught) |
| src/pytribeam/GUI/config_ui/validator.py |
235:23 |
Warning |
Catching too general exception Exception (broad-exception-caught) |
| src/pytribeam/GUI/config_ui/validator.py |
269:8 |
Refactor |
Unnecessary "else" after "return", remove the "else" and de-indent the code inside it (no-else-return) |
| src/pytribeam/GUI/config_ui/validator.py |
291:8 |
Refactor |
Unnecessary "else" after "return", remove the "else" and de-indent the code inside it (no-else-return) |
| src/pytribeam/GUI/config_ui/validator.py |
13:0 |
Warning |
Unused ValidationError imported from pytribeam.GUI.common.errors (unused-import) |
| src/pytribeam/GUI/config_ui/pipeline_model.py |
174:0 |
Convention |
Line too long (113/100) (line-too-long) |
| src/pytribeam/GUI/config_ui/pipeline_model.py |
45:4 |
Refactor |
Unnecessary "elif" after "return", remove the leading "el" from "elif" (no-else-return) |
| src/pytribeam/GUI/config_ui/pipeline_model.py |
16:0 |
Refactor |
Too many return statements (7/6) (too-many-return-statements) |
| src/pytribeam/GUI/config_ui/pipeline_model.py |
75:11 |
Warning |
Catching too general exception Exception (broad-exception-caught) |
| src/pytribeam/GUI/config_ui/pipeline_model.py |
156:8 |
Refactor |
Unnecessary "else" after "return", remove the "else" and de-indent the code inside it (no-else-return) |
| src/pytribeam/GUI/config_ui/pipeline_model.py |
260:21 |
Warning |
Redefining name 'field' from outer scope (line 8) (redefined-outer-name) |
| src/pytribeam/GUI/config_ui/pipeline_model.py |
270:15 |
Warning |
Catching too general exception Exception (broad-exception-caught) |
| src/pytribeam/GUI/config_ui/pipeline_model.py |
419:8 |
Refactor |
Unnecessary "elif" after "return", remove the leading "el" from "elif" (no-else-return) |
| src/pytribeam/GUI/config_ui/pipeline_model.py |
461:4 |
Refactor |
Too many local variables (17/15) (too-many-locals) |
| src/pytribeam/GUI/config_ui/pipeline_model.py |
669:23 |
Warning |
Redefining name 'field' from outer scope (line 8) (redefined-outer-name) |
| src/pytribeam/GUI/config_ui/pipeline_model.py |
648:15 |
Warning |
Catching too general exception Exception (broad-exception-caught) |
| src/pytribeam/GUI/config_ui/pipeline_model.py |
656:15 |
Warning |
Catching too general exception Exception (broad-exception-caught) |
| src/pytribeam/GUI/config_ui/microscope_interface.py |
9:0 |
Refactor |
Use 'from pytribeam import factory' instead (consider-using-from-import) |
| src/pytribeam/GUI/config_ui/microscope_interface.py |
10:0 |
Refactor |
Use 'from pytribeam import laser' instead (consider-using-from-import) |
| src/pytribeam/GUI/config_ui/microscope_interface.py |
89:19 |
Warning |
Catching too general exception Exception (broad-exception-caught) |
| src/pytribeam/GUI/config_ui/microscope_interface.py |
134:16 |
Error |
Too many positional arguments for function call (too-many-function-args) |
| src/pytribeam/GUI/config_ui/microscope_interface.py |
141:16 |
Error |
Too many positional arguments for function call (too-many-function-args) |
| src/pytribeam/GUI/config_ui/microscope_interface.py |
226:15 |
Warning |
Catching too general exception Exception (broad-exception-caught) |
| src/pytribeam/GUI/config_ui/microscope_interface.py |
243:11 |
Warning |
Catching too general exception Exception (broad-exception-caught) |
| src/pytribeam/GUI/config_ui/microscope_interface.py |
241:17 |
Warning |
Access to a protected member _device_connections of a client class (protected-access) |
| src/pytribeam/GUI/config_ui/lookup.py |
197:0 |
Convention |
Line too long (101/100) (line-too-long) |
| src/pytribeam/GUI/config_ui/lookup.py |
206:0 |
Convention |
Line too long (103/100) (line-too-long) |
| src/pytribeam/GUI/config_ui/lookup.py |
415:0 |
Convention |
Line too long (109/100) (line-too-long) |
| src/pytribeam/GUI/config_ui/lookup.py |
432:0 |
Convention |
Line too long (180/100) (line-too-long) |
| src/pytribeam/GUI/config_ui/lookup.py |
441:0 |
Convention |
Line too long (134/100) (line-too-long) |
| src/pytribeam/GUI/config_ui/lookup.py |
450:0 |
Convention |
Line too long (174/100) (line-too-long) |
| src/pytribeam/GUI/config_ui/lookup.py |
459:0 |
Convention |
Line too long (135/100) (line-too-long) |
| src/pytribeam/GUI/config_ui/lookup.py |
730:0 |
Convention |
Line too long (161/100) (line-too-long) |
| src/pytribeam/GUI/config_ui/lookup.py |
739:0 |
Convention |
Line too long (161/100) (line-too-long) |
| src/pytribeam/GUI/config_ui/lookup.py |
996:0 |
Convention |
Line too long (198/100) (line-too-long) |
| src/pytribeam/GUI/config_ui/lookup.py |
1044:0 |
Convention |
Line too long (137/100) (line-too-long) |
| src/pytribeam/GUI/config_ui/lookup.py |
1052:0 |
Convention |
Line too long (106/100) (line-too-long) |
| src/pytribeam/GUI/config_ui/lookup.py |
1297:0 |
Convention |
Line too long (118/100) (line-too-long) |
| src/pytribeam/GUI/config_ui/lookup.py |
1324:0 |
Convention |
Line too long (114/100) (line-too-long) |
| src/pytribeam/GUI/config_ui/lookup.py |
1:0 |
Convention |
Too many lines in module (1335/1000) (too-many-lines) |
| src/pytribeam/GUI/config_ui/lookup.py |
1:0 |
Convention |
Missing module docstring (missing-module-docstring) |
| src/pytribeam/GUI/config_ui/lookup.py |
85:4 |
Convention |
Missing function or method docstring (missing-function-docstring) |
| src/pytribeam/GUI/config_ui/lookup.py |
88:4 |
Convention |
Missing function or method docstring (missing-function-docstring) |
| src/pytribeam/GUI/config_ui/lookup.py |
91:4 |
Convention |
Missing function or method docstring (missing-function-docstring) |
| src/pytribeam/GUI/config_ui/lookup.py |
94:4 |
Convention |
Missing function or method docstring (missing-function-docstring) |
| src/pytribeam/GUI/config_ui/lookup.py |
97:4 |
Convention |
Missing function or method docstring (missing-function-docstring) |
| src/pytribeam/GUI/config_ui/lookup.py |
100:4 |
Convention |
Missing function or method docstring (missing-function-docstring) |
| src/pytribeam/GUI/config_ui/lookup.py |
112:19 |
Warning |
Access to a protected member _prune_empty of a client class (protected-access) |
| src/pytribeam/GUI/config_ui/lookup.py |
135:30 |
Warning |
Access to a protected member _flatten of a client class (protected-access) |
| src/pytribeam/GUI/config_ui/lookup.py |
144:24 |
Warning |
Access to a protected member _entries of a client class (protected-access) |
| src/pytribeam/GUI/config_ui/lookup.py |
173:12 |
Warning |
Access to a protected member _entries of a client class (protected-access) |
| src/pytribeam/GUI/config_ui/lookup.py |
167:16 |
Warning |
Unused variable 'i' (unused-variable) |
| src/pytribeam/GUI/config_ui/lookup.py |
178:4 |
Convention |
Missing function or method docstring (missing-function-docstring) |
| src/pytribeam/GUI/config_ui/lookup.py |
1289:0 |
Convention |
Missing class docstring (missing-class-docstring) |
| src/pytribeam/GUI/config_ui/lookup.py |
1293:8 |
Convention |
Attribute name "LUTs" doesn't conform to snake_case naming style (invalid-name) |
| src/pytribeam/GUI/config_ui/lookup.py |
1295:22 |
Warning |
Redefining name 'step_type' from outer scope (line 401) (redefined-outer-name) |
| src/pytribeam/GUI/config_ui/lookup.py |
1318:8 |
Warning |
Access to a protected member _prune_empty of a client class (protected-access) |
| src/pytribeam/GUI/config_ui/lookup.py |
1289:0 |
Refactor |
Too few public methods (1/2) (too-few-public-methods) |
| src/pytribeam/GUI/config_ui/lookup.py |
1322:12 |
Warning |
Redefining name 'step_type' from outer scope (line 401) (redefined-outer-name) |
| src/pytribeam/GUI/config_ui/lookup.py |
1327:4 |
Convention |
Variable name "VLUT" doesn't conform to snake_case naming style (invalid-name) |
| src/pytribeam/GUI/config_ui/parameter_tracker.py |
103:8 |
Refactor |
Unnecessary "else" after "return", remove the "else" and de-indent the code inside it (no-else-return) |
| src/pytribeam/GUI/config_ui/parameter_tracker.py |
118:8 |
Refactor |
Unnecessary "elif" after "return", remove the leading "el" from "elif" (no-else-return) |
| src/pytribeam/GUI/config_ui/parameter_tracker.py |
119:19 |
Warning |
Lambda may not be necessary (unnecessary-lambda) |
| src/pytribeam/GUI/config_ui/parameter_tracker.py |
121:19 |
Warning |
Lambda may not be necessary (unnecessary-lambda) |
| src/pytribeam/GUI/config_ui/parameter_tracker.py |
123:19 |
Warning |
Lambda may not be necessary (unnecessary-lambda) |
| src/pytribeam/GUI/config_ui/parameter_tracker.py |
146:12 |
Warning |
Consider explicitly re-raising using 'except ValueError as exc' and 'raise ValueError(f'Invalid integer: {value}') from exc' (raise-missing-from) |
| src/pytribeam/GUI/config_ui/parameter_tracker.py |
167:12 |
Warning |
Consider explicitly re-raising using 'except ValueError as exc' and 'raise ValueError(f'Invalid float: {value}') from exc' (raise-missing-from) |
| src/pytribeam/GUI/config_ui/parameter_tracker.py |
181:12 |
Refactor |
Unnecessary "elif" after "return", remove the leading "el" from "elif" (no-else-return) |
| src/pytribeam/GUI/config_ui/parameter_tracker.py |
187:70 |
Warning |
Unused argument 'dtype' (unused-argument) |
| src/pytribeam/GUI/config_ui/parameter_tracker.py |
217:8 |
Warning |
Unused variable 'e' (unused-variable) |
| src/pytribeam/GUI/config_ui/parameter_tracker.py |
10:0 |
Warning |
Unused pytribeam.GUI.config_ui.lookup imported as lut (unused-import) |
| src/pytribeam/GUI/config_ui/editor_controller.py |
67:19 |
Warning |
Catching too general exception Exception (broad-exception-caught) |
| src/pytribeam/GUI/config_ui/editor_controller.py |
100:15 |
Warning |
Catching too general exception Exception (broad-exception-caught) |
| src/pytribeam/GUI/config_ui/editor_controller.py |
119:15 |
Warning |
Catching too general exception Exception (broad-exception-caught) |
| src/pytribeam/GUI/config_ui/editor_controller.py |
17:0 |
Refactor |
Too many public methods (23/20) (too-many-public-methods) |
| src/pytribeam/GUI/config_ui/editor_controller.py |
7:0 |
Warning |
Unused deepcopy imported from copy (unused-import) |
| src/pytribeam/GUI/config_ui/editor_controller.py |
10:0 |
Warning |
Unused tkinter imported as tk (unused-import) |
| src/pytribeam/GUI/runner_util/ui_components.py |
17:0 |
Refactor |
Too many instance attributes (25/7) (too-many-instance-attributes) |
| src/pytribeam/GUI/runner_util/ui_components.py |
75:36 |
Error |
Module 'PIL.Image' has no 'ANTIALIAS' member (no-member) |
| src/pytribeam/GUI/runner_util/ui_components.py |
111:8 |
Warning |
Attribute 'total_slices_label' defined outside __init__ (attribute-defined-outside-init) |
| src/pytribeam/GUI/runner_util/ui_components.py |
121:8 |
Warning |
Attribute 'total_steps_label' defined outside __init__ (attribute-defined-outside-init) |
| src/pytribeam/GUI/runner_util/ui_components.py |
131:8 |
Warning |
Attribute 'slice_thickness_label' defined outside __init__ (attribute-defined-outside-init) |
| src/pytribeam/GUI/runner_util/ui_components.py |
141:8 |
Warning |
Attribute 'config_file_label' defined outside __init__ (attribute-defined-outside-init) |
| src/pytribeam/GUI/runner_util/ui_components.py |
153:8 |
Warning |
Attribute 'exp_dir_label' defined outside __init__ (attribute-defined-outside-init) |
| src/pytribeam/GUI/runner_util/ui_components.py |
165:8 |
Warning |
Attribute 'valid_status_label' defined outside __init__ (attribute-defined-outside-init) |
| src/pytribeam/GUI/runner_util/ui_components.py |
237:8 |
Warning |
Attribute 'starting_slice_spinbox' defined outside __init__ (attribute-defined-outside-init) |
| src/pytribeam/GUI/runner_util/ui_components.py |
266:8 |
Warning |
Attribute 'starting_step_menu' defined outside __init__ (attribute-defined-outside-init) |
| src/pytribeam/GUI/runner_util/ui_components.py |
283:8 |
Warning |
Attribute 'start_btn' defined outside __init__ (attribute-defined-outside-init) |
| src/pytribeam/GUI/runner_util/ui_components.py |
301:8 |
Warning |
Attribute 'stop_step_btn' defined outside __init__ (attribute-defined-outside-init) |
| src/pytribeam/GUI/runner_util/ui_components.py |
314:8 |
Warning |
Attribute 'stop_slice_btn' defined outside __init__ (attribute-defined-outside-init) |
| src/pytribeam/GUI/runner_util/ui_components.py |
331:8 |
Warning |
Attribute 'stop_now_btn' defined outside __init__ (attribute-defined-outside-init) |
| src/pytribeam/GUI/runner_util/ui_components.py |
8:0 |
Warning |
Unused Path imported from pathlib (unused-import) |
| src/pytribeam/GUI/runner_util/ui_components.py |
9:0 |
Warning |
Unused messagebox imported from tkinter (unused-import) |
| src/pytribeam/GUI/runner_util/experiment_controller.py |
342:0 |
Convention |
Line too long (115/100) (line-too-long) |
| src/pytribeam/GUI/runner_util/experiment_controller.py |
21:0 |
Refactor |
Too many instance attributes (11/7) (too-many-instance-attributes) |
| src/pytribeam/GUI/runner_util/experiment_controller.py |
93:19 |
Warning |
Catching too general exception Exception (broad-exception-caught) |
| src/pytribeam/GUI/runner_util/experiment_controller.py |
130:19 |
Warning |
Catching too general exception Exception (broad-exception-caught) |
| src/pytribeam/GUI/runner_util/experiment_controller.py |
153:15 |
Warning |
Catching too general exception Exception (broad-exception-caught) |
| src/pytribeam/GUI/runner_util/experiment_controller.py |
341:15 |
Warning |
Catching too general exception Exception (broad-exception-caught) |
| src/pytribeam/GUI/runner_util/experiment_controller.py |
372:13 |
Warning |
Using open without explicitly specifying an encoding (unspecified-encoding) |
| src/pytribeam/GUI/runner_util/experiment_controller.py |
437:15 |
Warning |
Catching too general exception Exception (broad-exception-caught) |
| src/pytribeam/GUI/runner_util/experiment_controller.py |
447:15 |
Warning |
Catching too general exception Exception (broad-exception-caught) |
| src/pytribeam/GUI/runner_util/experiment_controller.py |
507:15 |
Warning |
Catching too general exception Exception (broad-exception-caught) |
| src/pytribeam/GUI/runner_util/experiment_controller.py |
520:19 |
Warning |
Catching too general exception Exception (broad-exception-caught) |
| src/pytribeam/GUI/runner_util/experiment_controller.py |
12:0 |
Warning |
Unused Any imported from typing (unused-import) |
| src/pytribeam/GUI/common/config_manager.py |
78:8 |
Convention |
Import outside toplevel (json) (import-outside-toplevel) |
| src/pytribeam/GUI/common/config_manager.py |
83:13 |
Warning |
Using open without explicitly specifying an encoding (unspecified-encoding) |
| src/pytribeam/GUI/common/config_manager.py |
101:8 |
Convention |
Import outside toplevel (json) (import-outside-toplevel) |
| src/pytribeam/GUI/common/config_manager.py |
114:13 |
Warning |
Using open without explicitly specifying an encoding (unspecified-encoding) |
| src/pytribeam/GUI/common/config_manager.py |
158:8 |
Convention |
Import outside toplevel (time) (import-outside-toplevel) |
| src/pytribeam/GUI/common/config_manager.py |
169:8 |
Convention |
Import outside toplevel (time) (import-outside-toplevel) |
| src/pytribeam/GUI/common/config_manager.py |
10:0 |
Warning |
Unused Optional imported from typing (unused-import) |
| src/pytribeam/GUI/common/resources.py |
52:12 |
Refactor |
Consider merging these comparisons with 'in' by using 'module_path.parent.name in ('common', 'config_ui')'. Use a set instead if elements are hashable. (consider-using-in) |
| src/pytribeam/GUI/common/resources.py |
56:29 |
Error |
Possibly using variable 'base' before assignment (possibly-used-before-assignment) |
| src/pytribeam/GUI/common/resources.py |
91:8 |
Refactor |
Unnecessary "elif" after "return", remove the leading "el" from "elif" (no-else-return) |
| src/pytribeam/GUI/common/resources.py |
108:26 |
Error |
Instance of 'str' has no 'exists' member (no-member) |
| src/pytribeam/GUI/common/resources.py |
8:0 |
Warning |
Unused Optional imported from typing (unused-import) |
| src/pytribeam/GUI/common/logging_config.py |
82:4 |
Warning |
Use lazy % formatting in logging functions (logging-fstring-interpolation) |
| src/pytribeam/GUI/common/threading_utils.py |
60:15 |
Warning |
Catching too general exception BaseException (broad-exception-caught) |
| src/pytribeam/GUI/common/threading_utils.py |
88:25 |
Warning |
Access to a protected member _active of a client class (protected-access) |
| src/pytribeam/GUI/common/threading_utils.py |
117:8 |
Refactor |
Unnecessary "elif" after "raise", remove the leading "el" from "elif" (no-else-raise) |
| src/pytribeam/GUI/common/threading_utils.py |
251:12 |
Convention |
Import outside toplevel (os) (import-outside-toplevel) |
| src/pytribeam/GUI/common/threading_utils.py |
255:21 |
Warning |
Using open without explicitly specifying an encoding (unspecified-encoding) |
| src/pytribeam/GUI/common/threading_utils.py |
264:8 |
Convention |
Import outside toplevel (tkinter) (import-outside-toplevel) |
| src/pytribeam/GUI/common/threading_utils.py |
272:19 |
Warning |
Catching too general exception Exception (broad-exception-caught) |
| src/pytribeam/GUI/common/threading_utils.py |
270:21 |
Warning |
Using open without explicitly specifying an encoding (unspecified-encoding) |
| src/pytribeam/GUI/common/threading_utils.py |
285:19 |
Warning |
Catching too general exception Exception (broad-exception-caught) |
| src/pytribeam/GUI/common/threading_utils.py |
264:8 |
Warning |
Unused tkinter imported as tk (unused-import) |
| src/pytribeam/GUI/common/threading_utils.py |
295:8 |
Convention |
Import outside toplevel (tkinter) (import-outside-toplevel) |
| src/pytribeam/GUI/common/threading_utils.py |
319:15 |
Warning |
Catching too general exception Exception (broad-exception-caught) |
| src/pytribeam/GUI/common/threading_utils.py |
310:30 |
Error |
Possibly using variable 'bottom' before assignment (possibly-used-before-assignment) |
| src/pytribeam/GUI/common/threading_utils.py |
326:8 |
Warning |
Unnecessary pass statement (unnecessary-pass) |
| src/pytribeam/GUI/common/threading_utils.py |
329:0 |
Refactor |
Too many local variables (25/15) (too-many-locals) |
| src/pytribeam/GUI/common/threading_utils.py |
340:4 |
Convention |
Import outside toplevel (sys) (import-outside-toplevel) |
| src/pytribeam/GUI/common/threading_utils.py |
348:27 |
Warning |
Unused argument 'func' (unused-argument) |
| src/pytribeam/GUI/common/threading_utils.py |
360:4 |
Convention |
Variable name "WNDENUMPROC" doesn't conform to snake_case naming style (invalid-name) |
| src/pytribeam/GUI/common/threading_utils.py |
380:18 |
Convention |
Argument name "hWnd" doesn't conform to snake_case naming style (invalid-name) |
| src/pytribeam/GUI/common/threading_utils.py |
380:24 |
Convention |
Argument name "lParam" doesn't conform to snake_case naming style (invalid-name) |
| src/pytribeam/GUI/common/threading_utils.py |
382:18 |
Error |
No value for argument 'value' in constructor call (no-value-for-parameter) |
| src/pytribeam/GUI/common/threading_utils.py |
380:24 |
Warning |
Unused argument 'lParam' (unused-argument) |
| src/pytribeam/GUI/common/threading_utils.py |
393:4 |
Convention |
Variable name "INPUT_KEYBOARD" doesn't conform to snake_case naming style (invalid-name) |
| src/pytribeam/GUI/common/threading_utils.py |
394:4 |
Convention |
Variable name "KEYEVENTF_KEYUP" doesn't conform to snake_case naming style (invalid-name) |
| src/pytribeam/GUI/common/threading_utils.py |
395:4 |
Convention |
Variable name "KEYEVENTF_UNICODE" doesn't conform to snake_case naming style (invalid-name) |
| src/pytribeam/GUI/common/threading_utils.py |
396:4 |
Convention |
Variable name "MAPVK_VK_TO_VSC" doesn't conform to snake_case naming style (invalid-name) |
| src/pytribeam/GUI/common/threading_utils.py |
400:4 |
Convention |
Missing class docstring (missing-class-docstring) |
| src/pytribeam/GUI/common/threading_utils.py |
400:4 |
Refactor |
Too few public methods (0/2) (too-few-public-methods) |
| src/pytribeam/GUI/common/threading_utils.py |
410:4 |
Convention |
Missing class docstring (missing-class-docstring) |
| src/pytribeam/GUI/common/threading_utils.py |
422:16 |
Convention |
Attribute name "wScan" doesn't conform to snake_case naming style (invalid-name) |
| src/pytribeam/GUI/common/threading_utils.py |
420:12 |
Refactor |
Consider using Python 3 style super() without arguments (super-with-arguments) |
| src/pytribeam/GUI/common/threading_utils.py |
410:4 |
Refactor |
Too few public methods (0/2) (too-few-public-methods) |
| src/pytribeam/GUI/common/threading_utils.py |
424:4 |
Convention |
Missing class docstring (missing-class-docstring) |
| src/pytribeam/GUI/common/threading_utils.py |
424:4 |
Refactor |
Too few public methods (0/2) (too-few-public-methods) |
| src/pytribeam/GUI/common/threading_utils.py |
431:4 |
Convention |
Missing class docstring (missing-class-docstring) |
| src/pytribeam/GUI/common/threading_utils.py |
432:8 |
Refactor |
Too few public methods (0/2) (too-few-public-methods) |
| src/pytribeam/GUI/common/threading_utils.py |
431:4 |
Refactor |
Too few public methods (0/2) (too-few-public-methods) |
| src/pytribeam/GUI/common/threading_utils.py |
438:4 |
Convention |
Variable name "LPINPUT" doesn't conform to snake_case naming style (invalid-name) |
| src/pytribeam/GUI/common/threading_utils.py |
440:29 |
Warning |
Unused argument 'func' (unused-argument) |
| src/pytribeam/GUI/common/threading_utils.py |
462:4 |
Convention |
Variable name "VK_ESC" doesn't conform to snake_case naming style (invalid-name) |
| src/pytribeam/GUI/common/threading_utils.py |
463:4 |
Convention |
Variable name "VK_F6" doesn't conform to snake_case naming style (invalid-name) |
| src/pytribeam/GUI/common/threading_utils.py |
464:4 |
Convention |
Variable name "VKs" doesn't conform to snake_case naming style (invalid-name) |
| src/pytribeam/GUI/common/threading_utils.py |
329:0 |
Refactor |
Too many statements (66/50) (too-many-statements) |
| src/pytribeam/GUI/common/errors.py |
15:4 |
Warning |
Unnecessary pass statement (unnecessary-pass) |
| src/pytribeam/GUI/common/errors.py |
28:4 |
Warning |
Unnecessary pass statement (unnecessary-pass) |
| src/pytribeam/GUI/common/errors.py |
40:4 |
Warning |
Unnecessary pass statement (unnecessary-pass) |
| src/pytribeam/GUI/common/errors.py |
52:4 |
Warning |
Unnecessary pass statement (unnecessary-pass) |
| src/pytribeam/GUI/common/errors.py |
64:4 |
Warning |
Unnecessary pass statement (unnecessary-pass) |
| src/pytribeam/GUI/common/errors.py |
76:4 |
Warning |
Unnecessary pass statement (unnecessary-pass) |
| src/pytribeam/GUI/common/errors.py |
88:4 |
Warning |
Unnecessary pass statement (unnecessary-pass) |
| src/pytribeam/GUI/CustomTkinterWidgets/frame.py |
7:0 |
Warning |
Wildcard import utils (wildcard-import) |
| src/pytribeam/GUI/CustomTkinterWidgets/frame.py |
8:0 |
Warning |
Wildcard import config (wildcard-import) |
| src/pytribeam/GUI/CustomTkinterWidgets/frame.py |
9:0 |
Warning |
Wildcard import images (wildcard-import) |
| src/pytribeam/GUI/CustomTkinterWidgets/frame.py |
13:0 |
Refactor |
Too many instance attributes (18/7) (too-many-instance-attributes) |
| src/pytribeam/GUI/CustomTkinterWidgets/frame.py |
26:4 |
Refactor |
Too many arguments (10/5) (too-many-arguments) |
| src/pytribeam/GUI/CustomTkinterWidgets/frame.py |
121:4 |
Convention |
Missing function or method docstring (missing-function-docstring) |
| src/pytribeam/GUI/CustomTkinterWidgets/frame.py |
125:4 |
Convention |
Missing function or method docstring (missing-function-docstring) |
| src/pytribeam/GUI/CustomTkinterWidgets/frame.py |
129:33 |
Warning |
Unused argument 'event' (unused-argument) |
| src/pytribeam/GUI/CustomTkinterWidgets/frame.py |
140:35 |
Warning |
Unused argument 'event' (unused-argument) |
| src/pytribeam/GUI/CustomTkinterWidgets/frame.py |
153:4 |
Convention |
Missing function or method docstring (missing-function-docstring) |
| src/pytribeam/GUI/CustomTkinterWidgets/frame.py |
156:4 |
Convention |
Missing function or method docstring (missing-function-docstring) |
| src/pytribeam/GUI/CustomTkinterWidgets/frame.py |
169:0 |
Refactor |
Too many ancestors (8/7) (too-many-ancestors) |
| src/pytribeam/GUI/CustomTkinterWidgets/frame.py |
206:4 |
Convention |
Missing function or method docstring (missing-function-docstring) |
| src/pytribeam/GUI/CustomTkinterWidgets/frame.py |
217:0 |
Refactor |
Too many ancestors (8/7) (too-many-ancestors) |
| src/pytribeam/GUI/CustomTkinterWidgets/frame.py |
217:0 |
Refactor |
Too many instance attributes (15/7) (too-many-instance-attributes) |
| src/pytribeam/GUI/CustomTkinterWidgets/frame.py |
223:4 |
Refactor |
Too many arguments (8/5) (too-many-arguments) |
| src/pytribeam/GUI/CustomTkinterWidgets/frame.py |
223:4 |
Warning |
Keyword argument before variable positional arguments list in the definition of __init__ function (keyword-arg-before-vararg) |
| src/pytribeam/GUI/CustomTkinterWidgets/frame.py |
301:21 |
Warning |
Unused argument 'event' (unused-argument) |
| src/pytribeam/GUI/CustomTkinterWidgets/frame.py |
312:0 |
Convention |
Missing class docstring (missing-class-docstring) |
| src/pytribeam/GUI/CustomTkinterWidgets/frame.py |
313:4 |
Refactor |
Useless return at end of function or method (useless-return) |
| src/pytribeam/GUI/CustomTkinterWidgets/frame.py |
367:4 |
Convention |
Missing function or method docstring (missing-function-docstring) |
| src/pytribeam/GUI/CustomTkinterWidgets/frame.py |
7:0 |
Warning |
Unused import(s) base64, math, platform, PIL, hashlib, io, identify_operating_system, calc_md5, invert_color, rgb2hex, change_img_color, resize_img, is_dark, calc_contrast_color, text_to_image, create_image, create_circle, create_rectangle, apply_gradient, unbind_mousewheel, configure_widget, set_default_theme, theme_compatibility_check, center_window, Image, ImageColor, ImageDraw and ImageFilter from wildcard import of utils (unused-wildcard-import) |
| src/pytribeam/GUI/CustomTkinterWidgets/frame.py |
8:0 |
Warning |
Unused import(s) ACCENT_COLOR1, ACCENT_COLOR2, ACCENT_COLOR3, GREEN, RED, YELLOW, BLACK, TERMINAL_COLOR, HEADER_FONT, SUBHEADER_FONT, FONT, FONT_BOLD, FONT_ITALIC, MENU_FONT and TIP_FONT from wildcard import of config (unused-wildcard-import) |
| src/pytribeam/GUI/CustomTkinterWidgets/frame.py |
9:0 |
Warning |
Unused import(s) progressbar_3d_base, checked_icon and unchecked_icon from wildcard import of images (unused-wildcard-import) |
| src/pytribeam/GUI/CustomTkinterWidgets/__init__.py |
1:0 |
Convention |
Module name "CustomTkinterWidgets" doesn't conform to snake_case naming style (invalid-name) |
| src/pytribeam/GUI/CustomTkinterWidgets/__init__.py |
27:0 |
Convention |
Missing function or method docstring (missing-function-docstring) |
| src/pytribeam/GUI/CustomTkinterWidgets/images.py |
4:0 |
Convention |
Line too long (1168/100) (line-too-long) |
| src/pytribeam/GUI/CustomTkinterWidgets/images.py |
8:0 |
Convention |
Line too long (1760/100) (line-too-long) |
| src/pytribeam/GUI/CustomTkinterWidgets/images.py |
12:0 |
Convention |
Line too long (8151/100) (line-too-long) |
| src/pytribeam/GUI/CustomTkinterWidgets/images.py |
16:0 |
Convention |
Line too long (426/100) (line-too-long) |
| src/pytribeam/GUI/CustomTkinterWidgets/images.py |
17:0 |
Convention |
Line too long (272/100) (line-too-long) |
| src/pytribeam/GUI/CustomTkinterWidgets/images.py |
1:0 |
Convention |
Missing module docstring (missing-module-docstring) |
| src/pytribeam/GUI/CustomTkinterWidgets/images.py |
4:0 |
Convention |
Constant name "btn_face" doesn't conform to UPPER_CASE naming style (invalid-name) |
| src/pytribeam/GUI/CustomTkinterWidgets/images.py |
8:0 |
Convention |
Constant name "btn_base" doesn't conform to UPPER_CASE naming style (invalid-name) |
| src/pytribeam/GUI/CustomTkinterWidgets/images.py |
12:0 |
Convention |
Constant name "progressbar_3d_base" doesn't conform to UPPER_CASE naming style (invalid-name) |
| src/pytribeam/GUI/CustomTkinterWidgets/images.py |
16:0 |
Convention |
Constant name "checked_icon" doesn't conform to UPPER_CASE naming style (invalid-name) |
| src/pytribeam/GUI/CustomTkinterWidgets/images.py |
17:0 |
Convention |
Constant name "unchecked_icon" doesn't conform to UPPER_CASE naming style (invalid-name) |
| src/pytribeam/GUI/CustomTkinterWidgets/config.py |
1:0 |
Convention |
Missing module docstring (missing-module-docstring) |
| src/pytribeam/GUI/CustomTkinterWidgets/menubutton.py |
1:0 |
Convention |
Missing module docstring (missing-module-docstring) |
| src/pytribeam/GUI/CustomTkinterWidgets/menubutton.py |
2:0 |
Refactor |
Use 'from tkinter import ttk' instead (consider-using-from-import) |
| src/pytribeam/GUI/CustomTkinterWidgets/menubutton.py |
3:0 |
Warning |
Wildcard import utils (wildcard-import) |
| src/pytribeam/GUI/CustomTkinterWidgets/menubutton.py |
4:0 |
Warning |
Wildcard import config (wildcard-import) |
| src/pytribeam/GUI/CustomTkinterWidgets/menubutton.py |
5:0 |
Warning |
Wildcard import images (wildcard-import) |
| src/pytribeam/GUI/CustomTkinterWidgets/menubutton.py |
11:4 |
Refactor |
Too many arguments (10/5) (too-many-arguments) |
| src/pytribeam/GUI/CustomTkinterWidgets/menubutton.py |
45:12 |
Refactor |
Consider using '{"textvariable": self.var, "bg": bg, "fg": fg, "highlightbackground": bg, ... }' instead of a call to 'dict'. (use-dict-literal) |
| src/pytribeam/GUI/CustomTkinterWidgets/menubutton.py |
57:13 |
Refactor |
Consider using '{"tearoff": 0, "bg": bg, "fg": fg, "activebackground": h_bg, "activeforeground": h_fg, ... }' instead of a call to 'dict'. (use-dict-literal) |
| src/pytribeam/GUI/CustomTkinterWidgets/menubutton.py |
87:0 |
Refactor |
Too many ancestors (11/7) (too-many-ancestors) |
| src/pytribeam/GUI/CustomTkinterWidgets/menubutton.py |
95:4 |
Refactor |
Too many arguments (8/5) (too-many-arguments) |
| src/pytribeam/GUI/CustomTkinterWidgets/menubutton.py |
114:12 |
Refactor |
Consider using '{"textvariable": var, "values": values}' instead of a call to 'dict'. (use-dict-literal) |
| src/pytribeam/GUI/CustomTkinterWidgets/menubutton.py |
119:8 |
Refactor |
Consider using Python 3 style super() without arguments (super-with-arguments) |
| src/pytribeam/GUI/CustomTkinterWidgets/menubutton.py |
103:8 |
Warning |
Unused argument 'dtype' (unused-argument) |
| src/pytribeam/GUI/CustomTkinterWidgets/menubutton.py |
3:0 |
Warning |
Unused import(s) base64, math, platform, PIL, hashlib, io, identify_operating_system, calc_md5, generate_unique_name, invert_color, rgb2hex, change_img_color, resize_img, mix_images, color_to_rgba, is_dark, calc_contrast_color, text_to_image, create_pil_image, create_image, create_circle, create_rectangle, apply_gradient, scroll_with_mousewheel, unbind_mousewheel, configure_widget, set_default_theme, theme_compatibility_check, center_window, Image, ImageTk, ImageColor, ImageDraw and ImageFilter from wildcard import of utils (unused-wildcard-import) |
| src/pytribeam/GUI/CustomTkinterWidgets/menubutton.py |
4:0 |
Warning |
Unused import(s) ACCENT_COLOR2, ACCENT_COLOR3, GREEN, RED, YELLOW, BLACK, TERMINAL_COLOR, HEADER_FONT, SUBHEADER_FONT, FONT, FONT_BOLD, FONT_ITALIC, MENU_FONT and TIP_FONT from wildcard import of config (unused-wildcard-import) |
| src/pytribeam/GUI/CustomTkinterWidgets/menubutton.py |
5:0 |
Warning |
Unused import(s) btn_face, btn_base, progressbar_3d_base, checked_icon and unchecked_icon from wildcard import of images (unused-wildcard-import) |
| src/pytribeam/GUI/CustomTkinterWidgets/utils.py |
65:0 |
Convention |
Line too long (109/100) (line-too-long) |
| src/pytribeam/GUI/CustomTkinterWidgets/utils.py |
200:0 |
Convention |
Line too long (119/100) (line-too-long) |
| src/pytribeam/GUI/CustomTkinterWidgets/utils.py |
232:0 |
Convention |
Line too long (117/100) (line-too-long) |
| src/pytribeam/GUI/CustomTkinterWidgets/utils.py |
234:0 |
Convention |
Line too long (112/100) (line-too-long) |
| src/pytribeam/GUI/CustomTkinterWidgets/utils.py |
237:0 |
Convention |
Line too long (105/100) (line-too-long) |
| src/pytribeam/GUI/CustomTkinterWidgets/utils.py |
266:0 |
Convention |
Line too long (117/100) (line-too-long) |
| src/pytribeam/GUI/CustomTkinterWidgets/utils.py |
269:0 |
Convention |
Line too long (112/100) (line-too-long) |
| src/pytribeam/GUI/CustomTkinterWidgets/utils.py |
272:0 |
Convention |
Line too long (105/100) (line-too-long) |
| src/pytribeam/GUI/CustomTkinterWidgets/utils.py |
292:0 |
Convention |
Line too long (107/100) (line-too-long) |
| src/pytribeam/GUI/CustomTkinterWidgets/utils.py |
445:0 |
Convention |
Line too long (118/100) (line-too-long) |
| src/pytribeam/GUI/CustomTkinterWidgets/utils.py |
516:0 |
Convention |
Line too long (103/100) (line-too-long) |
| src/pytribeam/GUI/CustomTkinterWidgets/utils.py |
593:0 |
Convention |
Line too long (114/100) (line-too-long) |
| src/pytribeam/GUI/CustomTkinterWidgets/utils.py |
595:0 |
Convention |
Line too long (104/100) (line-too-long) |
| src/pytribeam/GUI/CustomTkinterWidgets/utils.py |
26:0 |
Convention |
Missing function or method docstring (missing-function-docstring) |
| src/pytribeam/GUI/CustomTkinterWidgets/utils.py |
40:4 |
Warning |
No exception type(s) specified (bare-except) |
| src/pytribeam/GUI/CustomTkinterWidgets/utils.py |
49:13 |
Warning |
Unused variable 'a' (unused-variable) |
| src/pytribeam/GUI/CustomTkinterWidgets/utils.py |
55:0 |
Convention |
Missing function or method docstring (missing-function-docstring) |
| src/pytribeam/GUI/CustomTkinterWidgets/utils.py |
56:11 |
Convention |
Formatting a regular string which could be an f-string (consider-using-f-string) |
| src/pytribeam/GUI/CustomTkinterWidgets/utils.py |
123:36 |
Error |
Module 'PIL.Image' has no 'LANCZOS' member (no-member) |
| src/pytribeam/GUI/CustomTkinterWidgets/utils.py |
161:4 |
Refactor |
Unnecessary "else" after "return", remove the "else" and de-indent the code inside it (no-else-return) |
| src/pytribeam/GUI/CustomTkinterWidgets/utils.py |
181:11 |
Refactor |
The if expression can be replaced with 'test' (simplifiable-if-expression) |
| src/pytribeam/GUI/CustomTkinterWidgets/utils.py |
176:13 |
Warning |
Unused variable 'a' (unused-variable) |
| src/pytribeam/GUI/CustomTkinterWidgets/utils.py |
210:13 |
Warning |
Unused variable 'a' (unused-variable) |
| src/pytribeam/GUI/CustomTkinterWidgets/utils.py |
221:4 |
Warning |
Unnecessary pass statement (unnecessary-pass) |
| src/pytribeam/GUI/CustomTkinterWidgets/utils.py |
219:18 |
Warning |
Unused argument 'text' (unused-argument) |
| src/pytribeam/GUI/CustomTkinterWidgets/utils.py |
219:24 |
Warning |
Unused argument 'text_color' (unused-argument) |
| src/pytribeam/GUI/CustomTkinterWidgets/utils.py |
219:36 |
Warning |
Unused argument 'bg_color' (unused-argument) |
| src/pytribeam/GUI/CustomTkinterWidgets/utils.py |
219:46 |
Warning |
Unused argument 'size' (unused-argument) |
| src/pytribeam/GUI/CustomTkinterWidgets/utils.py |
287:0 |
Refactor |
Too many arguments (6/5) (too-many-arguments) |
| src/pytribeam/GUI/CustomTkinterWidgets/utils.py |
310:8 |
Warning |
Assigning the same variable 'size' to itself (self-assigning-variable) |
| src/pytribeam/GUI/CustomTkinterWidgets/utils.py |
341:37 |
Error |
Module 'PIL.Image' has no 'LANCZOS' member (no-member) |
| src/pytribeam/GUI/CustomTkinterWidgets/utils.py |
353:0 |
Convention |
Missing function or method docstring (missing-function-docstring) |
| src/pytribeam/GUI/CustomTkinterWidgets/utils.py |
364:0 |
Refactor |
Too many local variables (19/15) (too-many-locals) |
| src/pytribeam/GUI/CustomTkinterWidgets/utils.py |
392:29 |
Error |
Using variable 'ratio1' before assignment (used-before-assignment) |
| src/pytribeam/GUI/CustomTkinterWidgets/utils.py |
364:0 |
Refactor |
Too many branches (13/12) (too-many-branches) |
| src/pytribeam/GUI/CustomTkinterWidgets/utils.py |
543:4 |
Warning |
No exception type(s) specified (bare-except) |
| src/pytribeam/GUI/CustomTkinterWidgets/utils.py |
549:4 |
Warning |
No exception type(s) specified (bare-except) |
| src/pytribeam/GUI/CustomTkinterWidgets/utils.py |
563:8 |
Warning |
No exception type(s) specified (bare-except) |
| src/pytribeam/GUI/CustomTkinterWidgets/utils.py |
571:8 |
Warning |
No exception type(s) specified (bare-except) |
| src/pytribeam/GUI/CustomTkinterWidgets/utils.py |
575:0 |
Convention |
Missing function or method docstring (missing-function-docstring) |
| src/pytribeam/GUI/CustomTkinterWidgets/utils.py |
12:0 |
Convention |
standard import "hashlib" should be placed before third party imports "PIL", "PIL.Image" (wrong-import-order) |
| src/pytribeam/GUI/CustomTkinterWidgets/utils.py |
13:0 |
Convention |
standard import "io" should be placed before third party imports "PIL", "PIL.Image" (wrong-import-order) |
| src/pytribeam/GUI/CustomTkinterWidgets/utils.py |
8:0 |
Warning |
Unused tkinter imported as tk (unused-import) |
| src/pytribeam/GUI/CustomTkinterWidgets/text.py |
15:0 |
Convention |
Line too long (109/100) (line-too-long) |
| src/pytribeam/GUI/CustomTkinterWidgets/text.py |
53:0 |
Convention |
Line too long (116/100) (line-too-long) |
| src/pytribeam/GUI/CustomTkinterWidgets/text.py |
6:0 |
Warning |
Wildcard import utils (wildcard-import) |
| src/pytribeam/GUI/CustomTkinterWidgets/text.py |
10:0 |
Refactor |
Too many ancestors (9/7) (too-many-ancestors) |
| src/pytribeam/GUI/CustomTkinterWidgets/text.py |
10:0 |
Refactor |
Too many instance attributes (21/7) (too-many-instance-attributes) |
| src/pytribeam/GUI/CustomTkinterWidgets/text.py |
25:4 |
Refactor |
Too many arguments (14/5) (too-many-arguments) |
| src/pytribeam/GUI/CustomTkinterWidgets/text.py |
191:8 |
Warning |
No exception type(s) specified (bare-except) |
| src/pytribeam/GUI/CustomTkinterWidgets/text.py |
6:0 |
Warning |
Unused import(s) base64, math, platform, PIL, hashlib, io, identify_operating_system, calc_md5, generate_unique_name, invert_color, rgb2hex, change_img_color, resize_img, mix_images, color_to_rgba, is_dark, calc_font_color, calc_contrast_color, text_to_image, create_pil_image, create_image, create_circle, create_rectangle, apply_gradient, unbind_mousewheel, get_widget_attribute, configure_widget, set_default_theme, theme_compatibility_check, center_window, ttk, Image, ImageTk, ImageColor, ImageDraw and ImageFilter from wildcard import of utils (unused-wildcard-import) |
| src/pytribeam/GUI/CustomTkinterWidgets/scrollbar.py |
109:0 |
Convention |
Line too long (207/100) (line-too-long) |
| src/pytribeam/GUI/CustomTkinterWidgets/scrollbar.py |
110:0 |
Convention |
Line too long (215/100) (line-too-long) |
| src/pytribeam/GUI/CustomTkinterWidgets/scrollbar.py |
141:0 |
Convention |
Line too long (135/100) (line-too-long) |
| src/pytribeam/GUI/CustomTkinterWidgets/scrollbar.py |
7:0 |
Warning |
Wildcard import utils (wildcard-import) |
| src/pytribeam/GUI/CustomTkinterWidgets/scrollbar.py |
10:0 |
Refactor |
Too many ancestors (9/7) (too-many-ancestors) |
| src/pytribeam/GUI/CustomTkinterWidgets/scrollbar.py |
15:4 |
Refactor |
Too many arguments (6/5) (too-many-arguments) |
| src/pytribeam/GUI/CustomTkinterWidgets/scrollbar.py |
43:4 |
Refactor |
Too many arguments (6/5) (too-many-arguments) |
| src/pytribeam/GUI/CustomTkinterWidgets/scrollbar.py |
145:0 |
Convention |
Class name "SimpleScrollbar_old" doesn't conform to PascalCase naming style (invalid-name) |
| src/pytribeam/GUI/CustomTkinterWidgets/scrollbar.py |
145:0 |
Refactor |
Too many ancestors (9/7) (too-many-ancestors) |
| src/pytribeam/GUI/CustomTkinterWidgets/scrollbar.py |
150:4 |
Refactor |
Too many arguments (6/5) (too-many-arguments) |
| src/pytribeam/GUI/CustomTkinterWidgets/scrollbar.py |
5:0 |
Warning |
Unused tkinter imported as tk (unused-import) |
| src/pytribeam/GUI/CustomTkinterWidgets/scrollbar.py |
7:0 |
Warning |
Unused import(s) tk, base64, math, platform, PIL, hashlib, io, identify_operating_system, calc_md5, generate_unique_name, invert_color, rgb2hex, change_img_color, resize_img, mix_images, color_to_rgba, is_dark, calc_font_color, calc_contrast_color, text_to_image, create_pil_image, create_image, create_circle, create_rectangle, apply_gradient, scroll_with_mousewheel, unbind_mousewheel, get_widget_attribute, configure_widget, set_default_theme, theme_compatibility_check, center_window, Image, ImageTk, ImageColor, ImageDraw and ImageFilter from wildcard import of utils (unused-wildcard-import) |
| src/pytribeam/GUI/CustomTkinterWidgets/datepicker.py |
88:0 |
Convention |
Line too long (105/100) (line-too-long) |
| src/pytribeam/GUI/CustomTkinterWidgets/datepicker.py |
9:0 |
Warning |
Wildcard import utils (wildcard-import) |
| src/pytribeam/GUI/CustomTkinterWidgets/datepicker.py |
12:0 |
Refactor |
Too many instance attributes (8/7) (too-many-instance-attributes) |
| src/pytribeam/GUI/CustomTkinterWidgets/datepicker.py |
15:4 |
Refactor |
Too many arguments (17/5) (too-many-arguments) |
| src/pytribeam/GUI/CustomTkinterWidgets/datepicker.py |
15:4 |
Refactor |
Too many local variables (19/15) (too-many-locals) |
| src/pytribeam/GUI/CustomTkinterWidgets/datepicker.py |
95:4 |
Convention |
Missing function or method docstring (missing-function-docstring) |
| src/pytribeam/GUI/CustomTkinterWidgets/datepicker.py |
95:4 |
Refactor |
Too many local variables (21/15) (too-many-locals) |
| src/pytribeam/GUI/CustomTkinterWidgets/datepicker.py |
118:12 |
Error |
Possibly using variable 'day_combo' before assignment (possibly-used-before-assignment) |
| src/pytribeam/GUI/CustomTkinterWidgets/datepicker.py |
191:4 |
Convention |
Missing function or method docstring (missing-function-docstring) |
| src/pytribeam/GUI/CustomTkinterWidgets/datepicker.py |
204:4 |
Convention |
Missing function or method docstring (missing-function-docstring) |
| src/pytribeam/GUI/CustomTkinterWidgets/datepicker.py |
204:4 |
Convention |
Disallowed name "foo" (disallowed-name) |
| src/pytribeam/GUI/CustomTkinterWidgets/datepicker.py |
9:0 |
Warning |
Unused import(s) base64, math, platform, PIL, hashlib, io, identify_operating_system, calc_md5, generate_unique_name, invert_color, rgb2hex, change_img_color, resize_img, mix_images, color_to_rgba, is_dark, text_to_image, create_pil_image, create_image, create_circle, create_rectangle, apply_gradient, scroll_with_mousewheel, unbind_mousewheel, configure_widget, set_default_theme, theme_compatibility_check, Image, ImageTk, ImageColor, ImageDraw and ImageFilter from wildcard import of utils (unused-wildcard-import) |
| src/pytribeam/GUI/CustomTkinterWidgets/entry.py |
1:0 |
Convention |
Missing module docstring (missing-module-docstring) |
| src/pytribeam/GUI/CustomTkinterWidgets/entry.py |
4:0 |
Refactor |
Use 'from tkinter import filedialog' instead (consider-using-from-import) |
| src/pytribeam/GUI/CustomTkinterWidgets/entry.py |
5:0 |
Warning |
Wildcard import utils (wildcard-import) |
| src/pytribeam/GUI/CustomTkinterWidgets/entry.py |
6:0 |
Warning |
Wildcard import config (wildcard-import) |
| src/pytribeam/GUI/CustomTkinterWidgets/entry.py |
7:0 |
Warning |
Wildcard import images (wildcard-import) |
| src/pytribeam/GUI/CustomTkinterWidgets/entry.py |
10:0 |
Refactor |
Too many ancestors (8/7) (too-many-ancestors) |
| src/pytribeam/GUI/CustomTkinterWidgets/entry.py |
13:4 |
Refactor |
Too many arguments (10/5) (too-many-arguments) |
| src/pytribeam/GUI/CustomTkinterWidgets/entry.py |
35:12 |
Refactor |
Consider using '{"textvariable": var, "bg": bg, "fg": fg, "selectbackground": h_bg, ... }' instead of a call to 'dict'. (use-dict-literal) |
| src/pytribeam/GUI/CustomTkinterWidgets/entry.py |
44:22 |
Refactor |
Consider using '{"borderwidth": 0}' instead of a call to 'dict'. (use-dict-literal) |
| src/pytribeam/GUI/CustomTkinterWidgets/entry.py |
80:4 |
Refactor |
Too many arguments (9/5) (too-many-arguments) |
| src/pytribeam/GUI/CustomTkinterWidgets/entry.py |
82:8 |
Warning |
Unused argument 'action' (unused-argument) |
| src/pytribeam/GUI/CustomTkinterWidgets/entry.py |
83:8 |
Warning |
Unused argument 'index' (unused-argument) |
| src/pytribeam/GUI/CustomTkinterWidgets/entry.py |
86:8 |
Warning |
Unused argument 'text' (unused-argument) |
| src/pytribeam/GUI/CustomTkinterWidgets/entry.py |
87:8 |
Warning |
Unused argument 'validation_type' (unused-argument) |
| src/pytribeam/GUI/CustomTkinterWidgets/entry.py |
88:8 |
Warning |
Unused argument 'trigger_type' (unused-argument) |
| src/pytribeam/GUI/CustomTkinterWidgets/entry.py |
89:8 |
Warning |
Unused argument 'widget_name' (unused-argument) |
| src/pytribeam/GUI/CustomTkinterWidgets/entry.py |
121:4 |
Refactor |
Too many arguments (11/5) (too-many-arguments) |
| src/pytribeam/GUI/CustomTkinterWidgets/entry.py |
5:0 |
Warning |
Unused import(s) base64, math, platform, PIL, hashlib, io, identify_operating_system, calc_md5, generate_unique_name, invert_color, rgb2hex, change_img_color, resize_img, mix_images, color_to_rgba, is_dark, calc_contrast_color, text_to_image, create_pil_image, create_image, create_circle, create_rectangle, apply_gradient, scroll_with_mousewheel, unbind_mousewheel, configure_widget, set_default_theme, theme_compatibility_check, center_window, Image, ImageTk, ImageColor, ImageDraw and ImageFilter from wildcard import of utils (unused-wildcard-import) |
| src/pytribeam/GUI/CustomTkinterWidgets/entry.py |
6:0 |
Warning |
Unused import(s) ACCENT_COLOR2, ACCENT_COLOR3, GREEN, RED, YELLOW, BLACK, TERMINAL_COLOR, HEADER_FONT, SUBHEADER_FONT, FONT, FONT_BOLD, FONT_ITALIC, MENU_FONT and TIP_FONT from wildcard import of config (unused-wildcard-import) |
| src/pytribeam/GUI/CustomTkinterWidgets/entry.py |
7:0 |
Warning |
Unused import(s) btn_face, btn_base, progressbar_3d_base, checked_icon and unchecked_icon from wildcard import of images (unused-wildcard-import) |
| src/pytribeam/GUI/CustomTkinterWidgets/menu.py |
26:0 |
Convention |
Line too long (118/100) (line-too-long) |
| src/pytribeam/GUI/CustomTkinterWidgets/menu.py |
28:0 |
Convention |
Line too long (104/100) (line-too-long) |
| src/pytribeam/GUI/CustomTkinterWidgets/menu.py |
11:4 |
Refactor |
Too many arguments (10/5) (too-many-arguments) |
| src/pytribeam/GUI/CustomTkinterWidgets/menu.py |
74:20 |
Warning |
Unused argument 'event' (unused-argument) |
| src/pytribeam/GUI/CustomTkinterWidgets/menu.py |
79:12 |
Refactor |
Unnecessary "else" after "return", remove the "else" and de-indent the code inside it (no-else-return) |
| src/pytribeam/GUI/CustomTkinterWidgets/menu.py |
77:8 |
Refactor |
Either all return statements in a function should return an expression, or none of them should. (inconsistent-return-statements) |
| src/pytribeam/GUI/CustomTkinterWidgets/menu.py |
77:22 |
Warning |
Unused argument 'event' (unused-argument) |
| src/pytribeam/GUI/CustomTkinterWidgets/menu.py |
98:20 |
Warning |
Unused argument 'event' (unused-argument) |
| src/pytribeam/GUI/CustomTkinterWidgets/menu.py |
115:4 |
Convention |
Missing function or method docstring (missing-function-docstring) |
| src/pytribeam/GUI/CustomTkinterWidgets/button.py |
7:0 |
Warning |
Wildcard import utils (wildcard-import) |
| src/pytribeam/GUI/CustomTkinterWidgets/button.py |
8:0 |
Warning |
Wildcard import config (wildcard-import) |
| src/pytribeam/GUI/CustomTkinterWidgets/button.py |
9:0 |
Warning |
Wildcard import images (wildcard-import) |
| src/pytribeam/GUI/CustomTkinterWidgets/button.py |
15:4 |
Refactor |
Too many arguments (8/5) (too-many-arguments) |
| src/pytribeam/GUI/CustomTkinterWidgets/button.py |
28:12 |
Refactor |
Consider using '{"text": self.text, "bg": self.bg, "fg": self.fg, "highlightcolor": self.h_bg, ... }' instead of a call to 'dict'. (use-dict-literal) |
| src/pytribeam/GUI/CustomTkinterWidgets/button.py |
42:4 |
Convention |
Missing function or method docstring (missing-function-docstring) |
| src/pytribeam/GUI/CustomTkinterWidgets/button.py |
42:23 |
Warning |
Unused argument 'e' (unused-argument) |
| src/pytribeam/GUI/CustomTkinterWidgets/button.py |
50:4 |
Convention |
Missing function or method docstring (missing-function-docstring) |
| src/pytribeam/GUI/CustomTkinterWidgets/button.py |
50:23 |
Warning |
Unused argument 'e' (unused-argument) |
| src/pytribeam/GUI/CustomTkinterWidgets/button.py |
58:4 |
Convention |
Missing function or method docstring (missing-function-docstring) |
| src/pytribeam/GUI/CustomTkinterWidgets/button.py |
70:0 |
Refactor |
Too many ancestors (8/7) (too-many-ancestors) |
| src/pytribeam/GUI/CustomTkinterWidgets/button.py |
75:40 |
Warning |
Unused argument 'fg' (unused-argument) |
| src/pytribeam/GUI/CustomTkinterWidgets/button.py |
144:4 |
Convention |
Missing function or method docstring (missing-function-docstring) |
| src/pytribeam/GUI/CustomTkinterWidgets/button.py |
158:0 |
Refactor |
Too many ancestors (8/7) (too-many-ancestors) |
| src/pytribeam/GUI/CustomTkinterWidgets/button.py |
164:4 |
Refactor |
Too many arguments (10/5) (too-many-arguments) |
| src/pytribeam/GUI/CustomTkinterWidgets/button.py |
164:4 |
Refactor |
Too many local variables (17/15) (too-many-locals) |
| src/pytribeam/GUI/CustomTkinterWidgets/button.py |
247:18 |
Refactor |
Consider using '{"text": text, "value": value, "style": custom_style, "image": [self.outline_img, 'selected', self.selection_img], ... }' instead of a call to 'dict'. (use-dict-literal) |
| src/pytribeam/GUI/CustomTkinterWidgets/button.py |
267:4 |
Refactor |
Too many arguments (6/5) (too-many-arguments) |
| src/pytribeam/GUI/CustomTkinterWidgets/button.py |
307:18 |
Refactor |
Consider using '{"bg": bg, "activebackground": bg, "highlightbackground": bg, "fg": text_color, ... }' instead of a call to 'dict'. (use-dict-literal) |
| src/pytribeam/GUI/CustomTkinterWidgets/button.py |
7:0 |
Warning |
Unused import(s) base64, math, platform, PIL, hashlib, io, identify_operating_system, calc_md5, generate_unique_name, invert_color, rgb2hex, change_img_color, resize_img, color_to_rgba, is_dark, calc_contrast_color, text_to_image, create_rectangle, apply_gradient, scroll_with_mousewheel, unbind_mousewheel, configure_widget, set_default_theme, theme_compatibility_check, center_window, Image, ImageColor, ImageDraw and ImageFilter from wildcard import of utils (unused-wildcard-import) |
| src/pytribeam/GUI/CustomTkinterWidgets/button.py |
8:0 |
Warning |
Unused import(s) ACCENT_COLOR1, ACCENT_COLOR2, ACCENT_COLOR3, GREEN, RED, YELLOW, BLACK, TERMINAL_COLOR, HEADER_FONT, SUBHEADER_FONT, FONT_BOLD, FONT_ITALIC, MENU_FONT and TIP_FONT from wildcard import of config (unused-wildcard-import) |
| src/pytribeam/GUI/CustomTkinterWidgets/button.py |
9:0 |
Warning |
Unused import(s) progressbar_3d_base from wildcard import of images (unused-wildcard-import) |
| src/pytribeam/GUI/CustomTkinterWidgets/label.py |
35:4 |
Convention |
Missing function or method docstring (missing-function-docstring) |
| src/pytribeam/GUI/CustomTkinterWidgets/label.py |
35:0 |
Warning |
Unused argument 'args' (unused-argument) |
| src/pytribeam/GUI/CustomTkinterWidgets/label.py |
39:4 |
Convention |
Missing function or method docstring (missing-function-docstring) |
| src/pytribeam/GUI/CustomTkinterWidgets/label.py |
44:4 |
Convention |
Missing function or method docstring (missing-function-docstring) |
| src/pytribeam/GUI/CustomTkinterWidgets/label.py |
45:8 |
Warning |
Redefining name 'txt' from outer scope (line 67) (redefined-outer-name) |
| src/pytribeam/GUI/CustomTkinterWidgets/label.py |
54:16 |
Warning |
Redefining built-in 'slice' (redefined-builtin) |
| src/pytribeam/GUI/CustomTkinterWidgets/label.py |
44:0 |
Warning |
Unused argument 'args' (unused-argument) |
| src/pytribeam/GUI/CustomTkinterWidgets/label.py |
67:4 |
Convention |
Constant name "txt" doesn't conform to UPPER_CASE naming style (invalid-name) |
| src/pytribeam/GUI/CustomTkinterWidgets/dialog.py |
31:0 |
Convention |
Line too long (107/100) (line-too-long) |
| src/pytribeam/GUI/CustomTkinterWidgets/dialog.py |
32:0 |
Convention |
Line too long (102/100) (line-too-long) |
| src/pytribeam/GUI/CustomTkinterWidgets/dialog.py |
16:0 |
Convention |
Missing function or method docstring (missing-function-docstring) |
| src/pytribeam/GUI/CustomTkinterWidgets/dialog.py |
20:11 |
Warning |
Catching too general exception Exception (broad-exception-caught) |
| src/pytribeam/GUI/CustomTkinterWidgets/dialog.py |
20:4 |
Warning |
Unused variable 'e' (unused-variable) |
| src/pytribeam/GUI/CustomTkinterWidgets/dialog.py |
51:4 |
Convention |
Missing function or method docstring (missing-function-docstring) |
| src/pytribeam/GUI/CustomTkinterWidgets/dialog.py |
87:4 |
Convention |
Missing function or method docstring (missing-function-docstring) |
| src/pytribeam/GUI/CustomTkinterWidgets/theme.py |
1:0 |
Convention |
Missing module docstring (missing-module-docstring) |
| src/pytribeam/GUI/CustomTkinterWidgets/theme.py |
27:8 |
Refactor |
Unnecessary "else" after "return", remove the "else" and de-indent the code inside it (no-else-return) |
| src/pytribeam/GUI/CustomTkinterWidgets/theme.py |
112:26 |
Warning |
Redefining name 'name' from outer scope (line 152) (redefined-outer-name) |
| src/pytribeam/GUI/CustomTkinterWidgets/theme.py |
128:12 |
Warning |
Consider explicitly re-raising using 'except KeyError as exc' and 'raise AttributeError(f"'{self.__class__.__name__}' has no attribute '{name}'") from exc' (raise-missing-from) |
| src/pytribeam/GUI/CustomTkinterWidgets/theme.py |
1:0 |
Warning |
Unused Optional imported from typing (unused-import) |
| src/pytribeam/GUI/CustomTkinterWidgets/tooltip.py |
23:0 |
Convention |
Line too long (109/100) (line-too-long) |
| src/pytribeam/GUI/CustomTkinterWidgets/tooltip.py |
118:0 |
Convention |
Line too long (115/100) (line-too-long) |
| src/pytribeam/GUI/CustomTkinterWidgets/tooltip.py |
12:0 |
Convention |
Missing class docstring (missing-class-docstring) |
| src/pytribeam/GUI/CustomTkinterWidgets/tooltip.py |
12:0 |
Refactor |
Too many instance attributes (13/7) (too-many-instance-attributes) |
| src/pytribeam/GUI/CustomTkinterWidgets/tooltip.py |
13:4 |
Refactor |
Too many arguments (6/5) (too-many-arguments) |
| src/pytribeam/GUI/CustomTkinterWidgets/tooltip.py |
55:4 |
Convention |
Missing function or method docstring (missing-function-docstring) |
| src/pytribeam/GUI/CustomTkinterWidgets/tooltip.py |
63:4 |
Convention |
Missing function or method docstring (missing-function-docstring) |
| src/pytribeam/GUI/CustomTkinterWidgets/tooltip.py |
67:8 |
Warning |
No exception type(s) specified (bare-except) |
| src/pytribeam/GUI/CustomTkinterWidgets/tooltip.py |
70:4 |
Convention |
Missing function or method docstring (missing-function-docstring) |
| src/pytribeam/GUI/CustomTkinterWidgets/tooltip.py |
70:20 |
Warning |
Unused argument 'event' (unused-argument) |
| src/pytribeam/GUI/CustomTkinterWidgets/tooltip.py |
73:4 |
Convention |
Missing function or method docstring (missing-function-docstring) |
| src/pytribeam/GUI/CustomTkinterWidgets/tooltip.py |
73:20 |
Warning |
Unused argument 'event' (unused-argument) |
| src/pytribeam/GUI/CustomTkinterWidgets/tooltip.py |
77:4 |
Convention |
Missing function or method docstring (missing-function-docstring) |
| src/pytribeam/GUI/CustomTkinterWidgets/tooltip.py |
81:4 |
Convention |
Missing function or method docstring (missing-function-docstring) |
| src/pytribeam/GUI/CustomTkinterWidgets/tooltip.py |
86:4 |
Convention |
Missing function or method docstring (missing-function-docstring) |
| src/pytribeam/GUI/CustomTkinterWidgets/tooltip.py |
91:8 |
Warning |
Redefining name 'x' from outer scope (line 166) (redefined-outer-name) |
| src/pytribeam/GUI/CustomTkinterWidgets/tooltip.py |
125:23 |
Convention |
Formatting a regular string which could be an f-string (consider-using-f-string) |
| src/pytribeam/GUI/CustomTkinterWidgets/tooltip.py |
128:4 |
Convention |
Missing function or method docstring (missing-function-docstring) |
| src/pytribeam/GUI/CustomTkinterWidgets/tooltip.py |
134:0 |
Convention |
Class name "tooltip" doesn't conform to PascalCase naming style (invalid-name) |
| src/pytribeam/GUI/CustomTkinterWidgets/tooltip.py |
137:0 |
Convention |
Missing function or method docstring (missing-function-docstring) |
| src/pytribeam/GUI/CustomTkinterWidgets/tooltip.py |
152:4 |
Warning |
Redefining name 'x' from outer scope (line 166) (redefined-outer-name) |
| src/pytribeam/GUI/CustomTkinterWidgets/tooltip.py |
154:4 |
Convention |
Disallowed name "foo" (disallowed-name) |
| src/pytribeam/GUI/CustomTkinterWidgets/tooltip.py |
166:0 |
Convention |
Constant name "x" doesn't conform to UPPER_CASE naming style (invalid-name) |
| src/pytribeam/GUI/CustomTkinterWidgets/tooltip.py |
169:0 |
Convention |
Missing function or method docstring (missing-function-docstring) |
| src/pytribeam/GUI/CustomTkinterWidgets/tooltip.py |
169:0 |
Error |
function already defined line 137 (function-redefined) |
| src/pytribeam/GUI/CustomTkinterWidgets/tooltip.py |
185:4 |
Convention |
Disallowed name "foo" (disallowed-name) |
| src/pytribeam/GUI/CustomTkinterWidgets/progressbar.py |
49:0 |
Convention |
Line too long (114/100) (line-too-long) |
| src/pytribeam/GUI/CustomTkinterWidgets/progressbar.py |
157:0 |
Convention |
Line too long (105/100) (line-too-long) |
| src/pytribeam/GUI/CustomTkinterWidgets/progressbar.py |
223:0 |
Convention |
Line too long (114/100) (line-too-long) |
| src/pytribeam/GUI/CustomTkinterWidgets/progressbar.py |
8:0 |
Warning |
Wildcard import utils (wildcard-import) |
| src/pytribeam/GUI/CustomTkinterWidgets/progressbar.py |
9:0 |
Warning |
Wildcard import images (wildcard-import) |
| src/pytribeam/GUI/CustomTkinterWidgets/progressbar.py |
83:8 |
Convention |
Disallowed name "bar" (disallowed-name) |
| src/pytribeam/GUI/CustomTkinterWidgets/progressbar.py |
12:0 |
Refactor |
Too many instance attributes (16/7) (too-many-instance-attributes) |
| src/pytribeam/GUI/CustomTkinterWidgets/progressbar.py |
27:4 |
Refactor |
Too many arguments (10/5) (too-many-arguments) |
| src/pytribeam/GUI/CustomTkinterWidgets/progressbar.py |
28:0 |
Warning |
Unused argument 'extra' (unused-argument) |
| src/pytribeam/GUI/CustomTkinterWidgets/progressbar.py |
124:8 |
Warning |
No exception type(s) specified (bare-except) |
| src/pytribeam/GUI/CustomTkinterWidgets/progressbar.py |
177:0 |
Warning |
Unused argument 'args' (unused-argument) |
| src/pytribeam/GUI/CustomTkinterWidgets/progressbar.py |
254:8 |
Convention |
Disallowed name "bar" (disallowed-name) |
| src/pytribeam/GUI/CustomTkinterWidgets/progressbar.py |
184:0 |
Refactor |
Too many instance attributes (17/7) (too-many-instance-attributes) |
| src/pytribeam/GUI/CustomTkinterWidgets/progressbar.py |
199:4 |
Refactor |
Too many arguments (12/5) (too-many-arguments) |
| src/pytribeam/GUI/CustomTkinterWidgets/progressbar.py |
296:8 |
Warning |
No exception type(s) specified (bare-except) |
| src/pytribeam/GUI/CustomTkinterWidgets/progressbar.py |
338:8 |
Warning |
No exception type(s) specified (bare-except) |
| src/pytribeam/GUI/CustomTkinterWidgets/progressbar.py |
345:8 |
Warning |
No exception type(s) specified (bare-except) |
| src/pytribeam/GUI/CustomTkinterWidgets/progressbar.py |
301:27 |
Warning |
Unused argument 'fg' (unused-argument) |
| src/pytribeam/GUI/CustomTkinterWidgets/progressbar.py |
301:39 |
Warning |
Unused argument 'bg' (unused-argument) |
| src/pytribeam/GUI/CustomTkinterWidgets/progressbar.py |
377:0 |
Warning |
Unused argument 'args' (unused-argument) |
| src/pytribeam/GUI/CustomTkinterWidgets/progressbar.py |
405:0 |
Refactor |
Too many ancestors (8/7) (too-many-ancestors) |
| src/pytribeam/GUI/CustomTkinterWidgets/progressbar.py |
418:4 |
Refactor |
Too many arguments (6/5) (too-many-arguments) |
| src/pytribeam/GUI/CustomTkinterWidgets/progressbar.py |
466:0 |
Convention |
Missing class docstring (missing-class-docstring) |
| src/pytribeam/GUI/CustomTkinterWidgets/progressbar.py |
466:0 |
Refactor |
Too many ancestors (9/7) (too-many-ancestors) |
| src/pytribeam/GUI/CustomTkinterWidgets/progressbar.py |
467:4 |
Refactor |
Too many arguments (6/5) (too-many-arguments) |
| src/pytribeam/GUI/CustomTkinterWidgets/progressbar.py |
485:4 |
Convention |
Missing function or method docstring (missing-function-docstring) |
| src/pytribeam/GUI/CustomTkinterWidgets/progressbar.py |
526:4 |
Convention |
Missing function or method docstring (missing-function-docstring) |
| src/pytribeam/GUI/CustomTkinterWidgets/progressbar.py |
526:0 |
Warning |
Unused argument 'args' (unused-argument) |
| src/pytribeam/GUI/CustomTkinterWidgets/progressbar.py |
549:4 |
Convention |
Missing function or method docstring (missing-function-docstring) |
| src/pytribeam/GUI/CustomTkinterWidgets/progressbar.py |
8:0 |
Warning |
Unused import(s) base64, math, platform, PIL, hashlib, io, identify_operating_system, calc_md5, generate_unique_name, invert_color, rgb2hex, color_to_rgba, is_dark, text_to_image, create_image, create_rectangle, apply_gradient, scroll_with_mousewheel, unbind_mousewheel, configure_widget, set_default_theme, theme_compatibility_check, center_window, Image, ImageColor, ImageDraw and ImageFilter from wildcard import of utils (unused-wildcard-import) |
| src/pytribeam/GUI/CustomTkinterWidgets/progressbar.py |
9:0 |
Warning |
Unused import(s) btn_face, btn_base, checked_icon and unchecked_icon from wildcard import of images (unused-wildcard-import) |
| src/pytribeam/GUI/CustomTkinterWidgets/listbox.py |
1:0 |
Convention |
Missing module docstring (missing-module-docstring) |
| src/pytribeam/GUI/CustomTkinterWidgets/listbox.py |
2:0 |
Warning |
Wildcard import utils (wildcard-import) |
| src/pytribeam/GUI/CustomTkinterWidgets/listbox.py |
3:0 |
Warning |
Wildcard import config (wildcard-import) |
| src/pytribeam/GUI/CustomTkinterWidgets/listbox.py |
4:0 |
Warning |
Wildcard import images (wildcard-import) |
| src/pytribeam/GUI/CustomTkinterWidgets/listbox.py |
7:0 |
Refactor |
Too many ancestors (9/7) (too-many-ancestors) |
| src/pytribeam/GUI/CustomTkinterWidgets/listbox.py |
10:4 |
Refactor |
Too many arguments (9/5) (too-many-arguments) |
| src/pytribeam/GUI/CustomTkinterWidgets/listbox.py |
35:12 |
Refactor |
Consider using '{"bg": bg, "fg": fg, "highlightbackground": bg, "highlightcolor": h_fg, ... }' instead of a call to 'dict'. (use-dict-literal) |
| src/pytribeam/GUI/CustomTkinterWidgets/listbox.py |
90:8 |
Convention |
Attribute name "curIndex" doesn't conform to snake_case naming style (invalid-name) |
| src/pytribeam/GUI/CustomTkinterWidgets/listbox.py |
50:0 |
Refactor |
Too many ancestors (9/7) (too-many-ancestors) |
| src/pytribeam/GUI/CustomTkinterWidgets/listbox.py |
53:4 |
Refactor |
Too many arguments (8/5) (too-many-arguments) |
| src/pytribeam/GUI/CustomTkinterWidgets/listbox.py |
77:12 |
Refactor |
Consider using '{"bg": bg, "fg": fg, "highlightbackground": bg, "highlightcolor": h_fg, ... }' instead of a call to 'dict'. (use-dict-literal) |
| src/pytribeam/GUI/CustomTkinterWidgets/listbox.py |
92:4 |
Convention |
Missing function or method docstring (missing-function-docstring) |
| src/pytribeam/GUI/CustomTkinterWidgets/listbox.py |
92:4 |
Convention |
Method name "setCurrent" doesn't conform to snake_case naming style (invalid-name) |
| src/pytribeam/GUI/CustomTkinterWidgets/listbox.py |
95:4 |
Convention |
Missing function or method docstring (missing-function-docstring) |
| src/pytribeam/GUI/CustomTkinterWidgets/listbox.py |
95:4 |
Convention |
Method name "shiftSelection" doesn't conform to snake_case naming style (invalid-name) |
| src/pytribeam/GUI/CustomTkinterWidgets/listbox.py |
2:0 |
Warning |
Unused import(s) base64, math, platform, PIL, hashlib, io, identify_operating_system, calc_md5, generate_unique_name, invert_color, rgb2hex, change_img_color, resize_img, mix_images, color_to_rgba, is_dark, calc_contrast_color, text_to_image, create_pil_image, create_image, create_circle, create_rectangle, apply_gradient, scroll_with_mousewheel, unbind_mousewheel, configure_widget, set_default_theme, theme_compatibility_check, center_window, ttk, Image, ImageTk, ImageColor, ImageDraw and ImageFilter from wildcard import of utils (unused-wildcard-import) |
| src/pytribeam/GUI/CustomTkinterWidgets/listbox.py |
3:0 |
Warning |
Unused import(s) ACCENT_COLOR1, ACCENT_COLOR2, ACCENT_COLOR3, GREEN, RED, YELLOW, BLACK, TERMINAL_COLOR, HEADER_FONT, SUBHEADER_FONT, FONT, FONT_BOLD, FONT_ITALIC, MENU_FONT and TIP_FONT from wildcard import of config (unused-wildcard-import) |
| src/pytribeam/GUI/CustomTkinterWidgets/listbox.py |
4:0 |
Warning |
Unused import(s) btn_face, btn_base, progressbar_3d_base, checked_icon and unchecked_icon from wildcard import of images (unused-wildcard-import) |
| src/pytribeam/GUI/CustomTkinterWidgets/listbox.py |
1:0 |
Refactor |
Similar lines in 2 files |
| src/pytribeam/GUI/CustomTkinterWidgets/listbox.py |
1:0 |
Refactor |
Similar lines in 2 files |
| src/pytribeam/GUI/CustomTkinterWidgets/listbox.py |
1:0 |
Refactor |
Similar lines in 2 files |
| src/pytribeam/GUI/CustomTkinterWidgets/listbox.py |
1:0 |
Refactor |
Similar lines in 2 files |
| src/pytribeam/GUI/CustomTkinterWidgets/listbox.py |
1:0 |
Refactor |
Similar lines in 2 files |
| src/pytribeam/GUI/CustomTkinterWidgets/listbox.py |
1:0 |
Refactor |
Cyclic import (pytribeam.image -> pytribeam.insertable_devices) (cyclic-import) |
| src/pytribeam/GUI/CustomTkinterWidgets/listbox.py |
1:0 |
Refactor |
Cyclic import (pytribeam.insertable_devices -> pytribeam.laser) (cyclic-import) |
| src/pytribeam/GUI/CustomTkinterWidgets/listbox.py |
1:0 |
Refactor |
Cyclic import (pytribeam.factory -> pytribeam.stage) (cyclic-import) |
| src/pytribeam/GUI/CustomTkinterWidgets/listbox.py |
1:0 |
Refactor |
Cyclic import (pytribeam.factory -> pytribeam.laser) (cyclic-import) |
| src/pytribeam/GUI/CustomTkinterWidgets/listbox.py |
1:0 |
Refactor |
Cyclic import (pytribeam.factory -> pytribeam.image -> pytribeam.insertable_devices -> pytribeam.laser) (cyclic-import) |
| src/pytribeam/GUI/CustomTkinterWidgets/listbox.py |
1:0 |
Refactor |
Cyclic import (pytribeam.factory -> pytribeam.stage -> pytribeam.insertable_devices -> pytribeam.laser) (cyclic-import) |
| src/pytribeam/GUI/CustomTkinterWidgets/listbox.py |
1:0 |
Refactor |
Cyclic import (pytribeam.image -> pytribeam.insertable_devices -> pytribeam.laser) (cyclic-import) |
| src/pytribeam/GUI/CustomTkinterWidgets/listbox.py |
1:0 |
Refactor |
Cyclic import (pytribeam.factory -> pytribeam.fib -> pytribeam.image -> pytribeam.insertable_devices -> pytribeam.laser) (cyclic-import) |