-
-
Notifications
You must be signed in to change notification settings - Fork 100
/
pyUn0.pylint.report
1285 lines (1283 loc) · 80.6 KB
/
pyUn0.pylint.report
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
************* Module pyUn0
C: 10, 0: Exactly one space required before assignment
__author__ = "kelu124"
^ (bad-whitespace)
C: 11, 0: Exactly one space required before assignment
__copyright__ = "Copyright 2016, Kelu124"
^ (bad-whitespace)
W: 35, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W: 37, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C: 38, 0: Trailing whitespace (trailing-whitespace)
W: 40, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W: 42, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W: 55, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W: 56, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W: 58, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C: 58, 0: Exactly one space required around assignment
JSON["firmware_md5"]="fa6a7560ade6d6b1149b6e78e0de051f"
^ (bad-whitespace)
W: 59, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C: 59, 0: Exactly one space required around assignment
JSON["firmware_version"]="e_un0"
^ (bad-whitespace)
W: 60, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C: 60, 0: Exactly one space required around assignment
JSON["data"]=[]
^ (bad-whitespace)
W: 61, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W: 62, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C: 62, 0: Exactly one space required around assignment
JSON["registers"]={}
^ (bad-whitespace)
W: 63, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C: 63, 0: Exactly one space required around assignment
JSON["experiment"]={}
^ (bad-whitespace)
W: 64, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C: 64, 0: Exactly one space required around assignment
JSON["parameters"]={}
^ (bad-whitespace)
W: 65, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C: 65, 0: Exactly one space required around assignment
JSON["timings"]={}
^ (bad-whitespace)
W: 66, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W: 67, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C: 67, 0: Exactly one space required around assignment
JSON["experiment"]["description"]="na"
^ (bad-whitespace)
W: 68, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C: 68, 0: Exactly one space required around assignment
JSON["experiment"]["probe"]="na"
^ (bad-whitespace)
W: 69, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W: 70, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W: 71, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C: 71, 0: Exactly one space required around assignment
JSON["V"]="-1"
^ (bad-whitespace)
W: 73, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W: 74, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W: 75, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W: 76, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W: 78, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C: 78, 0: Exactly one space required after comma
def CreateDACCurve(self,Deb,Fin,CurveType):
^ (bad-whitespace)
C: 78, 0: Exactly one space required after comma
def CreateDACCurve(self,Deb,Fin,CurveType):
^ (bad-whitespace)
C: 78, 0: Exactly one space required after comma
def CreateDACCurve(self,Deb,Fin,CurveType):
^ (bad-whitespace)
W: 79, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W: 80, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W: 81, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W: 82, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W: 83, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W: 84, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W: 85, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C: 86, 0: Trailing whitespace (trailing-whitespace)
W: 86, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W: 87, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W: 88, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W: 89, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W: 90, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C: 90, 0: Exactly one space required after comma
return DACValues,len(DACValues)
^ (bad-whitespace)
W: 92, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C: 92, 0: Exactly one space required after comma
def setTimings(self,t1,t2,t3,WaitTill,t5):
^ (bad-whitespace)
C: 92, 0: Exactly one space required after comma
def setTimings(self,t1,t2,t3,WaitTill,t5):
^ (bad-whitespace)
C: 92, 0: Exactly one space required after comma
def setTimings(self,t1,t2,t3,WaitTill,t5):
^ (bad-whitespace)
C: 92, 0: Exactly one space required after comma
def setTimings(self,t1,t2,t3,WaitTill,t5):
^ (bad-whitespace)
C: 92, 0: Exactly one space required after comma
def setTimings(self,t1,t2,t3,WaitTill,t5):
^ (bad-whitespace)
W: 93, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W: 94, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C: 94, 0: Exactly one space required after comma
self.setPulseTrain(t1,t2,t3,t4,t5)
^ (bad-whitespace)
C: 94, 0: Exactly one space required after comma
self.setPulseTrain(t1,t2,t3,t4,t5)
^ (bad-whitespace)
C: 94, 0: Exactly one space required after comma
self.setPulseTrain(t1,t2,t3,t4,t5)
^ (bad-whitespace)
C: 94, 0: Exactly one space required after comma
self.setPulseTrain(t1,t2,t3,t4,t5)
^ (bad-whitespace)
C: 96, 0: Trailing whitespace (trailing-whitespace)
W: 96, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W: 97, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W: 98, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C: 98, 0: Exactly one space required before assignment
self.JSON["timings"]["t1"] = t1
^ (bad-whitespace)
W: 99, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C: 99, 0: Exactly one space required before assignment
self.JSON["timings"]["t2"] = t2
^ (bad-whitespace)
W:100, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:100, 0: Exactly one space required before assignment
self.JSON["timings"]["t3"] = t3
^ (bad-whitespace)
W:101, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:101, 0: Exactly one space required before assignment
self.JSON["timings"]["t4"] = WaitTill
^ (bad-whitespace)
W:102, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:102, 0: Exactly one space required before assignment
self.JSON["timings"]["t5"] = t5
^ (bad-whitespace)
W:103, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:103, 0: Exactly one space required before assignment
self.JSON["timings"]["NAcq"] = self.Nacq
^ (bad-whitespace)
W:104, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:104, 0: Exactly one space required before assignment
self.JSON["timings"]["LAcq"] = self.LAcq
^ (bad-whitespace)
W:105, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:105, 0: Exactly one space required before assignment
self.JSON["timings"]["Fech"] = self.Fech
^ (bad-whitespace)
C:106, 0: Trailing whitespace (trailing-whitespace)
W:106, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:107, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:108, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:109, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:110, 0: Trailing whitespace (trailing-whitespace)
W:110, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:111, 0: Trailing whitespace (trailing-whitespace)
W:112, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:112, 0: Exactly one space required after comma
def setMultiLines(self,Bool):
^ (bad-whitespace)
W:113, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:114, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:115, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:115, 0: Exactly one space required after comma
self.WriteFPGA(0xEB,1) # Doing one line if 0, several if 1
^ (bad-whitespace)
W:116, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:117, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:118, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:119, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:119, 0: Exactly one space required after comma
self.WriteFPGA(0xEB,0) # Doing one line if 0, several if 1
^ (bad-whitespace)
W:120, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:121, 0: Trailing whitespace (trailing-whitespace)
W:122, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:122, 0: Exactly one space required after comma
def setDACCurve(self,DACValues):
^ (bad-whitespace)
C:123, 0: Trailing whitespace (trailing-whitespace)
W:123, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:124, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:125, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:126, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:127, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:127, 0: Exactly one space required after comma
self.WriteFPGA(16+i,DACValues[i]/4)
^ (bad-whitespace)
W:128, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:129, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:129, 0: Exactly one space required after comma
self.WriteFPGA(16+i,0)
^ (bad-whitespace)
W:136, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:136, 0: Exactly one space required after comma
def WriteFPGA(self,adress,value):
^ (bad-whitespace)
C:136, 0: Exactly one space required after comma
def WriteFPGA(self,adress,value):
^ (bad-whitespace)
W:137, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:137, 0: No space allowed before bracket
self.spi.xfer([0xAA] )
^ (bad-whitespace)
W:138, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:138, 0: No space allowed before bracket
self.spi.xfer([adress] )
^ (bad-whitespace)
W:139, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:139, 0: No space allowed before bracket
self.spi.xfer([value] )
^ (bad-whitespace)
W:140, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:140, 0: Exactly one space required around assignment
self.JSON["registers"][int(adress)]=value
^ (bad-whitespace)
C:142, 0: Trailing whitespace (trailing-whitespace)
W:143, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:144, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:145, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:146, 0: Trailing whitespace (trailing-whitespace)
W:146, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:147, 0: Trailing whitespace (trailing-whitespace)
W:148, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:149, 0: Trailing whitespace (trailing-whitespace)
W:149, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:149, 0: Exactly one space required after comma
GPIO.setup(CS_FLASH,GPIO.OUT)
^ (bad-whitespace)
W:150, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:150, 0: Exactly one space required after comma
GPIO.output(CS_FLASH,GPIO.LOW)
^ (bad-whitespace)
W:152, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:152, 0: Exactly one space required after comma
GPIO.setup(PRESET,GPIO.OUT)
^ (bad-whitespace)
W:153, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:153, 0: Exactly one space required after comma
GPIO.setup(IO4,GPIO.IN, pull_up_down=GPIO.PUD_DOWN)
^ (bad-whitespace)
W:154, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:155, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:155, 0: Exactly one space required after comma
GPIO.output(PRESET,GPIO.LOW)
^ (bad-whitespace)
W:156, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:157, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:158, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:158, 0: Exactly one space required after comma
GPIO.output(PRESET,GPIO.HIGH)
^ (bad-whitespace)
W:159, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:160, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:160, 0: Exactly one space required after comma
self.spi.open(0,0) # CS2 - FPGA, on CE1 = IO4
^ (bad-whitespace)
W:161, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:162, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:163, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:164, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:165, 0: Trailing whitespace (trailing-whitespace)
W:165, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:171, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:171, 0: Exactly one space required after comma
def TestSPI(self,ncycles):
^ (bad-whitespace)
W:172, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:173, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:174, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:174, 0: Exactly one space required after comma
self.WriteFPGA(0xEB,0x01) # 0: single mode 1 continious mode
^ (bad-whitespace)
W:175, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:176, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:176, 0: Exactly one space required after comma
self.WriteFPGA(0xEB,0x00) # 0: single mode 1 continious mode
^ (bad-whitespace)
C:177, 0: Trailing whitespace (trailing-whitespace)
W:177, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:178, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:180, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:181, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:182, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:182, 0: Exactly one space required after comma
self.WriteFPGA(0xEB,0x01) # 0: single mode 1 continious mode
^ (bad-whitespace)
W:183, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:183, 0: Exactly one space required after comma
self.WriteFPGA(0xEB,0x00) # 0: single mode 1 continious mode
^ (bad-whitespace)
W:186, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:187, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:188, 0: Trailing whitespace (trailing-whitespace)
W:188, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:188, 0: Exactly one space required after comma
self.WriteFPGA(0xEB,0x00) # Doing 1 shot
^ (bad-whitespace)
W:189, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:189, 0: Exactly one space required after comma
self.WriteFPGA(0xEF,0x01) # Cleaning memory pointer
^ (bad-whitespace)
W:190, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:190, 0: Exactly one space required after comma
self.WriteFPGA(0xEA,0x0) # Software Trig : As to be clear by software
^ (bad-whitespace)
W:191, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:194, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:195, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:195, 0: Exactly one space required after comma
self.WriteFPGA(0xEF,0x01) # To access memory
^ (bad-whitespace)
C:196, 0: Trailing whitespace (trailing-whitespace)
W:200, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:200, 0: Exactly one space required after comma
def setMsps(self,F):
^ (bad-whitespace)
W:201, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:201, 0: Exactly one space required after comma
self.WriteFPGA(0xED,F)
^ (bad-whitespace)
W:202, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:203, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:204, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:206, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:207, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:207, 0: Exactly one space required after comma
self.WriteFPGA(0xEF,0x01) # Cleaning memory pointer
^ (bad-whitespace)
W:208, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:209, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:209, 0: Exactly one space required after comma
self.WriteFPGA(0xEA,0x01) # Software Trig : As to be clear by software
^ (bad-whitespace)
W:210, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:211, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:212, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:213, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:214, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:214, 0: No space allowed around bracket
self.JSON["data"].append ( self.spi.xfer([0x00] )[0] )
^ (bad-whitespace)
C:214, 0: No space allowed before bracket
self.JSON["data"].append ( self.spi.xfer([0x00] )[0] )
^ (bad-whitespace)
C:214, 0: No space allowed before bracket
self.JSON["data"].append ( self.spi.xfer([0x00] )[0] )
^ (bad-whitespace)
W:215, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:215, 0: Unnecessary parens after 'not' keyword (superfluous-parens)
W:216, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:217, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:218, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:219, 0: Trailing whitespace (trailing-whitespace)
W:219, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:220, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:221, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:222, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:223, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:224, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:225, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:227, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:227, 0: Exactly one space required after comma
def setNLines(self,n):
^ (bad-whitespace)
C:228, 0: Trailing whitespace (trailing-whitespace)
W:228, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:228, 0: Exactly one space required after comma
nMSB, nLSB = n/256,0x00FF&n
^ (bad-whitespace)
W:229, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:229, 0: Exactly one space required after comma
self.WriteFPGA(0xEE,nLSB)
^ (bad-whitespace)
W:230, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:230, 0: Exactly one space required after comma
self.WriteFPGA(0xDE,nMSB)
^ (bad-whitespace)
W:231, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:232, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:234, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:236, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:237, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:238, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:240, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:240, 0: Exactly one space required after comma
self.WriteFPGA(0xEC,0x33) # Set DAC constant
^ (bad-whitespace)
W:241, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:243, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:243, 0: Exactly one space required after comma
self.WriteFPGA(0xEB,0x00) # 0: single mode 1 continious mode
^ (bad-whitespace)
C:244, 0: Line too long (116/100) (line-too-long)
W:244, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:244, 0: Exactly one space required after comma
self.WriteFPGA(0xED,0x03) # Frequency of ADC acquisition / sEEADC_freq (3 = 16Msps, 1 = 32, 0 = 64, 2 = 21Msps)
^ (bad-whitespace)
W:245, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:246, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:248, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:248, 0: Exactly one space required after comma
def setDACConstant(self,mV):
^ (bad-whitespace)
W:249, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:250, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:251, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:252, 0: Trailing whitespace (trailing-whitespace)
W:252, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:253, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:254, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:254, 0: Exactly one space required after comma
print "Gain:", mV," mV -- ",hex(hmV)
^ (bad-whitespace)
C:254, 0: Exactly one space required after comma
print "Gain:", mV," mV -- ",hex(hmV)
^ (bad-whitespace)
W:255, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:255, 0: Exactly one space required after comma
self.WriteFPGA(0xEC,hmV) # Voltage gain control: 0V to 1V
^ (bad-whitespace)
W:258, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:258, 0: Exactly one space required after comma
def setPon(self,POn):
^ (bad-whitespace)
W:259, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:260, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:261, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:262, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:263, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:264, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:265, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:266, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:266, 0: Exactly one space required after comma
print "Pulse width:", POn," ns -- ",hex(HPon)
^ (bad-whitespace)
C:266, 0: Exactly one space required after comma
print "Pulse width:", POn," ns -- ",hex(HPon)
^ (bad-whitespace)
W:267, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:267, 0: Exactly one space required after comma
self.WriteFPGA(0xE0,HPon) # set sEEPon
^ (bad-whitespace)
W:268, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:269, 0: Trailing whitespace (trailing-whitespace)
W:270, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:270, 0: Exactly one space required after comma
def setPulsesDelay(self,DeltaPP):
^ (bad-whitespace)
W:272, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:273, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:274, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:275, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:276, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:276, 0: Exactly one space required after assignment
HPP =DeltaPP /10
^ (bad-whitespace)
W:278, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:279, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:280, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:280, 0: Exactly one space required after comma
print "Pulses delay:", DeltaPP," ns -- ",hex(HPP)
^ (bad-whitespace)
C:280, 0: Exactly one space required after comma
print "Pulses delay:", DeltaPP," ns -- ",hex(HPP)
^ (bad-whitespace)
W:281, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:281, 0: Exactly one space required after comma
self.WriteFPGA(0xD0,HPP) # set sEEPon
^ (bad-whitespace)
W:282, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:284, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:284, 0: Exactly one space required after comma
def setPoff(self,sEEPoff):
^ (bad-whitespace)
W:286, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:288, 0: Trailing whitespace (trailing-whitespace)
W:288, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:288, 0: Exactly one space required after comma
POffMSB, POffLSB = 0x00FF&POff/256,0x00FF&POff
^ (bad-whitespace)
W:289, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:289, 0: Exactly one space required after comma
print "Poff:", sEEPoff," ns -- ",hex(POffMSB),hex(POffLSB)
^ (bad-whitespace)
C:289, 0: Exactly one space required after comma
print "Poff:", sEEPoff," ns -- ",hex(POffMSB),hex(POffLSB)
^ (bad-whitespace)
C:289, 0: Exactly one space required after comma
print "Poff:", sEEPoff," ns -- ",hex(POffMSB),hex(POffLSB)
^ (bad-whitespace)
W:290, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:291, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:292, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:292, 0: Exactly one space required after comma
self.WriteFPGA(0xE1,POffMSB) # set sEEPon MSB
^ (bad-whitespace)
W:293, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:293, 0: Exactly one space required after comma
self.WriteFPGA(0xE2,POffLSB) # set sEEPon LSB
^ (bad-whitespace)
W:294, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:297, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:297, 0: Exactly one space required after comma
def setDeltaAcq(self,DeltaAcq):
^ (bad-whitespace)
W:298, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:299, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:300, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:301, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:303, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:304, 0: Trailing whitespace (trailing-whitespace)
W:304, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:304, 0: No space allowed before comma
hDAMSB, hDALSB = hDA/256 , 0x00FF&hDA
^ (bad-whitespace)
W:305, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:305, 0: Exactly one space required after comma
print "Delay between:",hDA*1000/128,"ns -- ", hex(hDAMSB),hex(hDALSB)
^ (bad-whitespace)
C:305, 0: Exactly one space required after comma
print "Delay between:",hDA*1000/128,"ns -- ", hex(hDAMSB),hex(hDALSB)
^ (bad-whitespace)
C:305, 0: Exactly one space required after comma
print "Delay between:",hDA*1000/128,"ns -- ", hex(hDAMSB),hex(hDALSB)
^ (bad-whitespace)
W:306, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:307, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:308, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:308, 0: Exactly one space required after comma
self.WriteFPGA(0xE3,hDAMSB) # set sEEPon MSB
^ (bad-whitespace)
W:309, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:309, 0: Exactly one space required after comma
self.WriteFPGA(0xE4,hDALSB) # set sEEPon LSB
^ (bad-whitespace)
W:310, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:312, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:312, 0: Exactly one space required after comma
def SetLengthAcq(self,LAcqI):
^ (bad-whitespace)
W:313, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:315, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:316, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:317, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:317, 0: No space allowed before comma
LAcqMSB, LAcqLSB = 0x00FF&LAcqCorrected/256 , 0x00FF&LAcqCorrected
^ (bad-whitespace)
W:318, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:318, 0: Exactly one space required after comma
print "Acquisition length: ", int(LAcqCorrected*1000/128), "ns -- ",hex(LAcqMSB),hex(LAcqLSB)
^ (bad-whitespace)
C:318, 0: Exactly one space required after comma
print "Acquisition length: ", int(LAcqCorrected*1000/128), "ns -- ",hex(LAcqMSB),hex(LAcqLSB)
^ (bad-whitespace)
W:319, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:319, 0: Exactly one space required after comma
self.WriteFPGA(0xE5,LAcqMSB) # set sEEPon MSB
^ (bad-whitespace)
W:320, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:320, 0: Exactly one space required after comma
self.WriteFPGA(0xE6,LAcqLSB) # set sEEPon LSB
^ (bad-whitespace)
W:321, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:323, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:323, 0: Exactly one space required after comma
def setPeriodAcq(self,lEPeriod):
^ (bad-whitespace)
W:324, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:325, 0: Trailing whitespace (trailing-whitespace)
W:325, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:325, 0: Exactly one space required after comma
EPNsMSB, EPNs, EPNsLSB = 0x00FF&lEPNs/(256*256),0x00FF&lEPNs/256,0x0000FF&lEPNs
^ (bad-whitespace)
C:325, 0: Exactly one space required after comma
EPNsMSB, EPNs, EPNsLSB = 0x00FF&lEPNs/(256*256),0x00FF&lEPNs/256,0x0000FF&lEPNs
^ (bad-whitespace)
C:326, 0: Trailing whitespace (trailing-whitespace)
W:326, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:326, 0: Exactly one space required after comma
print "Period between two acquisitions:", lEPNs,"us --", hex(EPNsMSB),hex(EPNs),hex(EPNsLSB)
^ (bad-whitespace)
C:326, 0: Exactly one space required after comma
print "Period between two acquisitions:", lEPNs,"us --", hex(EPNsMSB),hex(EPNs),hex(EPNsLSB)
^ (bad-whitespace)
C:326, 0: Exactly one space required after comma
print "Period between two acquisitions:", lEPNs,"us --", hex(EPNsMSB),hex(EPNs),hex(EPNsLSB)
^ (bad-whitespace)
W:327, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:328, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:329, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:329, 0: Exactly one space required after comma
self.WriteFPGA(0xE7,EPNsMSB) # Period of one cycle MSB
^ (bad-whitespace)
W:330, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:330, 0: Exactly one space required after comma
self.WriteFPGA(0xE8,EPNs) # Period of one cycle 15 to 8
^ (bad-whitespace)
W:331, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:331, 0: Exactly one space required after comma
self.WriteFPGA(0xE9,EPNsLSB) # Period of one cycle LSB
^ (bad-whitespace)
W:332, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:334, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:334, 0: Exactly one space required after comma
def setPulseTrain(self,Pon,Pdelay,Poff,DelayAcq,Acq):
^ (bad-whitespace)
C:334, 0: Exactly one space required after comma
def setPulseTrain(self,Pon,Pdelay,Poff,DelayAcq,Acq):
^ (bad-whitespace)
C:334, 0: Exactly one space required after comma
def setPulseTrain(self,Pon,Pdelay,Poff,DelayAcq,Acq):
^ (bad-whitespace)
C:334, 0: Exactly one space required after comma
def setPulseTrain(self,Pon,Pdelay,Poff,DelayAcq,Acq):
^ (bad-whitespace)
C:334, 0: Exactly one space required after comma
def setPulseTrain(self,Pon,Pdelay,Poff,DelayAcq,Acq):
^ (bad-whitespace)
W:335, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:336, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:337, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:338, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:339, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:340, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:341, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:350, 0: Exactly one space required after comma
def MetaDataImg(Modules,Experiment,Category,Description):
^ (bad-whitespace)
C:350, 0: Exactly one space required after comma
def MetaDataImg(Modules,Experiment,Category,Description):
^ (bad-whitespace)
C:350, 0: Exactly one space required after comma
def MetaDataImg(Modules,Experiment,Category,Description):
^ (bad-whitespace)
C:353, 0: No space allowed after bracket
for filename in [f for f in filenames if ( f.endswith(".jpg") or f.endswith(".png") )]:
^ (bad-whitespace)
C:353, 0: No space allowed before bracket
for filename in [f for f in filenames if ( f.endswith(".jpg") or f.endswith(".png") )]:
^ (bad-whitespace)
C:354, 0: No space allowed after bracket
Imgs.append( os.path.join(dirpath, filename) )
^ (bad-whitespace)
C:354, 0: No space allowed before bracket
Imgs.append( os.path.join(dirpath, filename) )
^ (bad-whitespace)
C:371, 0: Trailing whitespace (trailing-whitespace)
C:374, 0: Exactly one space required after comma
def TagImage(FileName,Modules,Experiment,Category,Description):
^ (bad-whitespace)
C:374, 0: Exactly one space required after comma
def TagImage(FileName,Modules,Experiment,Category,Description):
^ (bad-whitespace)
C:374, 0: Exactly one space required after comma
def TagImage(FileName,Modules,Experiment,Category,Description):
^ (bad-whitespace)
C:374, 0: Exactly one space required after comma
def TagImage(FileName,Modules,Experiment,Category,Description):
^ (bad-whitespace)
W:376, 0: Bad indentation. Found 8 spaces, expected 4 (bad-indentation)
W:377, 0: Bad indentation. Found 8 spaces, expected 4 (bad-indentation)
W:378, 0: Bad indentation. Found 12 spaces, expected 8 (bad-indentation)
W:379, 0: Bad indentation. Found 8 spaces, expected 4 (bad-indentation)
W:380, 0: Bad indentation. Found 12 spaces, expected 8 (bad-indentation)
W:381, 0: Bad indentation. Found 8 spaces, expected 4 (bad-indentation)
W:382, 0: Bad indentation. Found 12 spaces, expected 8 (bad-indentation)
W:383, 0: Bad indentation. Found 12 spaces, expected 8 (bad-indentation)
W:384, 0: Bad indentation. Found 12 spaces, expected 8 (bad-indentation)
W:385, 0: Bad indentation. Found 12 spaces, expected 8 (bad-indentation)
W:386, 0: Bad indentation. Found 12 spaces, expected 8 (bad-indentation)
W:387, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:390, 0: Trailing whitespace (trailing-whitespace)
C:394, 0: Trailing whitespace (trailing-whitespace)
C:395, 0: Trailing whitespace (trailing-whitespace)
C:396, 0: Trailing whitespace (trailing-whitespace)
C:398, 0: Exactly one space required before assignment
EnvHil= []
^ (bad-whitespace)
C:403, 0: Trailing whitespace (trailing-whitespace)
C:407, 0: Exactly one space required before assignment
t= []
^ (bad-whitespace)
C:413, 0: Exactly one space required before assignment
len_line= 0
^ (bad-whitespace)
C:418, 0: Exactly one space required after assignment
iD = 0
^ (bad-whitespace)
C:420, 0: Trailing whitespace (trailing-whitespace)
C:421, 0: Exactly one space required after comma
def JSONprocessing(self,path):
^ (bad-whitespace)
C:426, 0: Trailing whitespace (trailing-whitespace)
C:427, 0: Trailing whitespace (trailing-whitespace)
C:432, 0: Trailing whitespace (trailing-whitespace)
C:435, 0: Trailing whitespace (trailing-whitespace)
C:436, 0: Trailing whitespace (trailing-whitespace)
C:437, 0: Trailing whitespace (trailing-whitespace)
C:443, 0: No space allowed before bracket
IDLine.append(((A[2*i+0]&0b11110000)/16 -8 ) /2 ) # Identify the # of the line
^ (bad-whitespace)
C:443, 0: No space allowed before bracket
IDLine.append(((A[2*i+0]&0b11110000)/16 -8 ) /2 ) # Identify the # of the line
^ (bad-whitespace)
C:444, 0: No space allowed after bracket
TT1.append( (A[2*i+0] & 0b00001000) / 0b1000)
^ (bad-whitespace)
C:445, 0: No space allowed after bracket
TT2.append( (A[2*i+0] & 0b00010000) / 0b10000)
^ (bad-whitespace)
C:446, 0: Trailing whitespace (trailing-whitespace)
C:446, 0: No space allowed after bracket
tmp.append( 2.0*value/512.0 )
^ (bad-whitespace)
C:446, 0: No space allowed before bracket
tmp.append( 2.0*value/512.0 )
^ (bad-whitespace)
C:450, 0: No space allowed before bracket
IDLine.append(((A[2*i+1]&0b11110000)/16 -8) /2 ) # Identify the # of the line
^ (bad-whitespace)
C:451, 0: No space allowed after bracket
TT1.append( (A[2*i+1] & 0b00001000) / 0b1000)
^ (bad-whitespace)
C:452, 0: No space allowed after bracket
TT2.append( (A[2*i+1] & 0b00010000) / 0b10000)
^ (bad-whitespace)
C:453, 0: No space allowed after bracket
tmp.append( 2.0*value/512.0 )
^ (bad-whitespace)
C:453, 0: No space allowed before bracket
tmp.append( 2.0*value/512.0 )
^ (bad-whitespace)
C:457, 0: No space allowed after bracket
self.f = float(64/((1.0+int( d["registers"]["237"] ) )))
^ (bad-whitespace)
C:457, 0: No space allowed before bracket
self.f = float(64/((1.0+int( d["registers"]["237"] ) )))
^ (bad-whitespace)
C:457, 0: No space allowed before bracket
self.f = float(64/((1.0+int( d["registers"]["237"] ) )))
^ (bad-whitespace)
C:458, 0: Trailing whitespace (trailing-whitespace)
C:459, 0: No space allowed after bracket
t = [ 1.0*x/self.f + self.timings['t4'] for x in range(len(tmp))]
^ (bad-whitespace)
C:461, 0: Trailing whitespace (trailing-whitespace)
C:466, 0: Trailing whitespace (trailing-whitespace)
C:479, 0: Trailing whitespace (trailing-whitespace)
W:487, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:488, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:489, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:490, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:491, 0: Trailing whitespace (trailing-whitespace)
C:505, 0: Trailing whitespace (trailing-whitespace)
C:506, 0: Trailing whitespace (trailing-whitespace)
W:508, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:509, 0: Trailing whitespace (trailing-whitespace)
W:509, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:509, 0: No space allowed after bracket
self.FFT_x = [ X*self.f / (self.LengthT) for X in range(self.LengthT)]
^ (bad-whitespace)
W:510, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:511, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:513, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:513, 0: No space allowed before bracket
for k in range (self.LengthT/2 + 1):
^ (bad-whitespace)
W:514, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:515, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:516, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:517, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:518, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:519, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:520, 0: Trailing whitespace (trailing-whitespace)
W:521, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:524, 0: Exactly one space required after comma
plt.figure(figsize=(15,5))
^ (bad-whitespace)
C:525, 0: Trailing whitespace (trailing-whitespace)
C:526, 0: Trailing whitespace (trailing-whitespace)
C:526, 0: Line too long (101/100) (line-too-long)
C:527, 0: No space allowed after bracket
plt.title( "FFT of "+self.iD + " - acq. #: "+ str(self.N))
^ (bad-whitespace)
C:528, 0: Trailing whitespace (trailing-whitespace)
C:532, 0: Trailing whitespace (trailing-whitespace)
C:533, 0: Line too long (128/100) (line-too-long)
C:533, 0: Exactly one space required after comma
self.TagImage("matty,cletus",self.iD,"FFT","FFT of the of "+self.iD +" experiment. "+self.experiment["description"])
^ (bad-whitespace)
C:533, 0: Exactly one space required after comma
self.TagImage("matty,cletus",self.iD,"FFT","FFT of the of "+self.iD +" experiment. "+self.experiment["description"])
^ (bad-whitespace)
C:533, 0: Exactly one space required after comma
self.TagImage("matty,cletus",self.iD,"FFT","FFT of the of "+self.iD +" experiment. "+self.experiment["description"])
^ (bad-whitespace)
C:535, 0: Trailing whitespace (trailing-whitespace)
C:536, 0: Trailing whitespace (trailing-whitespace)
C:539, 0: Exactly one space required after comma
fig, ax1 = plt.subplots(figsize=(20,10))
^ (bad-whitespace)
C:540, 0: Trailing whitespace (trailing-whitespace)
C:543, 0: No space allowed after bracket
plt.title( self.iD + " - acq. #: "+ str(self.N))
^ (bad-whitespace)
C:550, 0: Trailing whitespace (trailing-whitespace)
C:551, 0: Line too long (126/100) (line-too-long)
C:553, 0: Exactly one space required after comma
def TagImage(self,Module,ID,Type,Description):
^ (bad-whitespace)
C:553, 0: Exactly one space required after comma
def TagImage(self,Module,ID,Type,Description):
^ (bad-whitespace)
C:553, 0: Exactly one space required after comma
def TagImage(self,Module,ID,Type,Description):
^ (bad-whitespace)
C:553, 0: Exactly one space required after comma
def TagImage(self,Module,ID,Type,Description):
^ (bad-whitespace)
W:555, 0: Bad indentation. Found 12 spaces, expected 8 (bad-indentation)
W:556, 0: Bad indentation. Found 12 spaces, expected 8 (bad-indentation)
W:557, 0: Bad indentation. Found 12 spaces, expected 8 (bad-indentation)
W:558, 0: Bad indentation. Found 16 spaces, expected 12 (bad-indentation)
W:559, 0: Bad indentation. Found 12 spaces, expected 8 (bad-indentation)
W:560, 0: Bad indentation. Found 16 spaces, expected 12 (bad-indentation)
C:561, 0: Trailing whitespace (trailing-whitespace)
W:561, 0: Bad indentation. Found 12 spaces, expected 8 (bad-indentation)
W:562, 0: Bad indentation. Found 16 spaces, expected 12 (bad-indentation)
W:563, 0: Bad indentation. Found 16 spaces, expected 12 (bad-indentation)
C:564, 0: Trailing whitespace (trailing-whitespace)
W:564, 0: Bad indentation. Found 16 spaces, expected 12 (bad-indentation)
C:565, 0: Trailing whitespace (trailing-whitespace)
W:565, 0: Bad indentation. Found 16 spaces, expected 12 (bad-indentation)
W:566, 0: Bad indentation. Found 16 spaces, expected 12 (bad-indentation)
C:567, 0: Trailing whitespace (trailing-whitespace)
C:576, 0: Exactly one space required after assignment
lineindex = self.IDLine[k]
^ (bad-whitespace)
C:580, 0: Trailing whitespace (trailing-whitespace)
C:581, 0: Trailing whitespace (trailing-whitespace)
C:585, 0: Trailing whitespace (trailing-whitespace)
C:586, 0: Exactly one space required after comma
CleanImage = np.zeros((len(y),len(self.tmp)/len(y)))
^ (bad-whitespace)
C:589, 0: Trailing whitespace (trailing-whitespace)
C:593, 0: Trailing whitespace (trailing-whitespace)
C:594, 0: Exactly one space required after comma
CleanImage = CleanImage[:,:int(Duration*self.f)]
^ (bad-whitespace)
C:595, 0: No space allowed around keyword argument assignment
plt.figure(figsize = (15,10))
^ (bad-whitespace)
C:595, 0: Exactly one space required after comma
plt.figure(figsize = (15,10))
^ (bad-whitespace)
C:596, 0: Trailing whitespace (trailing-whitespace)
C:596, 0: Line too long (124/100) (line-too-long)
C:597, 0: Trailing whitespace (trailing-whitespace)
C:598, 0: Line too long (132/100) (line-too-long)
C:598, 0: Exactly one space required before assignment
Title = "Experiment: " +self.iD+"-"+str(self.N)+"\nDuration: "+str(Duration)+"us ("+str(self.parameters['LengthAcq'])+" - "
^ (bad-whitespace)
C:602, 0: Line too long (129/100) (line-too-long)
C:603, 0: Line too long (115/100) (line-too-long)
C:605, 0: Trailing whitespace (trailing-whitespace)
C:606, 0: No space allowed after bracket
plt.title( Title )
^ (bad-whitespace)
C:606, 0: No space allowed before bracket
plt.title( Title )
^ (bad-whitespace)
C:607, 0: Trailing whitespace (trailing-whitespace)
C:611, 0: Exactly one space required after comma
TagImage(FileName,"matty,"+self.piezo,self.iD,"BC",Title.replace("\n",". "))
^ (bad-whitespace)
C:611, 0: Exactly one space required after comma
TagImage(FileName,"matty,"+self.piezo,self.iD,"BC",Title.replace("\n",". "))
^ (bad-whitespace)
C:611, 0: Exactly one space required after comma
TagImage(FileName,"matty,"+self.piezo,self.iD,"BC",Title.replace("\n",". "))
^ (bad-whitespace)
C:611, 0: Exactly one space required after comma
TagImage(FileName,"matty,"+self.piezo,self.iD,"BC",Title.replace("\n",". "))
^ (bad-whitespace)
C:611, 0: Exactly one space required after comma
TagImage(FileName,"matty,"+self.piezo,self.iD,"BC",Title.replace("\n",". "))
^ (bad-whitespace)
C:612, 0: Trailing whitespace (trailing-whitespace)
C:615, 0: Trailing whitespace (trailing-whitespace)
C:621, 0: Exactly one space required after comma
def PlotDetail(self,NbLine,Start,Stop):
^ (bad-whitespace)
C:621, 0: Exactly one space required after comma
def PlotDetail(self,NbLine,Start,Stop):
^ (bad-whitespace)
C:621, 0: Exactly one space required after comma
def PlotDetail(self,NbLine,Start,Stop):
^ (bad-whitespace)
W:623, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:624, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:626, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:626, 0: Exactly one space required after comma
plt.figure(figsize=(15,5))
^ (bad-whitespace)
C:627, 0: Trailing whitespace (trailing-whitespace)
C:627, 0: Line too long (178/100) (line-too-long)
W:627, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:628, 0: Trailing whitespace (trailing-whitespace)
C:628, 0: Line too long (181/100) (line-too-long)
W:628, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:630, 0: Line too long (132/100) (line-too-long)
W:630, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:630, 0: No space allowed after bracket
plt.title( "Detail of "+self.iD + " - acq. #: "+ str(self.N)+", between "+str(Start)+" and "+str(Stop)+" (line #"+str(NbLine)+").")
^ (bad-whitespace)
C:631, 0: Trailing whitespace (trailing-whitespace)
W:631, 0: Found indentation with tabs instead of spaces (mixed-indentation)
W:632, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:633, 0: Line too long (115/100) (line-too-long)
C:635, 0: Trailing whitespace (trailing-whitespace)
W:635, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:637, 0: Exactly one space required after comma
def mkSpectrum(self,img):
^ (bad-whitespace)
C:641, 0: Trailing whitespace (trailing-whitespace)
C:641, 0: No space allowed after bracket
FFT_x = [ X*self.f / (L) for X in range(L)]
^ (bad-whitespace)
C:646, 0: No space allowed around keyword argument assignment
plt.figure(figsize = (15,10))
^ (bad-whitespace)
C:646, 0: Exactly one space required after comma
plt.figure(figsize = (15,10))
^ (bad-whitespace)
C:647, 0: Trailing whitespace (trailing-whitespace)
C:647, 0: Line too long (130/100) (line-too-long)
C:647, 0: Exactly one space required after comma
plt.imshow(np.sqrt(np.abs(Spectrum)), extent=[0,1000.0*self.f/2,N,0],cmap='hsv', aspect=30.0, interpolation='nearest')
^ (bad-whitespace)
C:647, 0: Exactly one space required after comma
plt.imshow(np.sqrt(np.abs(Spectrum)), extent=[0,1000.0*self.f/2,N,0],cmap='hsv', aspect=30.0, interpolation='nearest')
^ (bad-whitespace)
C:647, 0: Exactly one space required after comma
plt.imshow(np.sqrt(np.abs(Spectrum)), extent=[0,1000.0*self.f/2,N,0],cmap='hsv', aspect=30.0, interpolation='nearest')
^ (bad-whitespace)
C:647, 0: Exactly one space required after comma
plt.imshow(np.sqrt(np.abs(Spectrum)), extent=[0,1000.0*self.f/2,N,0],cmap='hsv', aspect=30.0, interpolation='nearest')
^ (bad-whitespace)
C:648, 0: No space allowed before bracket
plt.axvline(x=(1000 * self.fPiezo * 1.27 ),linewidth=4, color='b')
^ (bad-whitespace)
C:648, 0: Exactly one space required after comma
plt.axvline(x=(1000 * self.fPiezo * 1.27 ),linewidth=4, color='b')
^ (bad-whitespace)
C:649, 0: No space allowed before bracket
plt.axvline(x=(1000 * self.fPiezo * 0.7 ),linewidth=4, color='b')
^ (bad-whitespace)
C:649, 0: Exactly one space required after comma
plt.axvline(x=(1000 * self.fPiezo * 0.7 ),linewidth=4, color='b')
^ (bad-whitespace)
C:652, 0: Trailing whitespace (trailing-whitespace)
C:653, 0: Exactly one space required before assignment
Title = "Experiment: " +self.iD+"-"+str(self.N)+"\nDuration: "+str(self.Duration)
^ (bad-whitespace)
C:658, 0: Line too long (138/100) (line-too-long)
C:659, 0: Line too long (119/100) (line-too-long)
C:661, 0: Trailing whitespace (trailing-whitespace)
C:661, 0: No space allowed after bracket
plt.title( Title )
^ (bad-whitespace)
C:661, 0: No space allowed before bracket
plt.title( Title )
^ (bad-whitespace)
C:665, 0: Exactly one space required after comma
TagImage(FileName,"matty,"+self.piezo,self.iD,"FFT",Title.replace("\n",". "))
^ (bad-whitespace)
C:665, 0: Exactly one space required after comma
TagImage(FileName,"matty,"+self.piezo,self.iD,"FFT",Title.replace("\n",". "))
^ (bad-whitespace)
C:665, 0: Exactly one space required after comma
TagImage(FileName,"matty,"+self.piezo,self.iD,"FFT",Title.replace("\n",". "))
^ (bad-whitespace)
C:665, 0: Exactly one space required after comma
TagImage(FileName,"matty,"+self.piezo,self.iD,"FFT",Title.replace("\n",". "))
^ (bad-whitespace)
C:665, 0: Exactly one space required after comma
TagImage(FileName,"matty,"+self.piezo,self.iD,"FFT",Title.replace("\n",". "))
^ (bad-whitespace)
W:678, 0: Found indentation with tabs instead of spaces (mixed-indentation)
C:679, 0: Trailing newlines (trailing-newlines)
C: 1, 0: Module name "pyUn0" doesn't conform to snake_case naming style (invalid-name)
C: 18, 0: Import "import spidev" should be placed at the top of the module (wrong-import-position)
C: 20, 0: Import "import json" should be placed at the top of the module (wrong-import-position)
C: 21, 0: Import "import time" should be placed at the top of the module (wrong-import-position)