You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sconstruct
+11Lines changed: 11 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -76,6 +76,17 @@ vars.Add(ListVariable("nvdaHelperDebugFlags", "a list of debugging features you
76
76
vars.Add(EnumVariable('nvdaHelperLogLevel','The level of logging you wish to see, lower is more verbose','15',allowed_values=[str(x) for x in range(60)]))
77
77
if "tests" in COMMAND_LINE_TARGETS:
78
78
vars.Add("unitTests", "A list of unit tests to run", "")
79
+
if "lint" in COMMAND_LINE_TARGETS:
80
+
vars.Add( # pass through variable that lint is requested
81
+
"doLint",
82
+
"internal use",
83
+
True
84
+
)
85
+
vars.Add(
86
+
"base",
87
+
"Lint is done only on a diff, specify the ref to use as base for the diff.",
88
+
None
89
+
)
79
90
if "systemTests" in COMMAND_LINE_TARGETS:
80
91
vars.Add("filter", "A filter for the name of the system test(s) to run. Wildcards accepted.", "")
print(inArg) # blah # noqa: E261 at least two spaces before inline comment
19
+
return5#blah# noqa: E262 inline comment should start with '# '
20
+
21
+
22
+
# ET126 (flake8-tabs) unexpected number of tabs at start of definition line (expected 2, got 3)
23
+
defthatFunc(
24
+
inArgOverIndented# noqa: ET126
25
+
) ->str:
26
+
# F405 'unknownArg' may be undefined, or defined from star imports: collections
27
+
# F821 undefined name 'unknownArg'
28
+
print(unknownArg) # noqa: F821, F405
29
+
return5
30
+
31
+
32
+
# ET126 (flake8-tabs) unexpected number of tabs at start of definition line (expected 2, got 3)
33
+
# F811 redefinition of unused 'thatFunc' from line 13
34
+
defthatFunc( # noqa: F811
35
+
inArgUnderIndented# noqa: ET126
36
+
) ->str:
37
+
pass
38
+
39
+
40
+
# ET126 (flake8-tabs) unexpected number of tabs at start of definition line (expected 2, got 3)
41
+
defanother(
42
+
argIndents,
43
+
dontMatch# noqa: ET126
44
+
) ->float:
45
+
somethingElse=6# noqa: F841 local variable 'somethingElse' is assigned to but never used
46
+
print(argIndents)
47
+
48
+
49
+
defextremlyLongFunctionName_blahblahblahblahblahblahblahblahblahblahblahlblahblahblahblahblahblahblahblahblahblahblahblahlblah(arg): # noqa: E501 line too long (133 > 110 characters)
50
+
raiseNotImplemented# noqa: F901 'raise NotImplemented' should be 'raise NotImplementedError'
0 commit comments