0 let checks = format!(
1 "--select={}",
2 [
3 "B006", // mutable-argument-default
4 "B008", // function-call-in-default-argument
5 "E101", // indentation contains mixed spaces and tabs
6 "E401", // multiple imports on one line
7 "E402", // module level import not at top of file
8 "E701", // multiple statements on one line (colon)
9 "E702", // multiple statements on one line (semicolon)
10 "E703", // statement ends with a semicolon
11 "E711", // comparison to None should be 'if cond is None:'
12 "E714", // test for object identity should be "is not"
13 "E721", // do not compare types, use "isinstance()"
14 "E722", // do not use bare 'except'
15 "E742", // do not define classes named "l", "O", or "I"
16 "E743", // do not define functions named "l", "O", or "I"
17 "E902", // TokenError: EOF in multi-line string
18 "F401", // module imported but unused
19 "F402", // import module from line N shadowed by loop variable
20 "F403", // 'from foo_module import *' used; unable to detect undefined names
21 "F404", // future import(s) name after other statements
22 "F405", // foo_function may be undefined, or defined from star imports: bar_module
23 "F406", // "from module import *" only allowed at module level
24 "F407", // an undefined __future__ feature name was imported
25 "F601", // dictionary key name repeated with different values
26 "F602", // dictionary key variable name repeated with different values
27 "F621", // too many expressions in an assignment with star-unpacking
28 "F622", // two or more starred expressions in an assignment (a, *b, *c = d)
29 "F631", // assertion test is a tuple, which are always True
30 "F632", // use ==/!= to compare str, bytes, and int literals
31 "F701", // a break statement outside of a while or for loop
32 "F702", // a continue statement outside of a while or for loop
33 "F704", // a yield or yield from statement outside of a function
34 "F706", // a return statement outside of a function/method
35 "F707", // an except: block as not the last exception handler
36 "F811", // redefinition of unused name from line N
37 "F821", // undefined name 'Foo'
38 "F822", // undefined name name in __all__
39 "F823", // local variable name … referenced before assignment
40 "F841", // local variable 'foo' is assigned to but never used
41 "W191", // indentation contains tabs
42 "W291", // trailing whitespace
43 "W292", // no newline at end of file
44 "W293", // blank line contains whitespace
45 "W605", // invalid escape sequence "x"
46 ]
47 .join(",")
48 );