Guest User

Log output while analysing git-p4.py with pylint

a guest
Jan 24th, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 96.05 KB | None | 0 0
  1. ************* Module git-p4
  2. W:3343, 0: TODO: should always look at previous commits, (fixme)
  3. W:3483, 0: FIXME - what's a P4 projectName ? (fixme)
  4. W:3496, 0: FIXME (fixme)
  5. W:3662, 0: TODO: use common prefix of args? (fixme)
  6. C: 64, 0: Exactly one space required after comma
  7. real_cmd += ["-u",user]
  8.  
  9. ^ (bad-whitespace)
  10. C: 90, 0: Exactly one space required after comma
  11. if isinstance(cmd,basestring):
  12.  
  13. ^ (bad-whitespace)
  14. C:132, 0: Line too long (121/100) (line-too-long)
  15. C:149, 0: Exactly one space required after comma
  16. expand = isinstance(c,basestring)
  17.  
  18. ^ (bad-whitespace)
  19. C:171, 0: Exactly one space required after comma
  20. expand = isinstance(c,basestring)
  21.  
  22. ^ (bad-whitespace)
  23. C:226, 0: Wrong continued indentation (remove 10 spaces).
  24. stderr=subprocess.PIPE)
  25.  
  26. | ^ (bad-continuation)
  27. C:250, 0: Exactly one space required after comma
  28. expand = isinstance(cmd,basestring)
  29.  
  30. ^ (bad-whitespace)
  31. C:447, 0: Exactly one space required after comma
  32. if isinstance(depotPaths,basestring):
  33.  
  34. ^ (bad-whitespace)
  35. C:514, 0: Exactly one space required after comma
  36. if isinstance(cmd,basestring):
  37.  
  38. ^ (bad-whitespace)
  39. C:531, 0: Exactly one space required after comma
  40. if isinstance(stdin,basestring):
  41.  
  42. ^ (bad-whitespace)
  43. W:570, 0: Unnecessary semicolon (unnecessary-semicolon)
  44. C:580, 0: Line too long (105/100) (line-too-long)
  45. C:618, 0: Wrong continued indentation (remove 1 space).
  46. ignore_error=True)
  47.  
  48. |^ (bad-continuation)
  49. W:627, 0: Bad indentation. Found 7 spaces, expected 8 (bad-indentation)
  50. W:628, 0: Bad indentation. Found 11 spaces, expected 12 (bad-indentation)
  51. W:629, 0: Bad indentation. Found 15 spaces, expected 16 (bad-indentation)
  52. W:630, 0: Bad indentation. Found 11 spaces, expected 12 (bad-indentation)
  53. W:632, 0: Bad indentation. Found 7 spaces, expected 8 (bad-indentation)
  54. C:639, 0: No space allowed before bracket
  55. m = re.search (r"^ *\[git-p4: (.*)\]$", line)
  56.  
  57. ^ (bad-whitespace)
  58. C:643, 0: No space allowed before bracket
  59. assignments = m.group(1).split (':')
  60.  
  61. ^ (bad-whitespace)
  62. C:645, 0: No space allowed before bracket
  63. vals = a.split ('=')
  64.  
  65. ^ (bad-whitespace)
  66. C:647, 0: No space allowed before bracket
  67. val = ('='.join (vals[1:])).strip()
  68.  
  69. ^ (bad-whitespace)
  70. C:648, 0: No space allowed before bracket
  71. if val.endswith ('\"') and val.startswith('"'):
  72.  
  73. ^ (bad-whitespace)
  74. W:662, 0: Unnecessary semicolon (unnecessary-semicolon)
  75. W:663, 0: Unnecessary semicolon (unnecessary-semicolon)
  76. C:669, 0: No space allowed after bracket
  77. cmd = [ "git", "config" ]
  78.  
  79. ^ (bad-whitespace)
  80. C:669, 0: No space allowed before bracket
  81. cmd = [ "git", "config" ]
  82.  
  83. ^ (bad-whitespace)
  84. C:671, 0: No space allowed after bracket
  85. cmd += [ typeSpecifier ]
  86.  
  87. ^ (bad-whitespace)
  88. C:671, 0: No space allowed before bracket
  89. cmd += [ typeSpecifier ]
  90.  
  91. ^ (bad-whitespace)
  92. C:672, 0: No space allowed after bracket
  93. cmd += [ key ]
  94.  
  95. ^ (bad-whitespace)
  96. C:672, 0: No space allowed before bracket
  97. cmd += [ key ]
  98.  
  99. ^ (bad-whitespace)
  100. C:688, 0: No space allowed after bracket
  101. cmd = [ "git", "config", "--int", key ]
  102.  
  103. ^ (bad-whitespace)
  104. C:688, 0: No space allowed before bracket
  105. cmd = [ "git", "config", "--int", key ]
  106.  
  107. ^ (bad-whitespace)
  108. C:740, 0: No space allowed after bracket
  109. cmd = [ "git", "rev-parse", "--symbolic", "--verify", branch ]
  110.  
  111. ^ (bad-whitespace)
  112. C:740, 0: No space allowed before bracket
  113. cmd = [ "git", "rev-parse", "--symbolic", "--verify", branch ]
  114.  
  115. ^ (bad-whitespace)
  116. C:748, 0: No space allowed around keyword argument assignment
  117. def findUpstreamBranchPoint(head = "HEAD"):
  118.  
  119. ^ (bad-whitespace)
  120. C:775, 0: No space allowed around keyword argument assignment
  121. def createOrUpdateBranchesFromOrigin(localRefPrefix = "refs/remotes/p4/", silent=True):
  122.  
  123. ^ (bad-whitespace)
  124. C:793, 0: Wrong continued indentation before block (add 4 spaces).
  125. or not original.has_key('change')):
  126.  
  127. ^ | (bad-continuation)
  128. C:823, 0: Line too long (111/100) (line-too-long)
  129. W:823, 0: Bad indentation. Found 8 spaces, expected 4 (bad-indentation)
  130. C:931, 0: No space allowed after bracket
  131. view_keys = [ k for k in entry.keys() if k.startswith("View") ]
  132.  
  133. ^ (bad-whitespace)
  134. C:931, 0: No space allowed before bracket
  135. view_keys = [ k for k in entry.keys() if k.startswith("View") ]
  136.  
  137. ^ (bad-whitespace)
  138. C:1028, 0: Line too long (105/100) (line-too-long)
  139. C:1067, 0: Line too long (104/100) (line-too-long)
  140. C:1081, 0: Line too long (101/100) (line-too-long)
  141. C:1153, 0: Wrong continued indentation (remove 3 spaces).
  142. for f in sorted(gitConfigList('git-p4.largeFileExtensions'))
  143.  
  144. | ^ (bad-continuation)
  145. C:1156, 0: Wrong continued indentation (remove 3 spaces).
  146. for f in sorted(self.largeFiles) if not self.hasLargeFileExtension(f)
  147.  
  148. | ^ (bad-continuation)
  149. W:1287, 0: Unnecessary semicolon (unnecessary-semicolon)
  150. C:1308, 0: No space allowed before bracket
  151. if len(p4Cmd("changes -m 1 " + ' '.join (['%s...@%s' % (p, maxChange)
  152.  
  153. ^ (bad-whitespace)
  154. C:1320, 0: Exactly one space required after assignment
  155. settings = extractSettingsGitLog(log)
  156.  
  157. ^ (bad-whitespace)
  158. C:1339, 0: Wrong hanging indentation (remove 4 spaces).
  159. optparse.make_option("--origin", dest="origin"),
  160.  
  161. | ^ (bad-continuation)
  162. C:1340, 0: Wrong hanging indentation (remove 4 spaces).
  163. optparse.make_option("-M", dest="detectRenames", action="store_true"),
  164.  
  165. | ^ (bad-continuation)
  166. C:1341, 0: Wrong hanging indentation (remove 4 spaces).
  167. # preserve the user, requires relevant p4 permissions
  168.  
  169. | ^ (bad-continuation)
  170. C:1342, 0: Wrong hanging indentation (remove 4 spaces).
  171. optparse.make_option("--preserve-user", dest="preserveUser", action="store_true"),
  172.  
  173. | ^ (bad-continuation)
  174. C:1343, 0: Wrong hanging indentation (remove 4 spaces).
  175. optparse.make_option("--export-labels", dest="exportLabels", action="store_true"),
  176.  
  177. | ^ (bad-continuation)
  178. C:1344, 0: Wrong hanging indentation (remove 4 spaces).
  179. optparse.make_option("--dry-run", "-n", dest="dry_run", action="store_true"),
  180.  
  181. | ^ (bad-continuation)
  182. C:1345, 0: Wrong hanging indentation (remove 4 spaces).
  183. optparse.make_option("--prepare-p4-only", dest="prepare_p4_only", action="store_true"),
  184.  
  185. | ^ (bad-continuation)
  186. C:1345, 0: Line too long (103/100) (line-too-long)
  187. C:1346, 0: Wrong hanging indentation (remove 4 spaces).
  188. optparse.make_option("--conflict", dest="conflict_behavior",
  189.  
  190. | ^ (bad-continuation)
  191. C:1348, 0: Wrong hanging indentation (remove 4 spaces).
  192. optparse.make_option("--branch", dest="branch"),
  193.  
  194. | ^ (bad-continuation)
  195. C:1349, 0: Wrong hanging indentation (remove 4 spaces).
  196. optparse.make_option("--shelve", dest="shelve", action="store_true",
  197.  
  198. | ^ (bad-continuation)
  199. C:1352, 0: Wrong hanging indentation (remove 4 spaces).
  200. optparse.make_option("--update-shelve", dest="update_shelve", action="append", type="int",
  201.  
  202. | ^ (bad-continuation)
  203. C:1352, 0: Line too long (106/100) (line-too-long)
  204. C:1354, 0: Line too long (101/100) (line-too-long)
  205. C:1355, 0: Wrong continued indentation.
  206. "repeat in-order for multiple shelved changelists")
  207.  
  208. | |^ (bad-continuation)
  209. C:1373, 0: Line too long (107/100) (line-too-long)
  210. C:1458, 0: Exactly one space required after comma
  211. def p4UserForCommit(self,id):
  212.  
  213. ^ (bad-whitespace)
  214. C:1465, 0: Exactly one space required after comma
  215. return (None,gitEmail)
  216.  
  217. ^ (bad-whitespace)
  218. C:1467, 0: Exactly one space required after comma
  219. return (self.emails[gitEmail],gitEmail)
  220.  
  221. ^ (bad-whitespace)
  222. C:1469, 0: Exactly one space required after comma
  223. def checkValidP4Users(self,commits):
  224.  
  225. ^ (bad-whitespace)
  226. C:1472, 0: Exactly one space required after comma
  227. (user,email) = self.p4UserForCommit(id)
  228.  
  229. ^ (bad-whitespace)
  230. C:1515, 0: Line too long (115/100) (line-too-long)
  231. C:1517, 0: Unnecessary parens after 'print' keyword (superfluous-parens)
  232. C:1630, 0: Line too long (108/100) (line-too-long)
  233. C:1639, 0: Unnecessary parens after 'del' keyword (superfluous-parens)
  234. C:1777, 0: Line too long (103/100) (line-too-long)
  235. C:1783, 0: Exactly one space required after comma
  236. print "zapping %s with %s" % (line,pattern)
  237.  
  238. ^ (bad-whitespace)
  239. W:1836, 0: Bad indentation. Found 11 spaces, expected 12 (bad-indentation)
  240. C:1930, 0: Unnecessary parens after 'print' keyword (superfluous-parens)
  241. C:1932, 0: Unnecessary parens after 'print' keyword (superfluous-parens)
  242. C:1990, 0: Exactly one space required before assignment
  243. labelTemplate = "Label: %s\n" % name
  244.  
  245. ^ (bad-whitespace)
  246. C:2008, 0: Line too long (101/100) (line-too-long)
  247. C:2079, 0: Line too long (101/100) (line-too-long)
  248. C:2106, 0: Line too long (109/100) (line-too-long)
  249. C:2211, 0: Unnecessary parens after 'print' keyword (superfluous-parens)
  250. C:2223, 0: Unnecessary parens after 'print' keyword (superfluous-parens)
  251. C:2225, 0: Unnecessary parens after 'print' keyword (superfluous-parens)
  252. C:2232, 0: Exactly one space required after comma
  253. "--format=format:%h %s", c])
  254.  
  255. ^ (bad-whitespace)
  256. W:2247, 0: Bad indentation. Found 16 spaces, expected 12 (bad-indentation)
  257. C:2333, 0: Line too long (103/100) (line-too-long)
  258. C:2353, 0: No space allowed after bracket
  259. die( "Error: %s is not found in client spec path" % depot_path )
  260.  
  261. ^ (bad-whitespace)
  262. C:2353, 0: No space allowed before bracket
  263. die( "Error: %s is not found in client spec path" % depot_path )
  264.  
  265. ^ (bad-whitespace)
  266. C:2357, 0: No space allowed after bracket
  267. delete_actions = ( "delete", "move/delete", "purge" )
  268.  
  269. ^ (bad-whitespace)
  270. C:2357, 0: No space allowed before bracket
  271. delete_actions = ( "delete", "move/delete", "purge" )
  272.  
  273. ^ (bad-whitespace)
  274. C:2363, 0: Wrong hanging indentation (remove 4 spaces).
  275. optparse.make_option("--branch", dest="branch"),
  276.  
  277. | ^ (bad-continuation)
  278. C:2364, 0: Wrong hanging indentation (remove 4 spaces).
  279. optparse.make_option("--detect-branches", dest="detectBranches", action="store_true"),
  280.  
  281. | ^ (bad-continuation)
  282. C:2364, 0: Line too long (102/100) (line-too-long)
  283. C:2365, 0: Wrong hanging indentation (remove 4 spaces).
  284. optparse.make_option("--changesfile", dest="changesFile"),
  285.  
  286. | ^ (bad-continuation)
  287. C:2366, 0: Wrong hanging indentation (remove 4 spaces).
  288. optparse.make_option("--silent", dest="silent", action="store_true"),
  289.  
  290. | ^ (bad-continuation)
  291. C:2367, 0: Wrong hanging indentation (remove 4 spaces).
  292. optparse.make_option("--detect-labels", dest="detectLabels", action="store_true"),
  293.  
  294. | ^ (bad-continuation)
  295. C:2368, 0: Wrong hanging indentation (remove 4 spaces).
  296. optparse.make_option("--import-labels", dest="importLabels", action="store_true"),
  297.  
  298. | ^ (bad-continuation)
  299. C:2369, 0: Wrong hanging indentation (remove 4 spaces).
  300. optparse.make_option("--import-local", dest="importIntoRemotes", action="store_false",
  301.  
  302. | ^ (bad-continuation)
  303. C:2369, 0: Line too long (102/100) (line-too-long)
  304. C:2371, 0: Wrong hanging indentation (remove 4 spaces).
  305. optparse.make_option("--max-changes", dest="maxChanges",
  306.  
  307. | ^ (bad-continuation)
  308. C:2373, 0: Wrong hanging indentation (remove 4 spaces).
  309. optparse.make_option("--changes-block-size", dest="changes_block_size", type="int",
  310.  
  311. | ^ (bad-continuation)
  312. C:2374, 0: Line too long (108/100) (line-too-long)
  313. C:2375, 0: Wrong hanging indentation (remove 4 spaces).
  314. optparse.make_option("--keep-path", dest="keepRepoPath", action='store_true',
  315.  
  316. | ^ (bad-continuation)
  317. C:2377, 0: Wrong hanging indentation (remove 4 spaces).
  318. optparse.make_option("--use-client-spec", dest="useClientSpec", action='store_true',
  319.  
  320. | ^ (bad-continuation)
  321. C:2378, 0: Line too long (107/100) (line-too-long)
  322. C:2379, 0: Wrong hanging indentation (remove 4 spaces).
  323. optparse.make_option("-/", dest="cloneExclude",
  324.  
  325. | ^ (bad-continuation)
  326. C:2418, 0: Line too long (102/100) (line-too-long)
  327. C:2438, 0: Exactly one space required after assignment
  328. path = commit["depotFile%s" % fnum]
  329.  
  330. ^ (bad-whitespace)
  331. C:2441, 0: Wrong continued indentation before block (add 4 spaces).
  332. if p4PathStartsWith(path, p)]:
  333.  
  334. ^ | (bad-continuation)
  335. C:2511, 0: Exactly one space required after assignment
  336. path = commit["depotFile%s" % fnum]
  337.  
  338. ^ (bad-whitespace)
  339. C:2559, 0: Line too long (106/100) (line-too-long)
  340. C:2607, 0: Line too long (110/100) (line-too-long)
  341. C:2616, 0: No space allowed after bracket
  342. contents = [ text ]
  343.  
  344. ^ (bad-whitespace)
  345. C:2616, 0: No space allowed before bracket
  346. contents = [ text ]
  347.  
  348. ^ (bad-whitespace)
  349. C:2638, 0: No space allowed after bracket
  350. contents = [ text ]
  351.  
  352. ^ (bad-whitespace)
  353. C:2638, 0: No space allowed before bracket
  354. contents = [ text ]
  355.  
  356. ^ (bad-whitespace)
  357. C:2709, 0: Wrong continued indentation before block (add 4 spaces).
  358. 'streamContentSize' in self.stream_file and
  359.  
  360. ^ | (bad-continuation)
  361. C:2710, 0: Wrong continued indentation before block (add 4 spaces).
  362. 'fileSize' in self.stream_file and
  363.  
  364. ^ | (bad-continuation)
  365. C:2711, 0: Wrong continued indentation before block (add 4 spaces).
  366. 'depotFile' in self.stream_file):
  367.  
  368. ^ | (bad-continuation)
  369. C:2715, 0: Line too long (118/100) (line-too-long)
  370. C:2787, 0: Exactly one space required after comma
  371. print "labelDetails=",labelDetails
  372.  
  373. ^ (bad-whitespace)
  374. C:2802, 0: Unnecessary parens after 'print' keyword (superfluous-parens)
  375. C:2809, 0: Wrong continued indentation (remove 3 spaces).
  376. if p4PathStartsWith(path, p)]
  377.  
  378. | ^ (bad-continuation)
  379. C:2811, 0: Unnecessary parens after 'print' keyword (superfluous-parens)
  380. C:2814, 0: No space allowed around keyword argument assignment
  381. def commit(self, details, files, branch, parent = ""):
  382.  
  383. ^ (bad-whitespace)
  384. C:2820, 0: Unnecessary parens after 'print' keyword (superfluous-parens)
  385. C:2826, 0: Wrong continued indentation (add 5 spaces).
  386. if self.inClientSpec(f['path']) and self.hasBranchPrefix(f['path'])]
  387.  
  388. ^ | (bad-continuation)
  389. C:2830, 0: Wrong continued indentation (add 2 spaces).
  390. .format(details['change']))
  391.  
  392. ^ | (bad-continuation)
  393. C:2871, 0: Wrong continued indentation (remove 5 spaces).
  394. for p in self.branchPrefixes])
  395.  
  396. | ^ (bad-continuation)
  397. C:2882, 0: Line too long (113/100) (line-too-long)
  398. C:2909, 0: Wrong continued indentation (remove 4 spaces).
  399. ["%s...@%s" % (p, label)
  400.  
  401. | ^ (bad-continuation)
  402. C:2910, 0: Wrong continued indentation (remove 3 spaces).
  403. for p in self.depotPaths]):
  404.  
  405. | ^ (bad-continuation)
  406. C:2940, 0: Exactly one space required after comma
  407. print "label %s does not match regexp %s" % (name,validLabelRegexp)
  408.  
  409. ^ (bad-whitespace)
  410. C:2950, 0: Wrong continued indentation (add 21 spaces).
  411. for p in self.depotPaths])
  412.  
  413. ^ | (bad-continuation)
  414. C:2960, 0: Wrong continued indentation (add 19 spaces).
  415. "--reverse", ":/\[git-p4:.*change = %d\]" % changelist], ignore_error=True)
  416.  
  417. ^ | (bad-continuation)
  418. C:2962, 0: Line too long (116/100) (line-too-long)
  419. W:2996, 0: Bad indentation. Found 15 spaces, expected 16 (bad-indentation)
  420. C:3015, 0: Line too long (101/100) (line-too-long)
  421. C:3020, 0: Line too long (118/100) (line-too-long)
  422. C:3026, 0: Line too long (120/100) (line-too-long)
  423. C:3027, 0: Line too long (140/100) (line-too-long)
  424. W:3125, 0: Unnecessary semicolon (unnecessary-semicolon)
  425. W:3126, 0: Unnecessary semicolon (unnecessary-semicolon)
  426. C:3140, 0: Line too long (120/100) (line-too-long)
  427. C:3172, 0: Line too long (103/100) (line-too-long)
  428. C:3182, 0: No space allowed after bracket
  429. self.branchPrefixes = [ branchPrefix ]
  430.  
  431. ^ (bad-whitespace)
  432. C:3182, 0: No space allowed before bracket
  433. self.branchPrefixes = [ branchPrefix ]
  434.  
  435. ^ (bad-whitespace)
  436. W:3202, 0: Unnecessary semicolon (unnecessary-semicolon)
  437. W:3207, 0: Unnecessary semicolon (unnecessary-semicolon)
  438. C:3216, 0: Line too long (110/100) (line-too-long)
  439. C:3235, 0: Line too long (109/100) (line-too-long)
  440. C:3248, 0: Line too long (120/100) (line-too-long)
  441. C:3258, 0: Exactly one space required after comma
  442. fileArgs = ["%s...%s" % (p,revision) for p in self.depotPaths]
  443.  
  444. ^ (bad-whitespace)
  445. W:3267, 0: Unnecessary semicolon (unnecessary-semicolon)
  446. C:3284, 0: No space allowed before bracket
  447. for prop in ["depotFile", "rev", "action", "type" ]:
  448.  
  449. ^ (bad-whitespace)
  450. C:3356, 0: No space allowed after bracket
  451. self.p4BranchesInGit = [ short ]
  452.  
  453. ^ (bad-whitespace)
  454. C:3356, 0: No space allowed before bracket
  455. self.p4BranchesInGit = [ short ]
  456.  
  457. ^ (bad-whitespace)
  458. C:3373, 0: Exactly one space required after assignment
  459. logMsg = extractLogMessageFromGitCommit(self.refPrefix + branch)
  460.  
  461. ^ (bad-whitespace)
  462. C:3379, 0: No space allowed before bracket
  463. and settings.has_key ('change')):
  464.  
  465. ^ (bad-whitespace)
  466. C:3379, 0: Wrong continued indentation before block (add 4 spaces).
  467. and settings.has_key ('change')):
  468.  
  469. ^ | (bad-continuation)
  470. C:3396, 0: No space allowed before bracket
  471. paths.append ("/".join(cur_list[:i + 1]))
  472.  
  473. ^ (bad-whitespace)
  474. C:3425, 0: No space allowed before bracket
  475. "This doesn't work!" % (' '.join (self.depotPaths),
  476.  
  477. ^ (bad-whitespace)
  478. C:3426, 0: No space allowed before bracket
  479. ' '.join (args)))
  480.  
  481. ^ (bad-whitespace)
  482. C:3466, 0: No space allowed before bracket
  483. p = re.sub ("\.\.\.$", "", p)
  484.  
  485. ^ (bad-whitespace)
  486. W:3480, 0: Unnecessary semicolon (unnecessary-semicolon)
  487. W:3505, 0: Unnecessary semicolon (unnecessary-semicolon)
  488. C:3530, 0: Line too long (102/100) (line-too-long)
  489. C:3546, 0: Line too long (103/100) (line-too-long)
  490. C:3613, 0: Wrong hanging indentation (remove 4 spaces).
  491. optparse.make_option("--import-labels", dest="importLabels", action="store_true"),
  492.  
  493. | ^ (bad-continuation)
  494. C:3628, 0: Line too long (228/100) (line-too-long)
  495. W:3628, 0: Unnecessary semicolon (unnecessary-semicolon)
  496. C:3630, 0: Line too long (119/100) (line-too-long)
  497. W:3630, 0: Unnecessary semicolon (unnecessary-semicolon)
  498. C:3699, 0: No space allowed after bracket
  499. init_cmd = [ "git", "init" ]
  500.  
  501. ^ (bad-whitespace)
  502. C:3699, 0: No space allowed before bracket
  503. init_cmd = [ "git", "init" ]
  504.  
  505. ^ (bad-whitespace)
  506. C:3711, 0: No space allowed after bracket
  507. system([ "git", "branch", "master", self.branch ])
  508.  
  509. ^ (bad-whitespace)
  510. C:3711, 0: No space allowed before bracket
  511. system([ "git", "branch", "master", self.branch ])
  512.  
  513. ^ (bad-whitespace)
  514. C:3713, 0: No space allowed after bracket
  515. system([ "git", "checkout", "-f" ])
  516.  
  517. ^ (bad-whitespace)
  518. C:3713, 0: No space allowed before bracket
  519. system([ "git", "checkout", "-f" ])
  520.  
  521. ^ (bad-whitespace)
  522. C:3727, 0: No space allowed after bracket
  523. self.options = [ ]
  524.  
  525. ^ (bad-whitespace)
  526. C:3727, 0: No space allowed before bracket
  527. self.options = [ ]
  528.  
  529. ^ (bad-whitespace)
  530. C:3808, 0: No space allowed around keyword argument assignment
  531. description = cmd.description,
  532.  
  533. ^ (bad-whitespace)
  534. C:3809, 0: No space allowed around keyword argument assignment
  535. formatter = HelpFormatter())
  536.  
  537. ^ (bad-whitespace)
  538. W:3811, 0: Unnecessary semicolon (unnecessary-semicolon)
  539. W:3823, 0: Unnecessary semicolon (unnecessary-semicolon)
  540. C: 1, 0: Too many lines in module (3840/1000) (too-many-lines)
  541. W:428, 0: Anomalous backslash in string: '\+'. String constant might be missing an r prefix. (anomalous-backslash-in-string)
  542. W:438, 0: Anomalous backslash in string: '\('. String constant might be missing an r prefix. (anomalous-backslash-in-string)
  543. W:438, 0: Anomalous backslash in string: '\)'. String constant might be missing an r prefix. (anomalous-backslash-in-string)
  544. W:438, 0: Anomalous backslash in string: '\*'. String constant might be missing an r prefix. (anomalous-backslash-in-string)
  545. W:438, 0: Anomalous backslash in string: '\*'. String constant might be missing an r prefix. (anomalous-backslash-in-string)
  546. W:467, 0: Anomalous backslash in string: '\d'. String constant might be missing an r prefix. (anomalous-backslash-in-string)
  547. W:467, 0: Anomalous backslash in string: '\d'. String constant might be missing an r prefix. (anomalous-backslash-in-string)
  548. W:467, 0: Anomalous backslash in string: '\w'. String constant might be missing an r prefix. (anomalous-backslash-in-string)
  549. W:467, 0: Anomalous backslash in string: '\w'. String constant might be missing an r prefix. (anomalous-backslash-in-string)
  550. W:467, 0: Anomalous backslash in string: '\d'. String constant might be missing an r prefix. (anomalous-backslash-in-string)
  551. W:2960, 0: Anomalous backslash in string: '\['. String constant might be missing an r prefix. (anomalous-backslash-in-string)
  552. W:2960, 0: Anomalous backslash in string: '\]'. String constant might be missing an r prefix. (anomalous-backslash-in-string)
  553. W:3466, 0: Anomalous backslash in string: '\.'. String constant might be missing an r prefix. (anomalous-backslash-in-string)
  554. W:3466, 0: Anomalous backslash in string: '\.'. String constant might be missing an r prefix. (anomalous-backslash-in-string)
  555. W:3466, 0: Anomalous backslash in string: '\.'. String constant might be missing an r prefix. (anomalous-backslash-in-string)
  556. C: 1, 0: Module name "git-p4" doesn't conform to snake_case naming style (invalid-name)
  557. C: 1, 0: Missing module docstring (missing-docstring)
  558. C: 15, 0: Import "import os" should be placed at the top of the module (wrong-import-position)
  559. C: 16, 0: Import "import optparse" should be placed at the top of the module (wrong-import-position)
  560. C: 17, 0: Import "import marshal" should be placed at the top of the module (wrong-import-position)
  561. C: 18, 0: Import "import subprocess" should be placed at the top of the module (wrong-import-position)
  562. C: 19, 0: Import "import tempfile" should be placed at the top of the module (wrong-import-position)
  563. C: 20, 0: Import "import time" should be placed at the top of the module (wrong-import-position)
  564. C: 21, 0: Import "import platform" should be placed at the top of the module (wrong-import-position)
  565. C: 22, 0: Import "import re" should be placed at the top of the module (wrong-import-position)
  566. C: 23, 0: Import "import shutil" should be placed at the top of the module (wrong-import-position)
  567. C: 24, 0: Import "import stat" should be placed at the top of the module (wrong-import-position)
  568. C: 25, 0: Import "import zipfile" should be placed at the top of the module (wrong-import-position)
  569. C: 26, 0: Import "import zlib" should be placed at the top of the module (wrong-import-position)
  570. C: 27, 0: Import "import ctypes" should be placed at the top of the module (wrong-import-position)
  571. C: 28, 0: Import "import errno" should be placed at the top of the module (wrong-import-position)
  572. W: 39, 8: __init__ method from base class 'Exception' is not called (super-init-not-called)
  573. C: 45, 0: Constant name "verbose" doesn't conform to UPPER_CASE naming style (invalid-name)
  574. C: 48, 0: Constant name "defaultLabelRegexp" doesn't conform to UPPER_CASE naming style (invalid-name)
  575. C: 51, 0: Constant name "defaultBlockSize" doesn't conform to UPPER_CASE naming style (invalid-name)
  576. C: 63, 7: Do not use `len(SEQUENCE)` to determine if a sequence is empty (len-as-condition)
  577. C: 67, 7: Do not use `len(SEQUENCE)` to determine if a sequence is empty (len-as-condition)
  578. C: 71, 7: Do not use `len(SEQUENCE)` to determine if a sequence is empty (len-as-condition)
  579. C: 75, 7: Do not use `len(SEQUENCE)` to determine if a sequence is empty (len-as-condition)
  580. C: 79, 7: Do not use `len(SEQUENCE)` to determine if a sequence is empty (len-as-condition)
  581. C:100, 4: Variable name "d" doesn't conform to snake_case naming style (invalid-name)
  582. R:101, 4: Unnecessary "else" after "return" (no-else-return)
  583. C:101,16: Do not use `len(SEQUENCE)` to determine if a sequence is empty (len-as-condition)
  584. C:128, 0: Function name "calcDiskFree" doesn't conform to snake_case naming style (invalid-name)
  585. R:130, 4: Unnecessary "else" after "return" (no-else-return)
  586. C:135, 8: Variable name "st" doesn't conform to snake_case naming style (invalid-name)
  587. E:135,13: Module 'os' has no 'statvfs' member (no-member)
  588. C:138, 0: Missing function docstring (missing-docstring)
  589. C:145, 0: Argument name "c" doesn't conform to snake_case naming style (invalid-name)
  590. C:145, 0: Missing function docstring (missing-docstring)
  591. C:150, 4: Variable name "p" doesn't conform to snake_case naming style (invalid-name)
  592. C:159, 0: Argument name "c" doesn't conform to snake_case naming style (invalid-name)
  593. C:159, 0: Missing function docstring (missing-docstring)
  594. C:163, 0: Argument name "c" doesn't conform to snake_case naming style (invalid-name)
  595. C:172, 4: Variable name "p" doesn't conform to snake_case naming style (invalid-name)
  596. C:176, 0: Argument name "c" doesn't conform to snake_case naming style (invalid-name)
  597. C:189, 0: Argument name "c" doesn't conform to snake_case naming style (invalid-name)
  598. R:194, 4: Unnecessary "else" after "return" (no-else-return)
  599. W:193,19: Unused variable 'err' (unused-variable)
  600. C:199, 0: Argument name "c" doesn't conform to snake_case naming style (invalid-name)
  601. C:199, 0: Missing function docstring (missing-docstring)
  602. C:203, 0: Argument name "c" doesn't conform to snake_case naming style (invalid-name)
  603. C:203, 0: Missing function docstring (missing-docstring)
  604. C:208, 4: Variable name "p" doesn't conform to snake_case naming style (invalid-name)
  605. C:216, 0: Argument name "c" doesn't conform to snake_case naming style (invalid-name)
  606. C:225, 4: Variable name "p" doesn't conform to snake_case naming style (invalid-name)
  607. C:239, 4: Variable name "p" doesn't conform to snake_case naming style (invalid-name)
  608. W:240, 5: Unused variable 'out' (unused-variable)
  609. C:249, 0: Missing function docstring (missing-docstring)
  610. C:267, 0: Constant name "_p4_version_string" doesn't conform to UPPER_CASE naming style (invalid-name)
  611. W:277, 4: Using the global statement (global-statement)
  612. C:277, 4: Constant name "_p4_version_string" doesn't conform to UPPER_CASE naming style (invalid-name)
  613. C:279, 8: Variable name "a" doesn't conform to snake_case naming style (invalid-name)
  614. C:283, 0: Missing function docstring (missing-docstring)
  615. C:286, 0: Argument name "f" doesn't conform to snake_case naming style (invalid-name)
  616. C:286, 0: Missing function docstring (missing-docstring)
  617. C:289, 0: Argument name "f" doesn't conform to snake_case naming style (invalid-name)
  618. C:289, 0: Missing function docstring (missing-docstring)
  619. C:296, 0: Argument name "f" doesn't conform to snake_case naming style (invalid-name)
  620. C:296, 0: Missing function docstring (missing-docstring)
  621. C:299, 0: Argument name "f" doesn't conform to snake_case naming style (invalid-name)
  622. C:299, 0: Missing function docstring (missing-docstring)
  623. C:302, 0: Argument name "f" doesn't conform to snake_case naming style (invalid-name)
  624. C:302, 0: Missing function docstring (missing-docstring)
  625. W:305,14: Redefining built-in 'type' (redefined-builtin)
  626. C:305, 0: Argument name "f" doesn't conform to snake_case naming style (invalid-name)
  627. C:305, 0: Missing function docstring (missing-docstring)
  628. C:308, 0: Missing function docstring (missing-docstring)
  629. C:312, 0: Missing function docstring (missing-docstring)
  630. C:315, 0: Missing function docstring (missing-docstring)
  631. C:324, 4: Variable name "ds" doesn't conform to snake_case naming style (invalid-name)
  632. C:328, 4: Variable name "d" doesn't conform to snake_case naming style (invalid-name)
  633. C:347, 0: Missing function docstring (missing-docstring)
  634. C:370, 4: Variable name "s" doesn't conform to snake_case naming style (invalid-name)
  635. C:380, 0: Argument name "f" doesn't conform to snake_case naming style (invalid-name)
  636. C:380, 0: Missing function docstring (missing-docstring)
  637. C:388, 0: Missing function docstring (missing-docstring)
  638. W:412,32: Redefining built-in 'file' (redefined-builtin)
  639. C:412, 0: Missing function docstring (missing-docstring)
  640. R:413, 4: Unnecessary "else" after "return" (no-else-return)
  641. W:419,17: Redefining built-in 'file' (redefined-builtin)
  642. C:419, 0: Function name "setP4ExecBit" doesn't conform to snake_case naming style (invalid-name)
  643. C:419, 0: Missing function docstring (missing-docstring)
  644. C:423, 4: Variable name "p4Type" doesn't conform to snake_case naming style (invalid-name)
  645. C:426, 8: Variable name "p4Type" doesn't conform to snake_case naming style (invalid-name)
  646. C:427, 8: Variable name "p4Type" doesn't conform to snake_case naming style (invalid-name)
  647. C:428, 8: Variable name "p4Type" doesn't conform to snake_case naming style (invalid-name)
  648. C:430,12: Variable name "p4Type" doesn't conform to snake_case naming style (invalid-name)
  649. W:434,20: Redefining built-in 'file' (redefined-builtin)
  650. C:434, 0: Function name "getP4OpenedType" doesn't conform to snake_case naming style (invalid-name)
  651. C:434, 0: Missing function docstring (missing-docstring)
  652. R:434, 0: Either all return statements in a function should return an expression, or none of them should. (inconsistent-return-statements)
  653. C:445, 0: Function name "getP4Labels" doesn't conform to snake_case naming style (invalid-name)
  654. C:445, 0: Argument name "depotPaths" doesn't conform to snake_case naming style (invalid-name)
  655. C:445, 0: Missing function docstring (missing-docstring)
  656. C:450, 8: Variable name "l" doesn't conform to snake_case naming style (invalid-name)
  657. C:457, 0: Function name "getGitTags" doesn't conform to snake_case naming style (invalid-name)
  658. C:457, 0: Missing function docstring (missing-docstring)
  659. C:458, 4: Variable name "gitTags" doesn't conform to snake_case naming style (invalid-name)
  660. C:464, 0: Function name "diffTreePattern" doesn't conform to snake_case naming style (invalid-name)
  661. C:464, 0: Missing function docstring (missing-docstring)
  662. C:471, 0: Function name "parseDiffTreeEntry" doesn't conform to snake_case naming style (invalid-name)
  663. C:504, 0: Function name "isModeExec" doesn't conform to snake_case naming style (invalid-name)
  664. C:504, 0: Missing function docstring (missing-docstring)
  665. C:509, 0: Function name "isModeExecChanged" doesn't conform to snake_case naming style (invalid-name)
  666. C:509, 0: Missing function docstring (missing-docstring)
  667. C:512, 0: Function name "p4CmdList" doesn't conform to snake_case naming style (invalid-name)
  668. C:512, 0: Argument name "cb" doesn't conform to snake_case naming style (invalid-name)
  669. C:512, 0: Missing function docstring (missing-docstring)
  670. C:539, 4: Variable name "p4" doesn't conform to snake_case naming style (invalid-name)
  671. C:557, 4: Variable name "exitCode" doesn't conform to snake_case naming style (invalid-name)
  672. R:512, 0: Too many branches (14/12) (too-many-branches)
  673. W:566, 4: Redefining built-in 'list' (redefined-builtin)
  674. C:565, 0: Function name "p4Cmd" doesn't conform to snake_case naming style (invalid-name)
  675. C:565, 0: Missing function docstring (missing-docstring)
  676. C:572, 0: Function name "p4Where" doesn't conform to snake_case naming style (invalid-name)
  677. C:572, 0: Argument name "depotPath" doesn't conform to snake_case naming style (invalid-name)
  678. C:572, 0: Missing function docstring (missing-docstring)
  679. C:575, 4: Variable name "depotPathLong" doesn't conform to snake_case naming style (invalid-name)
  680. C:576, 4: Variable name "outputList" doesn't conform to snake_case naming style (invalid-name)
  681. C:591, 7: Comparison to None should be 'expr is None' (singleton-comparison)
  682. C:595, 4: Variable name "clientPath" doesn't conform to snake_case naming style (invalid-name)
  683. C:597, 8: Variable name "clientPath" doesn't conform to snake_case naming style (invalid-name)
  684. C:600, 8: Variable name "lastSpace" doesn't conform to snake_case naming style (invalid-name)
  685. C:601, 8: Variable name "clientPath" doesn't conform to snake_case naming style (invalid-name)
  686. C:604, 8: Variable name "clientPath" doesn't conform to snake_case naming style (invalid-name)
  687. C:607, 0: Function name "currentGitBranch" doesn't conform to snake_case naming style (invalid-name)
  688. C:607, 0: Missing function docstring (missing-docstring)
  689. C:610, 0: Function name "isValidGitDir" doesn't conform to snake_case naming style (invalid-name)
  690. C:610, 0: Missing function docstring (missing-docstring)
  691. C:613, 0: Function name "parseRevision" doesn't conform to snake_case naming style (invalid-name)
  692. C:613, 0: Missing function docstring (missing-docstring)
  693. C:616, 0: Function name "branchExists" doesn't conform to snake_case naming style (invalid-name)
  694. C:616, 0: Missing function docstring (missing-docstring)
  695. C:621, 0: Function name "extractLogMessageFromGitCommit" doesn't conform to snake_case naming style (invalid-name)
  696. C:621, 0: Missing function docstring (missing-docstring)
  697. C:622, 4: Variable name "logMessage" doesn't conform to snake_case naming style (invalid-name)
  698. C:625, 4: Variable name "foundTitle" doesn't conform to snake_case naming style (invalid-name)
  699. C:629,15: Variable name "foundTitle" doesn't conform to snake_case naming style (invalid-name)
  700. C:632, 7: Variable name "logMessage" doesn't conform to snake_case naming style (invalid-name)
  701. C:635, 0: Function name "extractSettingsGitLog" doesn't conform to snake_case naming style (invalid-name)
  702. C:635, 0: Missing function docstring (missing-docstring)
  703. C:639, 8: Variable name "m" doesn't conform to snake_case naming style (invalid-name)
  704. C:644,12: Variable name "a" doesn't conform to snake_case naming style (invalid-name)
  705. C:660, 0: Function name "gitBranchExists" doesn't conform to snake_case naming style (invalid-name)
  706. C:660, 0: Missing function docstring (missing-docstring)
  707. C:665, 0: Constant name "_gitConfig" doesn't conform to UPPER_CASE naming style (invalid-name)
  708. C:667, 0: Function name "gitConfig" doesn't conform to snake_case naming style (invalid-name)
  709. C:667, 0: Argument name "typeSpecifier" doesn't conform to snake_case naming style (invalid-name)
  710. C:667, 0: Missing function docstring (missing-docstring)
  711. C:673, 8: Variable name "s" doesn't conform to snake_case naming style (invalid-name)
  712. C:677, 0: Function name "gitConfigBool" doesn't conform to snake_case naming style (invalid-name)
  713. C:686, 0: Function name "gitConfigInt" doesn't conform to snake_case naming style (invalid-name)
  714. C:686, 0: Missing function docstring (missing-docstring)
  715. C:689, 8: Variable name "s" doesn't conform to snake_case naming style (invalid-name)
  716. C:690, 8: Variable name "v" doesn't conform to snake_case naming style (invalid-name)
  717. W:690, 8: Unused variable 'v' (unused-variable)
  718. C:697, 0: Function name "gitConfigList" doesn't conform to snake_case naming style (invalid-name)
  719. C:697, 0: Missing function docstring (missing-docstring)
  720. C:699, 8: Variable name "s" doesn't conform to snake_case naming style (invalid-name)
  721. C:705, 0: Function name "p4BranchesInGit" doesn't conform to snake_case naming style (invalid-name)
  722. C:705, 0: Argument name "branchesAreInRemotes" doesn't conform to snake_case naming style (invalid-name)
  723. C:741, 4: Variable name "p" doesn't conform to snake_case naming style (invalid-name)
  724. C:748, 0: Function name "findUpstreamBranchPoint" doesn't conform to snake_case naming style (invalid-name)
  725. C:748, 0: Missing function docstring (missing-docstring)
  726. C:751, 4: Variable name "branchByDepotPath" doesn't conform to snake_case naming style (invalid-name)
  727. C:752,18: Consider iterating the dictionary directly instead of calling .keys() (consider-iterating-dictionary)
  728. C:775, 0: Function name "createOrUpdateBranchesFromOrigin" doesn't conform to snake_case naming style (invalid-name)
  729. C:775, 0: Argument name "localRefPrefix" doesn't conform to snake_case naming style (invalid-name)
  730. C:775, 0: Missing function docstring (missing-docstring)
  731. C:780, 4: Variable name "originPrefix" doesn't conform to snake_case naming style (invalid-name)
  732. C:787, 8: Variable name "headName" doesn't conform to snake_case naming style (invalid-name)
  733. C:788, 8: Variable name "remoteHead" doesn't conform to snake_case naming style (invalid-name)
  734. C:789, 8: Variable name "originHead" doesn't conform to snake_case naming style (invalid-name)
  735. C:805,20: Variable name "originP4Change" doesn't conform to snake_case naming style (invalid-name)
  736. C:806,20: Variable name "p4Change" doesn't conform to snake_case naming style (invalid-name)
  737. C:822, 0: Function name "originP4BranchesExist" doesn't conform to snake_case naming style (invalid-name)
  738. C:822, 0: Missing function docstring (missing-docstring)
  739. C:826, 0: Function name "p4ParseNumericChangeRange" doesn't conform to snake_case naming style (invalid-name)
  740. C:826, 0: Missing function docstring (missing-docstring)
  741. C:827, 4: Variable name "changeStart" doesn't conform to snake_case naming style (invalid-name)
  742. C:829, 8: Variable name "changeEnd" doesn't conform to snake_case naming style (invalid-name)
  743. C:831, 8: Variable name "changeEnd" doesn't conform to snake_case naming style (invalid-name)
  744. C:835, 0: Function name "chooseBlockSize" doesn't conform to snake_case naming style (invalid-name)
  745. C:835, 0: Argument name "blockSize" doesn't conform to snake_case naming style (invalid-name)
  746. C:835, 0: Missing function docstring (missing-docstring)
  747. R:836, 4: Unnecessary "else" after "return" (no-else-return)
  748. C:841, 0: Function name "p4ChangesForPaths" doesn't conform to snake_case naming style (invalid-name)
  749. C:841, 0: Argument name "depotPaths" doesn't conform to snake_case naming style (invalid-name)
  750. C:841, 0: Argument name "changeRange" doesn't conform to snake_case naming style (invalid-name)
  751. C:841, 0: Argument name "requestedBlockSize" doesn't conform to snake_case naming style (invalid-name)
  752. C:841, 0: Missing function docstring (missing-docstring)
  753. C:851, 8: Variable name "changeStart" doesn't conform to snake_case naming style (invalid-name)
  754. C:852, 8: Variable name "changeEnd" doesn't conform to snake_case naming style (invalid-name)
  755. W:860, 8: No exception type(s) specified (bare-except)
  756. C:858,13: Variable name "changeStart" doesn't conform to snake_case naming style (invalid-name)
  757. C:858,26: Variable name "changeEnd" doesn't conform to snake_case naming style (invalid-name)
  758. C:861,12: Variable name "changeStart" doesn't conform to snake_case naming style (invalid-name)
  759. C:862,12: Variable name "changeEnd" doesn't conform to snake_case naming style (invalid-name)
  760. C:877,12: Variable name "revisionRange" doesn't conform to snake_case naming style (invalid-name)
  761. C:879,12: Variable name "revisionRange" doesn't conform to snake_case naming style (invalid-name)
  762. C:881,12: Variable name "p" doesn't conform to snake_case naming style (invalid-name)
  763. C:898, 8: Variable name "changeStart" doesn't conform to snake_case naming style (invalid-name)
  764. R:841, 0: Too many branches (13/12) (too-many-branches)
  765. C:903, 0: Function name "p4PathStartsWith" doesn't conform to snake_case naming style (invalid-name)
  766. C:903, 0: Missing function docstring (missing-docstring)
  767. C:915, 0: Function name "getClientSpec" doesn't conform to snake_case naming style (invalid-name)
  768. C:919, 4: Variable name "specList" doesn't conform to snake_case naming style (invalid-name)
  769. C:945, 0: Function name "getClientRoot" doesn't conform to snake_case naming style (invalid-name)
  770. C:963, 0: Missing function docstring (missing-docstring)
  771. C:975, 0: Missing function docstring (missing-docstring)
  772. C:983, 0: Missing function docstring (missing-docstring)
  773. C:984, 4: Variable name "m" doesn't conform to snake_case naming style (invalid-name)
  774. C:991, 8: Attribute name "largeFiles" doesn't conform to snake_case naming style (invalid-name)
  775. C:992, 8: Attribute name "writeToGitStream" doesn't conform to snake_case naming style (invalid-name)
  776. C:994, 4: Method name "generatePointer" doesn't conform to snake_case naming style (invalid-name)
  777. C:994, 4: Argument name "cloneDestination" doesn't conform to snake_case naming style (invalid-name)
  778. C:994, 4: Argument name "contentFile" doesn't conform to snake_case naming style (invalid-name)
  779. W:994,48: Unused argument 'contentFile' (unused-argument)
  780. W:994,30: Unused argument 'cloneDestination' (unused-argument)
  781. C:999, 4: Method name "pushFile" doesn't conform to snake_case naming style (invalid-name)
  782. C:999, 4: Argument name "localLargeFile" doesn't conform to snake_case naming style (invalid-name)
  783. W:999,23: Unused argument 'localLargeFile' (unused-argument)
  784. C:1004, 4: Method name "hasLargeFileExtension" doesn't conform to snake_case naming style (invalid-name)
  785. C:1004, 4: Argument name "relPath" doesn't conform to snake_case naming style (invalid-name)
  786. C:1004, 4: Missing method docstring (missing-docstring)
  787. R:1004, 4: Method could be a function (no-self-use)
  788. C:1011, 4: Method name "generateTempFile" doesn't conform to snake_case naming style (invalid-name)
  789. C:1011, 4: Missing method docstring (missing-docstring)
  790. C:1012, 8: Variable name "contentFile" doesn't conform to snake_case naming style (invalid-name)
  791. C:1013,12: Variable name "d" doesn't conform to snake_case naming style (invalid-name)
  792. R:1011, 4: Method could be a function (no-self-use)
  793. C:1018, 4: Method name "exceedsLargeFileThreshold" doesn't conform to snake_case naming style (invalid-name)
  794. C:1018, 4: Argument name "relPath" doesn't conform to snake_case naming style (invalid-name)
  795. C:1018, 4: Missing method docstring (missing-docstring)
  796. C:1020,12: Variable name "contentsSize" doesn't conform to snake_case naming style (invalid-name)
  797. C:1024,12: Variable name "contentsSize" doesn't conform to snake_case naming style (invalid-name)
  798. C:1027,12: Variable name "contentTempFile" doesn't conform to snake_case naming style (invalid-name)
  799. C:1028,12: Variable name "compressedContentFile" doesn't conform to snake_case naming style (invalid-name)
  800. C:1029,12: Variable name "zf" doesn't conform to snake_case naming style (invalid-name)
  801. C:1032,12: Variable name "compressedContentsSize" doesn't conform to snake_case naming style (invalid-name)
  802. W:1018,40: Unused argument 'relPath' (unused-argument)
  803. C:1039, 4: Method name "addLargeFile" doesn't conform to snake_case naming style (invalid-name)
  804. C:1039, 4: Argument name "relPath" doesn't conform to snake_case naming style (invalid-name)
  805. C:1039, 4: Missing method docstring (missing-docstring)
  806. C:1042, 4: Method name "removeLargeFile" doesn't conform to snake_case naming style (invalid-name)
  807. C:1042, 4: Argument name "relPath" doesn't conform to snake_case naming style (invalid-name)
  808. C:1042, 4: Missing method docstring (missing-docstring)
  809. C:1045, 4: Method name "isLargeFile" doesn't conform to snake_case naming style (invalid-name)
  810. C:1045, 4: Argument name "relPath" doesn't conform to snake_case naming style (invalid-name)
  811. C:1045, 4: Missing method docstring (missing-docstring)
  812. C:1048, 4: Method name "processContent" doesn't conform to snake_case naming style (invalid-name)
  813. C:1048, 4: Argument name "relPath" doesn't conform to snake_case naming style (invalid-name)
  814. C:1053,12: Variable name "contentTempFile" doesn't conform to snake_case naming style (invalid-name)
  815. C:1054,41: Variable name "localLargeFile" doesn't conform to snake_case naming style (invalid-name)
  816. E:1054,59: No value for argument 'contentFile' in method call (no-value-for-parameter)
  817. C:1059,16: Variable name "largeFileDir" doesn't conform to snake_case naming style (invalid-name)
  818. W:1073, 4: Parameters differ from overridden 'generatePointer' method (arguments-differ)
  819. C:1077,39: Variable name "f" doesn't conform to snake_case naming style (invalid-name)
  820. C:1079,12: Variable name "gitMode" doesn't conform to snake_case naming style (invalid-name)
  821. C:1080,12: Variable name "pointerContents" doesn't conform to snake_case naming style (invalid-name)
  822. C:1081,12: Variable name "localLargeFile" doesn't conform to snake_case naming style (invalid-name)
  823. C:1088, 8: Variable name "remotePath" doesn't conform to snake_case naming style (invalid-name)
  824. C:1099, 8: Attribute name "baseGitAttributes" doesn't conform to snake_case naming style (invalid-name)
  825. W:1101, 4: Parameters differ from overridden 'generatePointer' method (arguments-differ)
  826. C:1110, 8: Variable name "pointerProcess" doesn't conform to snake_case naming style (invalid-name)
  827. C:1114, 8: Variable name "pointerFile" doesn't conform to snake_case naming style (invalid-name)
  828. C:1124,12: Variable name "pointerFile" doesn't conform to snake_case naming style (invalid-name)
  829. C:1127, 8: Variable name "localLargeFile" doesn't conform to snake_case naming style (invalid-name)
  830. C:1133, 8: Variable name "gitMode" doesn't conform to snake_case naming style (invalid-name)
  831. C:1137, 8: Variable name "uploadProcess" doesn't conform to snake_case naming style (invalid-name)
  832. C:1143, 4: Method name "generateGitAttributes" doesn't conform to snake_case naming style (invalid-name)
  833. C:1143, 4: Missing method docstring (missing-docstring)
  834. R:1169, 8: Unnecessary "else" after "return" (no-else-return)
  835. C:1178, 8: Attribute name "needsGit" doesn't conform to snake_case naming style (invalid-name)
  836. C:1175, 0: Missing class docstring (missing-docstring)
  837. C:1175, 0: Old-style class defined. (old-style-class)
  838. C:1182, 4: Missing method docstring (missing-docstring)
  839. R:1175, 0: Too few public methods (1/2) (too-few-public-methods)
  840. C:1190, 8: Attribute name "myP4UserId" doesn't conform to snake_case naming style (invalid-name)
  841. C:1189, 8: Attribute name "userMapFromPerforceServer" doesn't conform to snake_case naming style (invalid-name)
  842. C:1187, 0: Missing class docstring (missing-docstring)
  843. C:1187, 0: Old-style class defined. (old-style-class)
  844. C:1192, 4: Method name "p4UserId" doesn't conform to snake_case naming style (invalid-name)
  845. C:1192, 4: Missing method docstring (missing-docstring)
  846. C:1197,12: Variable name "r" doesn't conform to snake_case naming style (invalid-name)
  847. R:1192, 4: Either all return statements in a function should return an expression, or none of them should. (inconsistent-return-statements)
  848. C:1203, 4: Method name "p4UserIsMe" doesn't conform to snake_case naming style (invalid-name)
  849. C:1203, 4: Argument name "p4User" doesn't conform to snake_case naming style (invalid-name)
  850. C:1203, 4: Missing method docstring (missing-docstring)
  851. C:1205, 8: Variable name "me" doesn't conform to snake_case naming style (invalid-name)
  852. R:1206, 8: Unnecessary "else" after "return" (no-else-return)
  853. C:1211, 4: Method name "getUserCacheFilename" doesn't conform to snake_case naming style (invalid-name)
  854. C:1211, 4: Missing method docstring (missing-docstring)
  855. R:1211, 4: Method could be a function (no-self-use)
  856. C:1215, 4: Method name "getUserMapFromPerforceServer" doesn't conform to snake_case naming style (invalid-name)
  857. C:1215, 4: Missing method docstring (missing-docstring)
  858. C:1227, 8: Variable name "mapUserConfigRegex" doesn't conform to snake_case naming style (invalid-name)
  859. C:1228,12: Variable name "mapUserConfig" doesn't conform to snake_case naming style (invalid-name)
  860. C:1229,12: Variable name "mapUser" doesn't conform to snake_case naming style (invalid-name)
  861. C:1237, 8: Variable name "s" doesn't conform to snake_case naming style (invalid-name)
  862. C:1239,12: Variable name "s" doesn't conform to snake_case naming style (invalid-name)
  863. C:1244, 4: Method name "loadUserMapFromCache" doesn't conform to snake_case naming style (invalid-name)
  864. C:1244, 4: Missing method docstring (missing-docstring)
  865. W:1219, 8: Attribute 'emails' defined outside __init__ (attribute-defined-outside-init)
  866. W:1218, 8: Attribute 'users' defined outside __init__ (attribute-defined-outside-init)
  867. W:1245, 8: Attribute 'users' defined outside __init__ (attribute-defined-outside-init)
  868. C:1257, 0: Missing class docstring (missing-docstring)
  869. C:1264, 4: Missing method docstring (missing-docstring)
  870. R:1264, 4: Method could be a function (no-self-use)
  871. C:1279, 8: Attribute name "rollbackLocalBranches" doesn't conform to snake_case naming style (invalid-name)
  872. C:1272, 0: Missing class docstring (missing-docstring)
  873. C:1281, 4: Missing method docstring (missing-docstring)
  874. C:1284, 8: Variable name "maxChange" doesn't conform to snake_case naming style (invalid-name)
  875. C:1290,12: Variable name "refPrefix" doesn't conform to snake_case naming style (invalid-name)
  876. C:1293,12: Variable name "refPrefix" doesn't conform to snake_case naming style (invalid-name)
  877. C:1303,16: Variable name "depotPaths" doesn't conform to snake_case naming style (invalid-name)
  878. C:1308,19: Do not use `len(SEQUENCE)` to determine if a sequence is empty (len-as-condition)
  879. C:1323,20: Variable name "depotPaths" doesn't conform to snake_case naming style (invalid-name)
  880. C:1360, 8: Attribute name "detectRenames" doesn't conform to snake_case naming style (invalid-name)
  881. C:1369, 8: Attribute name "p4HasMoveCommand" doesn't conform to snake_case naming style (invalid-name)
  882. C:2061, 8: Attribute name "useClientSpec" doesn't conform to snake_case naming style (invalid-name)
  883. C:1368, 8: Attribute name "exportLabels" doesn't conform to snake_case naming style (invalid-name)
  884. C:2111,12: Attribute name "checkAuthorship" doesn't conform to snake_case naming style (invalid-name)
  885. C:2080, 8: Attribute name "oldWorkingDirectory" doesn't conform to snake_case naming style (invalid-name)
  886. C:2124,12: Attribute name "diffOpts" doesn't conform to snake_case naming style (invalid-name)
  887. C:1361, 8: Attribute name "preserveUser" doesn't conform to snake_case naming style (invalid-name)
  888. C:2072,12: Attribute name "clientPath" doesn't conform to snake_case naming style (invalid-name)
  889. C:2033, 8: Attribute name "depotPath" doesn't conform to snake_case naming style (invalid-name)
  890. C:1367, 8: Attribute name "isWindows" doesn't conform to snake_case naming style (invalid-name)
  891. C:2065,12: Attribute name "clientSpecDirs" doesn't conform to snake_case naming style (invalid-name)
  892. C:1331, 0: Missing class docstring (missing-docstring)
  893. R:1331, 0: Too many instance attributes (23/7) (too-many-instance-attributes)
  894. C:1375, 4: Missing method docstring (missing-docstring)
  895. C:1376,11: Do not use `len(SEQUENCE)` to determine if a sequence is empty (len-as-condition)
  896. R:1375, 4: Method could be a function (no-self-use)
  897. C:1395, 8: Variable name "m" doesn't conform to snake_case naming style (invalid-name)
  898. R:1379, 4: Method could be a function (no-self-use)
  899. C:1403, 4: Method name "prepareLogMessage" doesn't conform to snake_case naming style (invalid-name)
  900. C:1409, 8: Variable name "inDescriptionSection" doesn't conform to snake_case naming style (invalid-name)
  901. C:1418,20: Variable name "inDescriptionSection" doesn't conform to snake_case naming style (invalid-name)
  902. C:1426,20: Variable name "inDescriptionSection" doesn't conform to snake_case naming style (invalid-name)
  903. C:1428,24: Variable name "messageLine" doesn't conform to snake_case naming style (invalid-name)
  904. R:1403, 4: Method could be a function (no-self-use)
  905. W:1435,31: Redefining built-in 'file' (redefined-builtin)
  906. C:1435, 4: Method name "patchRCSKeywords" doesn't conform to snake_case naming style (invalid-name)
  907. C:1435, 4: Missing method docstring (missing-docstring)
  908. C:1437,17: Variable name "outFileName" doesn't conform to snake_case naming style (invalid-name)
  909. C:1439,12: Variable name "outFile" doesn't conform to snake_case naming style (invalid-name)
  910. C:1440,12: Variable name "inFile" doesn't conform to snake_case naming style (invalid-name)
  911. R:1435, 4: Method could be a function (no-self-use)
  912. W:1458,29: Redefining built-in 'id' (redefined-builtin)
  913. C:1458, 4: Method name "p4UserForCommit" doesn't conform to snake_case naming style (invalid-name)
  914. C:1458, 4: Argument name "id" doesn't conform to snake_case naming style (invalid-name)
  915. C:1458, 4: Missing method docstring (missing-docstring)
  916. C:1461, 8: Variable name "gitEmail" doesn't conform to snake_case naming style (invalid-name)
  917. C:1463, 8: Variable name "gitEmail" doesn't conform to snake_case naming style (invalid-name)
  918. R:1464, 8: Unnecessary "else" after "return" (no-else-return)
  919. W:1471,12: Redefining built-in 'id' (redefined-builtin)
  920. C:1469, 4: Method name "checkValidP4Users" doesn't conform to snake_case naming style (invalid-name)
  921. C:1469, 4: Missing method docstring (missing-docstring)
  922. C:1471,12: Variable name "id" doesn't conform to snake_case naming style (invalid-name)
  923. C:1480, 4: Method name "lastP4Changelist" doesn't conform to snake_case naming style (invalid-name)
  924. C:1480, 4: Missing method docstring (missing-docstring)
  925. C:1487,12: Variable name "r" doesn't conform to snake_case naming style (invalid-name)
  926. C:1494,12: Variable name "r" doesn't conform to snake_case naming style (invalid-name)
  927. R:1480, 4: Either all return statements in a function should return an expression, or none of them should. (inconsistent-return-statements)
  928. R:1480, 4: Method could be a function (no-self-use)
  929. W:1509, 8: Redefining built-in 'input' (redefined-builtin)
  930. C:1499, 4: Method name "modifyChangelistUser" doesn't conform to snake_case naming style (invalid-name)
  931. C:1499, 4: Argument name "newUser" doesn't conform to snake_case naming style (invalid-name)
  932. C:1499, 4: Missing method docstring (missing-docstring)
  933. C:1506, 8: Variable name "c" doesn't conform to snake_case naming style (invalid-name)
  934. C:1507,33: More than one statement on a single line (multiple-statements)
  935. C:1512,12: Variable name "r" doesn't conform to snake_case naming style (invalid-name)
  936. R:1499, 4: Method could be a function (no-self-use)
  937. C:1521, 4: Method name "canChangeChangelists" doesn't conform to snake_case naming style (invalid-name)
  938. C:1521, 4: Missing method docstring (missing-docstring)
  939. C:1525,12: Variable name "r" doesn't conform to snake_case naming style (invalid-name)
  940. C:1533, 4: Method name "prepareSubmitTemplate" doesn't conform to snake_case naming style (invalid-name)
  941. C:1560, 8: Variable name "inFilesSection" doesn't conform to snake_case naming style (invalid-name)
  942. C:1594,11: Do not use `len(SEQUENCE)` to determine if a sequence is empty (len-as-condition)
  943. W:1541, 9: Unused variable 'upstream' (unused-variable)
  944. W:1560, 8: Unused variable 'inFilesSection' (unused-variable)
  945. R:1533, 4: Too many branches (16/12) (too-many-branches)
  946. R:1601, 4: Method could be a function (no-self-use)
  947. C:1636, 4: Argument name "editedFiles" doesn't conform to snake_case naming style (invalid-name)
  948. C:1636, 4: Argument name "filesToAdd" doesn't conform to snake_case naming style (invalid-name)
  949. C:1636, 4: Missing method docstring (missing-docstring)
  950. C:1641,12: Variable name "editedFile" doesn't conform to snake_case naming style (invalid-name)
  951. C:1647,12: Variable name "newFile" doesn't conform to snake_case naming style (invalid-name)
  952. E:1656,37: Module 'os' has no 'readlink' member (no-member)
  953. C:1658,16: Variable name "f" doesn't conform to snake_case naming style (invalid-name)
  954. R:1636, 4: Method could be a function (no-self-use)
  955. W:1764,16: Redefining built-in 'file' (redefined-builtin)
  956. W:1665,26: Redefining built-in 'id' (redefined-builtin)
  957. C:1665, 4: Method name "applyCommit" doesn't conform to snake_case naming style (invalid-name)
  958. C:1665, 4: Argument name "id" doesn't conform to snake_case naming style (invalid-name)
  959. R:1665, 4: Too many local variables (43/15) (too-many-locals)
  960. C:1671, 9: Variable name "p4User" doesn't conform to snake_case naming style (invalid-name)
  961. C:1671,17: Variable name "gitEmail" doesn't conform to snake_case naming style (invalid-name)
  962. C:1674, 8: Variable name "filesToAdd" doesn't conform to snake_case naming style (invalid-name)
  963. C:1675, 8: Variable name "filesToChangeType" doesn't conform to snake_case naming style (invalid-name)
  964. C:1676, 8: Variable name "filesToDelete" doesn't conform to snake_case naming style (invalid-name)
  965. C:1677, 8: Variable name "editedFiles" doesn't conform to snake_case naming style (invalid-name)
  966. C:1678, 8: Variable name "pureRenameCopy" doesn't conform to snake_case naming style (invalid-name)
  967. C:1680, 8: Variable name "filesToChangeExecBit" doesn't conform to snake_case naming style (invalid-name)
  968. C:1752, 8: Variable name "tryPatchCmd" doesn't conform to snake_case naming style (invalid-name)
  969. C:1753, 8: Variable name "applyPatchCmd" doesn't conform to snake_case naming style (invalid-name)
  970. R:1756, 8: Too many nested blocks (7/5) (too-many-nested-blocks)
  971. C:1797,16: Variable name "f" doesn't conform to snake_case naming style (invalid-name)
  972. C:1806,12: Variable name "f" doesn't conform to snake_case naming style (invalid-name)
  973. C:1808,12: Variable name "f" doesn't conform to snake_case naming style (invalid-name)
  974. C:1810,12: Variable name "f" doesn't conform to snake_case naming style (invalid-name)
  975. C:1815,12: Variable name "f" doesn't conform to snake_case naming style (invalid-name)
  976. C:1815,17: Consider iterating the dictionary directly instead of calling .keys() (consider-iterating-dictionary)
  977. C:1820,11: Do not use `len(SEQUENCE)` to determine if a sequence is empty (len-as-condition)
  978. C:1828, 8: Variable name "logMessage" doesn't conform to snake_case naming style (invalid-name)
  979. C:1829, 8: Variable name "logMessage" doesn't conform to snake_case naming style (invalid-name)
  980. C:1830, 9: Variable name "logMessage" doesn't conform to snake_case naming style (invalid-name)
  981. C:1833, 8: Variable name "submitTemplate" doesn't conform to snake_case naming style (invalid-name)
  982. C:1836,11: Variable name "submitTemplate" doesn't conform to snake_case naming style (invalid-name)
  983. C:1839,12: Variable name "submitTemplate" doesn't conform to snake_case naming style (invalid-name)
  984. C:1840,12: Variable name "submitTemplate" doesn't conform to snake_case naming style (invalid-name)
  985. C:1841,12: Variable name "submitTemplate" doesn't conform to snake_case naming style (invalid-name)
  986. C:1843, 8: Variable name "separatorLine" doesn't conform to snake_case naming style (invalid-name)
  987. C:1845,12: Variable name "submitTemplate" doesn't conform to snake_case naming style (invalid-name)
  988. C:1846,12: Variable name "submitTemplate" doesn't conform to snake_case naming style (invalid-name)
  989. C:1848,17: Variable name "fileName" doesn't conform to snake_case naming style (invalid-name)
  990. C:1849, 8: Variable name "tmpFile" doesn't conform to snake_case naming style (invalid-name)
  991. C:1851,12: Variable name "submitTemplate" doesn't conform to snake_case naming style (invalid-name)
  992. C:1877,20: Variable name "f" doesn't conform to snake_case naming style (invalid-name)
  993. C:1885,20: Variable name "f" doesn't conform to snake_case naming style (invalid-name)
  994. C:1898,16: Variable name "tmpFile" doesn't conform to snake_case naming style (invalid-name)
  995. C:1903,16: Variable name "submitTemplate" doesn't conform to snake_case naming style (invalid-name)
  996. C:1913,24: Variable name "f" doesn't conform to snake_case naming style (invalid-name)
  997. C:1933,20: Variable name "f" doesn't conform to snake_case naming style (invalid-name)
  998. C:1935,20: Variable name "f" doesn't conform to snake_case naming style (invalid-name)
  999. R:1665, 4: Too many branches (67/12) (too-many-branches)
  1000. R:1665, 4: Too many statements (191/50) (too-many-statements)
  1001. C:1944, 4: Method name "exportGitTags" doesn't conform to snake_case naming style (invalid-name)
  1002. C:1944, 4: Argument name "gitTags" doesn't conform to snake_case naming style (invalid-name)
  1003. C:1944, 4: Missing method docstring (missing-docstring)
  1004. R:1944, 4: Too many local variables (16/15) (too-many-locals)
  1005. C:1945, 8: Variable name "validLabelRegexp" doesn't conform to snake_case naming style (invalid-name)
  1006. C:1946,11: Do not use `len(SEQUENCE)` to determine if a sequence is empty (len-as-condition)
  1007. C:1947,12: Variable name "validLabelRegexp" doesn't conform to snake_case naming style (invalid-name)
  1008. C:1948, 8: Variable name "m" doesn't conform to snake_case naming style (invalid-name)
  1009. C:1958,12: Variable name "logMessage" doesn't conform to snake_case naming style (invalid-name)
  1010. C:1970,12: Variable name "inHeader" doesn't conform to snake_case naming style (invalid-name)
  1011. C:1971,12: Variable name "isAnnotated" doesn't conform to snake_case naming style (invalid-name)
  1012. C:1973,16: Variable name "l" doesn't conform to snake_case naming style (invalid-name)
  1013. C:1974,16: Variable name "l" doesn't conform to snake_case naming style (invalid-name)
  1014. C:1977,24: Variable name "isAnnotated" doesn't conform to snake_case naming style (invalid-name)
  1015. C:1979,24: Variable name "inHeader" doesn't conform to snake_case naming style (invalid-name)
  1016. C:1988,12: Variable name "clientSpec" doesn't conform to snake_case naming style (invalid-name)
  1017. C:1990,12: Variable name "labelTemplate" doesn't conform to snake_case naming style (invalid-name)
  1018. C:1991,12: Variable name "labelTemplate" doesn't conform to snake_case naming style (invalid-name)
  1019. C:1992,16: Variable name "b" doesn't conform to snake_case naming style (invalid-name)
  1020. C:1993,16: Variable name "labelTemplate" doesn't conform to snake_case naming style (invalid-name)
  1021. C:1994,12: Variable name "labelTemplate" doesn't conform to snake_case naming style (invalid-name)
  1022. C:1996,16: Variable name "labelTemplate" doesn't conform to snake_case naming style (invalid-name)
  1023. R:1944, 4: Too many branches (19/12) (too-many-branches)
  1024. W:2177,20: Redefining built-in 'quit' (redefined-builtin)
  1025. C:2013, 4: Missing method docstring (missing-docstring)
  1026. R:2013, 4: Too many local variables (29/15) (too-many-locals)
  1027. C:2014,11: Do not use `len(SEQUENCE)` to determine if a sequence is empty (len-as-condition)
  1028. C:2028,12: Variable name "allowSubmit" doesn't conform to snake_case naming style (invalid-name)
  1029. C:2029,15: Do not use `len(SEQUENCE)` to determine if a sequence is empty (len-as-condition)
  1030. C:2034,11: Do not use `len(SEQUENCE)` to determine if a sequence is empty (len-as-condition)
  1031. C:2037,11: Do not use `len(SEQUENCE)` to determine if a sequence is empty (len-as-condition)
  1032. C:2057,11: Do not use `len(SEQUENCE)` to determine if a sequence is empty (len-as-condition)
  1033. C:2068, 8: Variable name "branchesDetected" doesn't conform to snake_case naming style (invalid-name)
  1034. C:2127,12: Variable name "detectRenames" doesn't conform to snake_case naming style (invalid-name)
  1035. C:2138, 8: Variable name "detectCopies" doesn't conform to snake_case naming style (invalid-name)
  1036. C:2166,16: Variable name "ok" doesn't conform to snake_case naming style (invalid-name)
  1037. C:2168,16: Variable name "ok" doesn't conform to snake_case naming style (invalid-name)
  1038. R:2162, 8: Too many nested blocks (6/5) (too-many-nested-blocks)
  1039. C:2222,15: Do not use `len(SEQUENCE)` to determine if a sequence is empty (len-as-condition)
  1040. C:2226,20: Variable name "c" doesn't conform to snake_case naming style (invalid-name)
  1041. C:2239,12: Variable name "p4Labels" doesn't conform to snake_case naming style (invalid-name)
  1042. C:2240,12: Variable name "gitTags" doesn't conform to snake_case naming style (invalid-name)
  1043. C:2242,12: Variable name "missingGitTags" doesn't conform to snake_case naming style (invalid-name)
  1044. R:2013, 4: Too many branches (73/12) (too-many-branches)
  1045. R:2013, 4: Too many statements (169/50) (too-many-statements)
  1046. W:2061, 8: Attribute 'useClientSpec' defined outside __init__ (attribute-defined-outside-init)
  1047. W:2063,12: Attribute 'useClientSpec' defined outside __init__ (attribute-defined-outside-init)
  1048. W:2111,12: Attribute 'checkAuthorship' defined outside __init__ (attribute-defined-outside-init)
  1049. W:2113,12: Attribute 'checkAuthorship' defined outside __init__ (attribute-defined-outside-init)
  1050. W:2080, 8: Attribute 'oldWorkingDirectory' defined outside __init__ (attribute-defined-outside-init)
  1051. W:2124,12: Attribute 'diffOpts' defined outside __init__ (attribute-defined-outside-init)
  1052. W:2130,16: Attribute 'diffOpts' defined outside __init__ (attribute-defined-outside-init)
  1053. W:2132,16: Attribute 'diffOpts' defined outside __init__ (attribute-defined-outside-init)
  1054. W:2134,16: Attribute 'diffOpts' defined outside __init__ (attribute-defined-outside-init)
  1055. W:2015,12: Attribute 'master' defined outside __init__ (attribute-defined-outside-init)
  1056. W:2017,12: Attribute 'master' defined outside __init__ (attribute-defined-outside-init)
  1057. W:2072,12: Attribute 'clientPath' defined outside __init__ (attribute-defined-outside-init)
  1058. W:2074,12: Attribute 'clientPath' defined outside __init__ (attribute-defined-outside-init)
  1059. W:2033, 8: Attribute 'depotPath' defined outside __init__ (attribute-defined-outside-init)
  1060. W:2065,12: Attribute 'clientSpecDirs' defined outside __init__ (attribute-defined-outside-init)
  1061. W:2284,12: Unused variable 'rhs_index' (unused-variable)
  1062. C:2305, 4: Argument name "clientFile" doesn't conform to snake_case naming style (invalid-name)
  1063. C:2305, 4: Missing method docstring (missing-docstring)
  1064. C:2316, 8: Variable name "fileArgs" doesn't conform to snake_case naming style (invalid-name)
  1065. C:2318,11: Do not use `len(SEQUENCE)` to determine if a sequence is empty (len-as-condition)
  1066. C:2336,12: Variable name "depotFile" doesn't conform to snake_case naming style (invalid-name)
  1067. C:2338,16: Variable name "depotFile" doesn't conform to snake_case naming style (invalid-name)
  1068. C:2411, 8: Attribute name "tempBranches" doesn't conform to snake_case naming style (invalid-name)
  1069. C:3312, 8: Attribute name "initialParents" doesn't conform to snake_case naming style (invalid-name)
  1070. C:3182,24: Attribute name "branchPrefixes" doesn't conform to snake_case naming style (invalid-name)
  1071. C:2397, 8: Attribute name "detectLabels" doesn't conform to snake_case naming style (invalid-name)
  1072. C:2394, 8: Attribute name "committedChanges" doesn't conform to snake_case naming style (invalid-name)
  1073. C:2408, 8: Attribute name "useClientSpec" doesn't conform to snake_case naming style (invalid-name)
  1074. C:3315,12: Attribute name "refPrefix" doesn't conform to snake_case naming style (invalid-name)
  1075. C:3500, 8: Attribute name "tz" doesn't conform to snake_case naming style (invalid-name)
  1076. C:3242,20: Attribute name "initialParent" doesn't conform to snake_case naming style (invalid-name)
  1077. C:2398, 8: Attribute name "importLabels" doesn't conform to snake_case naming style (invalid-name)
  1078. C:3502, 8: Attribute name "importProcess" doesn't conform to snake_case naming style (invalid-name)
  1079. C:2412, 8: Attribute name "tempBranchLocation" doesn't conform to snake_case naming style (invalid-name)
  1080. C:3558,16: Attribute name "updatedBranches" doesn't conform to snake_case naming style (invalid-name)
  1081. C:3507, 8: Attribute name "gitStream" doesn't conform to snake_case naming style (invalid-name)
  1082. C:2406, 8: Attribute name "p4BranchesInGit" doesn't conform to snake_case naming style (invalid-name)
  1083. C:3508, 8: Attribute name "gitError" doesn't conform to snake_case naming style (invalid-name)
  1084. C:3506, 8: Attribute name "gitOutput" doesn't conform to snake_case naming style (invalid-name)
  1085. C:2405, 8: Attribute name "depotPaths" doesn't conform to snake_case naming style (invalid-name)
  1086. C:2402, 8: Attribute name "maxChanges" doesn't conform to snake_case naming style (invalid-name)
  1087. C:3306, 8: Attribute name "changeRange" doesn't conform to snake_case naming style (invalid-name)
  1088. C:3484,12: Attribute name "projectName" doesn't conform to snake_case naming style (invalid-name)
  1089. C:2410, 8: Attribute name "clientSpecDirs" doesn't conform to snake_case naming style (invalid-name)
  1090. C:2401, 8: Attribute name "importIntoRemotes" doesn't conform to snake_case naming style (invalid-name)
  1091. C:3311, 8: Attribute name "knownBranches" doesn't conform to snake_case naming style (invalid-name)
  1092. C:2400, 8: Attribute name "syncWithOrigin" doesn't conform to snake_case naming style (invalid-name)
  1093. C:2393, 8: Attribute name "createdBranches" doesn't conform to snake_case naming style (invalid-name)
  1094. C:2409, 8: Attribute name "useClientSpec_from_options" doesn't conform to snake_case naming style (invalid-name)
  1095. C:3308, 8: Attribute name "hasOrigin" doesn't conform to snake_case naming style (invalid-name)
  1096. C:2396, 8: Attribute name "detectBranches" doesn't conform to snake_case naming style (invalid-name)
  1097. C:2399, 8: Attribute name "changesFile" doesn't conform to snake_case naming style (invalid-name)
  1098. C:2407, 8: Attribute name "cloneExclude" doesn't conform to snake_case naming style (invalid-name)
  1099. C:2404, 8: Attribute name "keepRepoPath" doesn't conform to snake_case naming style (invalid-name)
  1100. C:3307, 8: Attribute name "previousDepotPaths" doesn't conform to snake_case naming style (invalid-name)
  1101. C:2413, 8: Attribute name "largeFileSystem" doesn't conform to snake_case naming style (invalid-name)
  1102. C:2356, 0: Missing class docstring (missing-docstring)
  1103. R:2356, 0: Too many instance attributes (45/7) (too-many-instance-attributes)
  1104. C:2416,12: Variable name "largeFileSystemConstructor" doesn't conform to snake_case naming style (invalid-name)
  1105. W:2418,16: Lambda may not be necessary (unnecessary-lambda)
  1106. C:2425, 4: Missing method docstring (missing-docstring)
  1107. W:2450,12: Redefining built-in 'file' (redefined-builtin)
  1108. C:2432, 4: Method name "extractFilesFromCommit" doesn't conform to snake_case naming style (invalid-name)
  1109. C:2432, 4: Missing method docstring (missing-docstring)
  1110. C:2459, 4: Method name "extractJobsFromCommit" doesn't conform to snake_case naming style (invalid-name)
  1111. C:2459, 4: Missing method docstring (missing-docstring)
  1112. R:2459, 4: Method could be a function (no-self-use)
  1113. C:2468, 4: Method name "stripRepoPath" doesn't conform to snake_case naming style (invalid-name)
  1114. C:2479,20: Variable name "b" doesn't conform to snake_case naming style (invalid-name)
  1115. C:2492,16: Variable name "p" doesn't conform to snake_case naming style (invalid-name)
  1116. W:2518,12: Redefining built-in 'file' (redefined-builtin)
  1117. C:2500, 4: Method name "splitFilesIntoBranches" doesn't conform to snake_case naming style (invalid-name)
  1118. C:2528,16: Variable name "relPath" doesn't conform to snake_case naming style (invalid-name)
  1119. C:2530,16: Variable name "relPath" doesn't conform to snake_case naming style (invalid-name)
  1120. C:2532,26: Consider iterating the dictionary directly instead of calling .keys() (consider-iterating-dictionary)
  1121. C:2543, 4: Method name "writeToGitStream" doesn't conform to snake_case naming style (invalid-name)
  1122. C:2543, 4: Argument name "gitMode" doesn't conform to snake_case naming style (invalid-name)
  1123. C:2543, 4: Argument name "relPath" doesn't conform to snake_case naming style (invalid-name)
  1124. C:2543, 4: Missing method docstring (missing-docstring)
  1125. C:2546,12: Variable name "d" doesn't conform to snake_case naming style (invalid-name)
  1126. C:2550, 4: Method name "encodeWithUTF8" doesn't conform to snake_case naming style (invalid-name)
  1127. C:2550, 4: Missing method docstring (missing-docstring)
  1128. W:2553, 8: No exception type(s) specified (bare-except)
  1129. W:2565,30: Redefining built-in 'file' (redefined-builtin)
  1130. C:2565, 4: Method name "streamOneP4File" doesn't conform to snake_case naming style (invalid-name)
  1131. C:2565, 4: Missing method docstring (missing-docstring)
  1132. C:2566, 8: Variable name "relPath" doesn't conform to snake_case naming style (invalid-name)
  1133. C:2567, 8: Variable name "relPath" doesn't conform to snake_case naming style (invalid-name)
  1134. W:2608,19: Catching too general exception Exception (broad-except)
  1135. C:2608,32: Variable name "e" doesn't conform to snake_case naming style (invalid-name)
  1136. R:2565, 4: Too many branches (15/12) (too-many-branches)
  1137. W:2645,34: Redefining built-in 'file' (redefined-builtin)
  1138. C:2645, 4: Method name "streamOneP4Deletion" doesn't conform to snake_case naming style (invalid-name)
  1139. C:2645, 4: Missing method docstring (missing-docstring)
  1140. C:2646, 8: Variable name "relPath" doesn't conform to snake_case naming style (invalid-name)
  1141. C:2647, 8: Variable name "relPath" doesn't conform to snake_case naming style (invalid-name)
  1142. C:2657, 4: Method name "streamP4FilesCb" doesn't conform to snake_case naming style (invalid-name)
  1143. C:2657, 4: Missing method docstring (missing-docstring)
  1144. C:2674,12: Variable name "f" doesn't conform to snake_case naming style (invalid-name)
  1145. C:2677,20: Variable name "f" doesn't conform to snake_case naming style (invalid-name)
  1146. R:2657, 4: Too many branches (17/12) (too-many-branches)
  1147. C:2721, 4: Method name "streamP4Files" doesn't conform to snake_case naming style (invalid-name)
  1148. C:2721, 4: Missing method docstring (missing-docstring)
  1149. C:2722, 8: Variable name "filesForCommit" doesn't conform to snake_case naming style (invalid-name)
  1150. C:2723, 8: Variable name "filesToRead" doesn't conform to snake_case naming style (invalid-name)
  1151. C:2724, 8: Variable name "filesToDelete" doesn't conform to snake_case naming style (invalid-name)
  1152. C:2726,12: Variable name "f" doesn't conform to snake_case naming style (invalid-name)
  1153. C:2734,12: Variable name "f" doesn't conform to snake_case naming style (invalid-name)
  1154. C:2737,11: Do not use `len(SEQUENCE)` to determine if a sequence is empty (len-as-condition)
  1155. C:2743,12: Function name "streamP4FilesCbSelf" doesn't conform to snake_case naming style (invalid-name)
  1156. C:2743,12: Missing function docstring (missing-docstring)
  1157. C:2746,12: Variable name "fileArgs" doesn't conform to snake_case naming style (invalid-name)
  1158. C:2756, 4: Missing method docstring (missing-docstring)
  1159. R:2757, 8: Unnecessary "else" after "return" (no-else-return)
  1160. C:2762, 4: Method name "streamTag" doesn't conform to snake_case naming style (invalid-name)
  1161. C:2762, 4: Argument name "gitStream" doesn't conform to snake_case naming style (invalid-name)
  1162. C:2762, 4: Argument name "labelName" doesn't conform to snake_case naming style (invalid-name)
  1163. C:2762, 4: Argument name "labelDetails" doesn't conform to snake_case naming style (invalid-name)
  1164. R:2762, 4: Too many arguments (6/5) (too-many-arguments)
  1165. C:2797, 4: Method name "inClientSpec" doesn't conform to snake_case naming style (invalid-name)
  1166. C:2797, 4: Missing method docstring (missing-docstring)
  1167. C:2800, 8: Variable name "inClientSpec" doesn't conform to snake_case naming style (invalid-name)
  1168. C:2805, 4: Method name "hasBranchPrefix" doesn't conform to snake_case naming style (invalid-name)
  1169. C:2805, 4: Missing method docstring (missing-docstring)
  1170. C:2808, 8: Variable name "hasPrefix" doesn't conform to snake_case naming style (invalid-name)
  1171. C:2814, 4: Missing method docstring (missing-docstring)
  1172. R:2814, 4: Too many local variables (17/15) (too-many-locals)
  1173. C:2845,11: Do not use `len(SEQUENCE)` to determine if a sequence is empty (len-as-condition)
  1174. C:2849,11: Do not use `len(SEQUENCE)` to determine if a sequence is empty (len-as-condition)
  1175. C:2853,11: Do not use `len(SEQUENCE)` to determine if a sequence is empty (len-as-condition)
  1176. C:2865,12: Variable name "labelDetails" doesn't conform to snake_case naming style (invalid-name)
  1177. C:2866,12: Variable name "labelRevisions" doesn't conform to snake_case naming style (invalid-name)
  1178. C:2875,16: Variable name "cleanedFiles" doesn't conform to snake_case naming style (invalid-name)
  1179. R:2814, 4: Too many branches (16/12) (too-many-branches)
  1180. R:2814, 4: Too many statements (52/50) (too-many-statements)
  1181. W:2908,16: Redefining built-in 'file' (redefined-builtin)
  1182. C:2895, 4: Method name "getLabels" doesn't conform to snake_case naming style (invalid-name)
  1183. C:2895, 4: Missing method docstring (missing-docstring)
  1184. C:2898, 8: Variable name "l" doesn't conform to snake_case naming style (invalid-name)
  1185. C:2899,11: Do not use `len(SEQUENCE)` to determine if a sequence is empty (len-as-condition)
  1186. C:2905,12: Variable name "newestChange" doesn't conform to snake_case naming style (invalid-name)
  1187. C:2914,20: Variable name "newestChange" doesn't conform to snake_case naming style (invalid-name)
  1188. C:2925, 4: Method name "importP4Labels" doesn't conform to snake_case naming style (invalid-name)
  1189. C:2925, 4: Argument name "p4Labels" doesn't conform to snake_case naming style (invalid-name)
  1190. C:2925, 4: Missing method docstring (missing-docstring)
  1191. C:2929, 8: Variable name "ignoredP4Labels" doesn't conform to snake_case naming style (invalid-name)
  1192. C:2930, 8: Variable name "validLabelRegexp" doesn't conform to snake_case naming style (invalid-name)
  1193. C:2931,11: Do not use `len(SEQUENCE)` to determine if a sequence is empty (len-as-condition)
  1194. C:2932,12: Variable name "validLabelRegexp" doesn't conform to snake_case naming style (invalid-name)
  1195. C:2933, 8: Variable name "m" doesn't conform to snake_case naming style (invalid-name)
  1196. C:2936,12: Variable name "commitFound" doesn't conform to snake_case naming style (invalid-name)
  1197. C:2946,12: Variable name "labelDetails" doesn't conform to snake_case naming style (invalid-name)
  1198. C:2956,20: Variable name "gitCommit" doesn't conform to snake_case naming style (invalid-name)
  1199. C:2957,20: Variable name "commitFound" doesn't conform to snake_case naming style (invalid-name)
  1200. C:2959,20: Variable name "gitCommit" doesn't conform to snake_case naming style (invalid-name)
  1201. C:2961,23: Do not use `len(SEQUENCE)` to determine if a sequence is empty (len-as-condition)
  1202. C:2964,24: Variable name "commitFound" doesn't conform to snake_case naming style (invalid-name)
  1203. C:2965,24: Variable name "gitCommit" doesn't conform to snake_case naming style (invalid-name)
  1204. R:2925, 4: Too many branches (16/12) (too-many-branches)
  1205. C:2990, 4: Method name "guessProjectName" doesn't conform to snake_case naming style (invalid-name)
  1206. C:2990, 4: Missing method docstring (missing-docstring)
  1207. C:2991,12: Variable name "p" doesn't conform to snake_case naming style (invalid-name)
  1208. C:2993,16: Variable name "p" doesn't conform to snake_case naming style (invalid-name)
  1209. C:2994,12: Variable name "p" doesn't conform to snake_case naming style (invalid-name)
  1210. C:2996,15: Variable name "p" doesn't conform to snake_case naming style (invalid-name)
  1211. C:2999, 4: Method name "getBranchMapping" doesn't conform to snake_case naming style (invalid-name)
  1212. C:2999, 4: Missing method docstring (missing-docstring)
  1213. C:3000, 8: Variable name "lostAndFoundBranches" doesn't conform to snake_case naming style (invalid-name)
  1214. C:3003,11: Do not use `len(SEQUENCE)` to determine if a sequence is empty (len-as-condition)
  1215. C:3010,12: Variable name "viewIdx" doesn't conform to snake_case naming style (invalid-name)
  1216. C:3013,16: Variable name "viewIdx" doesn't conform to snake_case naming style (invalid-name)
  1217. C:3045, 8: Variable name "configBranches" doesn't conform to snake_case naming style (invalid-name)
  1218. R:2999, 4: Too many branches (13/12) (too-many-branches)
  1219. C:3060, 4: Method name "getBranchMappingFromGitBranches" doesn't conform to snake_case naming style (invalid-name)
  1220. C:3060, 4: Missing method docstring (missing-docstring)
  1221. C:3062,22: Consider iterating the dictionary directly instead of calling .keys() (consider-iterating-dictionary)
  1222. C:3069, 4: Method name "updateOptionDict" doesn't conform to snake_case naming style (invalid-name)
  1223. C:3069, 4: Argument name "d" doesn't conform to snake_case naming style (invalid-name)
  1224. C:3069, 4: Missing method docstring (missing-docstring)
  1225. C:3076, 4: Method name "readOptions" doesn't conform to snake_case naming style (invalid-name)
  1226. C:3076, 4: Argument name "d" doesn't conform to snake_case naming style (invalid-name)
  1227. C:3076, 4: Missing method docstring (missing-docstring)
  1228. C:3080, 4: Method name "gitRefForBranch" doesn't conform to snake_case naming style (invalid-name)
  1229. C:3080, 4: Missing method docstring (missing-docstring)
  1230. W:3099,12: Redefining built-in 'next' (redefined-builtin)
  1231. C:3089, 4: Method name "gitCommitByP4Change" doesn't conform to snake_case naming style (invalid-name)
  1232. C:3089, 4: Missing method docstring (missing-docstring)
  1233. C:3093, 8: Variable name "earliestCommit" doesn't conform to snake_case naming style (invalid-name)
  1234. C:3094, 8: Variable name "latestCommit" doesn't conform to snake_case naming style (invalid-name)
  1235. C:3100,15: Do not use `len(SEQUENCE)` to determine if a sequence is empty (len-as-condition)
  1236. C:3106,12: Variable name "currentChange" doesn't conform to snake_case naming style (invalid-name)
  1237. C:3116,16: Variable name "earliestCommit" doesn't conform to snake_case naming style (invalid-name)
  1238. C:3118,16: Variable name "latestCommit" doesn't conform to snake_case naming style (invalid-name)
  1239. W:3128, 8: Redefining built-in 'range' (redefined-builtin)
  1240. C:3122, 4: Method name "importNewBranch" doesn't conform to snake_case naming style (invalid-name)
  1241. C:3122, 4: Argument name "maxChange" doesn't conform to snake_case naming style (invalid-name)
  1242. C:3122, 4: Missing method docstring (missing-docstring)
  1243. C:3127, 8: Variable name "branchPrefix" doesn't conform to snake_case naming style (invalid-name)
  1244. C:3133, 8: Variable name "firstChange" doesn't conform to snake_case naming style (invalid-name)
  1245. C:3135, 8: Variable name "sourceBranch" doesn't conform to snake_case naming style (invalid-name)
  1246. C:3136, 8: Variable name "sourceDepotPath" doesn't conform to snake_case naming style (invalid-name)
  1247. C:3137, 8: Variable name "sourceRef" doesn't conform to snake_case naming style (invalid-name)
  1248. C:3140, 8: Variable name "branchParentChange" doesn't conform to snake_case naming style (invalid-name)
  1249. C:3142, 8: Variable name "gitParent" doesn't conform to snake_case naming style (invalid-name)
  1250. C:3143,11: Do not use `len(SEQUENCE)` to determine if a sequence is empty (len-as-condition)
  1251. C:3150, 4: Method name "searchParent" doesn't conform to snake_case naming style (invalid-name)
  1252. C:3150, 4: Missing method docstring (missing-docstring)
  1253. C:3151, 8: Variable name "parentFound" doesn't conform to snake_case naming style (invalid-name)
  1254. C:3155,15: Do not use `len(SEQUENCE)` to determine if a sequence is empty (len-as-condition)
  1255. C:3156,16: Variable name "parentFound" doesn't conform to snake_case naming style (invalid-name)
  1256. R:3160, 8: Unnecessary "else" after "return" (no-else-return)
  1257. W:3161,19: Using possibly undefined loop variable 'blob' (undefined-loop-variable)
  1258. C:3165, 4: Method name "importChanges" doesn't conform to snake_case naming style (invalid-name)
  1259. C:3165, 4: Missing method docstring (missing-docstring)
  1260. C:3179,34: Consider iterating the dictionary directly instead of calling .keys() (consider-iterating-dictionary)
  1261. C:3181,24: Variable name "branchPrefix" doesn't conform to snake_case naming style (invalid-name)
  1262. C:3186,24: Variable name "filesForCommit" doesn't conform to snake_case naming style (invalid-name)
  1263. C:3199,32: Variable name "fullBranch" doesn't conform to snake_case naming style (invalid-name)
  1264. R:3167, 8: Too many nested blocks (8/5) (too-many-nested-blocks)
  1265. R:3167, 8: Too many nested blocks (7/5) (too-many-nested-blocks)
  1266. C:3218,27: Do not use `len(SEQUENCE)` to determine if a sequence is empty (len-as-condition)
  1267. C:3223,27: Do not use `len(SEQUENCE)` to determine if a sequence is empty (len-as-condition)
  1268. C:3224,28: Variable name "tempBranch" doesn't conform to snake_case naming style (invalid-name)
  1269. R:3167, 8: Too many nested blocks (6/5) (too-many-nested-blocks)
  1270. R:3167, 8: Too many nested blocks (6/5) (too-many-nested-blocks)
  1271. R:3165, 4: Too many branches (22/12) (too-many-branches)
  1272. R:3165, 4: Too many statements (64/50) (too-many-statements)
  1273. C:3247, 4: Method name "importHeadRevision" doesn't conform to snake_case naming style (invalid-name)
  1274. C:3247, 4: Missing method docstring (missing-docstring)
  1275. C:3255, 8: Variable name "newestRevision" doesn't conform to snake_case naming style (invalid-name)
  1276. C:3257, 8: Variable name "fileCnt" doesn't conform to snake_case naming style (invalid-name)
  1277. C:3258, 8: Variable name "fileArgs" doesn't conform to snake_case naming style (invalid-name)
  1278. C:3277,16: Variable name "newestRevision" doesn't conform to snake_case naming style (invalid-name)
  1279. C:3287,12: Variable name "fileCnt" doesn't conform to snake_case naming style (invalid-name)
  1280. C:3304, 4: Missing method docstring (missing-docstring)
  1281. R:3304, 4: Too many local variables (33/15) (too-many-locals)
  1282. C:3327,11: Do not use `len(SEQUENCE)` to determine if a sequence is empty (len-as-condition)
  1283. C:3364,30: Consider iterating the dictionary directly instead of calling .keys() (consider-iterating-dictionary)
  1284. C:3371,12: Variable name "p4Change" doesn't conform to snake_case naming style (invalid-name)
  1285. C:3373,16: Variable name "logMsg" doesn't conform to snake_case naming style (invalid-name)
  1286. C:3381,20: Variable name "p4Change" doesn't conform to snake_case naming style (invalid-name)
  1287. C:3383,20: Variable name "depotPaths" doesn't conform to snake_case naming style (invalid-name)
  1288. W:3396,61: Using possibly undefined loop variable 'i' (undefined-loop-variable)
  1289. R:3345, 8: Too many nested blocks (7/5) (too-many-nested-blocks)
  1290. C:3419,11: Do not use `len(SEQUENCE)` to determine if a sequence is empty (len-as-condition)
  1291. C:3437,11: Do not use `len(SEQUENCE)` to determine if a sequence is empty (len-as-condition)
  1292. C:3438,16: Variable name "p" doesn't conform to snake_case naming style (invalid-name)
  1293. C:3445, 8: Variable name "newPaths" doesn't conform to snake_case naming style (invalid-name)
  1294. C:3446,12: Variable name "p" doesn't conform to snake_case naming style (invalid-name)
  1295. C:3448,16: Variable name "atIdx" doesn't conform to snake_case naming style (invalid-name)
  1296. C:3455,16: Variable name "p" doesn't conform to snake_case naming style (invalid-name)
  1297. C:3457,16: Variable name "hashIdx" doesn't conform to snake_case naming style (invalid-name)
  1298. C:3459,16: Variable name "p" doesn't conform to snake_case naming style (invalid-name)
  1299. C:3463,19: Do not use `len(SEQUENCE)` to determine if a sequence is empty (len-as-condition)
  1300. C:3466,12: Variable name "p" doesn't conform to snake_case naming style (invalid-name)
  1301. C:3468,16: Variable name "p" doesn't conform to snake_case naming style (invalid-name)
  1302. C:3493,16: Variable name "b" doesn't conform to snake_case naming style (invalid-name)
  1303. C:3497,20: Variable name "b" doesn't conform to snake_case naming style (invalid-name)
  1304. C:3515,15: Do not use `len(SEQUENCE)` to determine if a sequence is empty (len-as-condition)
  1305. C:3517,16: Variable name "changeSet" doesn't conform to snake_case naming style (invalid-name)
  1306. C:3528,19: Do not use `len(SEQUENCE)` to determine if a sequence is empty (len-as-condition)
  1307. R:3510, 8: Too many nested blocks (6/5) (too-many-nested-blocks)
  1308. C:3548,19: Do not use `len(SEQUENCE)` to determine if a sequence is empty (len-as-condition)
  1309. C:3551,15: Do not use `len(SEQUENCE)` to determine if a sequence is empty (len-as-condition)
  1310. C:3572,23: Do not use `len(SEQUENCE)` to determine if a sequence is empty (len-as-condition)
  1311. C:3574,28: Variable name "b" doesn't conform to snake_case naming style (invalid-name)
  1312. C:3582,12: Variable name "p4Labels" doesn't conform to snake_case naming style (invalid-name)
  1313. C:3583,12: Variable name "gitTags" doesn't conform to snake_case naming style (invalid-name)
  1314. C:3585,12: Variable name "missingP4Labels" doesn't conform to snake_case naming style (invalid-name)
  1315. R:3304, 4: Too many branches (86/12) (too-many-branches)
  1316. R:3304, 4: Too many statements (202/50) (too-many-statements)
  1317. R:2356, 0: Too many public methods (30/20) (too-many-public-methods)
  1318. W:2693,12: Attribute 'stream_file' defined outside __init__ (attribute-defined-outside-init)
  1319. W:2738,12: Attribute 'stream_file' defined outside __init__ (attribute-defined-outside-init)
  1320. W:2896, 8: Attribute 'labels' defined outside __init__ (attribute-defined-outside-init)
  1321. W:3478, 8: Attribute 'labels' defined outside __init__ (attribute-defined-outside-init)
  1322. W:3312, 8: Attribute 'initialParents' defined outside __init__ (attribute-defined-outside-init)
  1323. W:2694,12: Attribute 'stream_contents' defined outside __init__ (attribute-defined-outside-init)
  1324. W:2739,12: Attribute 'stream_contents' defined outside __init__ (attribute-defined-outside-init)
  1325. W:3182,24: Attribute 'branchPrefixes' defined outside __init__ (attribute-defined-outside-init)
  1326. W:3475, 8: Attribute 'branchPrefixes' defined outside __init__ (attribute-defined-outside-init)
  1327. W:3432, 8: Attribute 'users' defined outside __init__ (attribute-defined-outside-init)
  1328. W:3315,12: Attribute 'refPrefix' defined outside __init__ (attribute-defined-outside-init)
  1329. W:3317,12: Attribute 'refPrefix' defined outside __init__ (attribute-defined-outside-init)
  1330. W:3500, 8: Attribute 'tz' defined outside __init__ (attribute-defined-outside-init)
  1331. W:3242,20: Attribute 'initialParent' defined outside __init__ (attribute-defined-outside-init)
  1332. W:3563,24: Attribute 'initialParent' defined outside __init__ (attribute-defined-outside-init)
  1333. W:3566,24: Attribute 'initialParent' defined outside __init__ (attribute-defined-outside-init)
  1334. W:3502, 8: Attribute 'importProcess' defined outside __init__ (attribute-defined-outside-init)
  1335. W:3558,16: Attribute 'updatedBranches' defined outside __init__ (attribute-defined-outside-init)
  1336. W:2695,12: Attribute 'stream_have_file_info' defined outside __init__ (attribute-defined-outside-init)
  1337. W:2718, 8: Attribute 'stream_have_file_info' defined outside __init__ (attribute-defined-outside-init)
  1338. W:2740,12: Attribute 'stream_have_file_info' defined outside __init__ (attribute-defined-outside-init)
  1339. W:3507, 8: Attribute 'gitStream' defined outside __init__ (attribute-defined-outside-init)
  1340. W:3508, 8: Attribute 'gitError' defined outside __init__ (attribute-defined-outside-init)
  1341. W:3506, 8: Attribute 'gitOutput' defined outside __init__ (attribute-defined-outside-init)
  1342. W:3306, 8: Attribute 'changeRange' defined outside __init__ (attribute-defined-outside-init)
  1343. W:3402,16: Attribute 'changeRange' defined outside __init__ (attribute-defined-outside-init)
  1344. W:3449,16: Attribute 'changeRange' defined outside __init__ (attribute-defined-outside-init)
  1345. W:3451,20: Attribute 'changeRange' defined outside __init__ (attribute-defined-outside-init)
  1346. W:3454,20: Attribute 'changeRange' defined outside __init__ (attribute-defined-outside-init)
  1347. W:3484,12: Attribute 'projectName' defined outside __init__ (attribute-defined-outside-init)
  1348. W:3311, 8: Attribute 'knownBranches' defined outside __init__ (attribute-defined-outside-init)
  1349. W:3308, 8: Attribute 'hasOrigin' defined outside __init__ (attribute-defined-outside-init)
  1350. W:3320,12: Attribute 'hasOrigin' defined outside __init__ (attribute-defined-outside-init)
  1351. W:3307, 8: Attribute 'previousDepotPaths' defined outside __init__ (attribute-defined-outside-init)
  1352. W:3385,24: Attribute 'previousDepotPaths' defined outside __init__ (attribute-defined-outside-init)
  1353. W:3398,24: Attribute 'previousDepotPaths' defined outside __init__ (attribute-defined-outside-init)
  1354. C:3615, 8: Attribute name "importLabels" doesn't conform to snake_case naming style (invalid-name)
  1355. C:3609, 0: Missing class docstring (missing-docstring)
  1356. C:3619, 4: Missing method docstring (missing-docstring)
  1357. W:3619,18: Unused argument 'args' (unused-argument)
  1358. C:3626, 4: Missing method docstring (missing-docstring)
  1359. C:3629,11: Do not use `len(SEQUENCE)` to determine if a sequence is empty (len-as-condition)
  1360. C:3633,11: Do not use `len(SEQUENCE)` to determine if a sequence is empty (len-as-condition)
  1361. C:3640, 8: Variable name "oldHead" doesn't conform to snake_case naming style (invalid-name)
  1362. W:3632,19: Unused variable 'settings' (unused-variable)
  1363. R:3626, 4: Method could be a function (no-self-use)
  1364. C:3657, 8: Attribute name "cloneDestination" doesn't conform to snake_case naming style (invalid-name)
  1365. C:3659, 8: Attribute name "cloneBare" doesn't conform to snake_case naming style (invalid-name)
  1366. C:3645, 0: Missing class docstring (missing-docstring)
  1367. C:3661, 4: Method name "defaultDestination" doesn't conform to snake_case naming style (invalid-name)
  1368. C:3661, 4: Missing method docstring (missing-docstring)
  1369. C:3663, 8: Variable name "depotPath" doesn't conform to snake_case naming style (invalid-name)
  1370. C:3664, 8: Variable name "depotDir" doesn't conform to snake_case naming style (invalid-name)
  1371. C:3665, 8: Variable name "depotDir" doesn't conform to snake_case naming style (invalid-name)
  1372. C:3666, 8: Variable name "depotDir" doesn't conform to snake_case naming style (invalid-name)
  1373. C:3667, 8: Variable name "depotDir" doesn't conform to snake_case naming style (invalid-name)
  1374. R:3661, 4: Method could be a function (no-self-use)
  1375. C:3678, 8: Variable name "depotPaths" doesn't conform to snake_case naming style (invalid-name)
  1376. C:3682,12: Variable name "depotPaths" doesn't conform to snake_case naming style (invalid-name)
  1377. C:3685,12: Variable name "p" doesn't conform to snake_case naming style (invalid-name)
  1378. R:3670, 4: Too many branches (14/12) (too-many-branches)
  1379. C:3724, 0: Missing class docstring (missing-docstring)
  1380. C:3732, 4: Missing method docstring (missing-docstring)
  1381. W:3732,18: Unused argument 'args' (unused-argument)
  1382. R:3732, 4: Method could be a function (no-self-use)
  1383. C:3752, 0: Missing class docstring (missing-docstring)
  1384. R:3757, 8: Unnecessary "else" after "return" (no-else-return)
  1385. W:3762,15: Redefining name 'commands' from outer scope (line 3770) (redefined-outer-name)
  1386. C:3762, 0: Function name "printUsage" doesn't conform to snake_case naming style (invalid-name)
  1387. C:3762, 0: Missing function docstring (missing-docstring)
  1388. C:3770, 0: Constant name "commands" doesn't conform to UPPER_CASE naming style (invalid-name)
  1389. C:3782, 0: Missing function docstring (missing-docstring)
  1390. C:3783, 7: Do not use `len(SEQUENCE)` to determine if a sequence is empty (len-as-condition)
  1391. C:3787, 4: Variable name "cmdName" doesn't conform to snake_case naming style (invalid-name)
  1392. W:3812, 4: Using the global statement (global-statement)
  1393. C:3812, 4: Constant name "verbose" doesn't conform to UPPER_CASE naming style (invalid-name)
  1394. C:3815,11: Comparison to None should be 'expr is None' (singleton-comparison)
  1395. C:3822,23: Do not use `len(SEQUENCE)` to determine if a sequence is empty (len-as-condition)
  1396. W: 26, 0: Unused import zlib (unused-import)
  1397. W: 28, 0: Unused import errno (unused-import)
  1398. C: 31, 4: Imports from package subprocess are not grouped (ungrouped-imports)
  1399.  
  1400. ------------------------------------------------------------------
  1401.  
  1402. Your code has been rated at 5.67/10 (previous run: 5.67/10, +0.00)
Add Comment
Please, Sign In to add comment