mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 01:07:15 +03:00
lint-checks: remove unused imports and unnecessary space
Summary: The tests `test-check-pyflakes-hg.t` and `test-check-code-hg.t` are currently failing because of this. Test Plan: Ran all the tests. Reviewers: #fbhgext, quark Reviewed By: #fbhgext, quark Differential Revision: https://phab.mercurial-scm.org/D1489
This commit is contained in:
parent
bb772606f4
commit
7ba26bc3b9
@ -21,12 +21,11 @@ from mercurial import (
|
|||||||
merge,
|
merge,
|
||||||
phases,
|
phases,
|
||||||
revlog,
|
revlog,
|
||||||
scmutil,
|
|
||||||
tags,
|
tags,
|
||||||
util,
|
util,
|
||||||
)
|
)
|
||||||
from mercurial.extensions import wrapfunction
|
from mercurial.extensions import wrapfunction
|
||||||
from mercurial.node import bin, nullid, nullrev
|
from mercurial.node import bin
|
||||||
import errno
|
import errno
|
||||||
import os
|
import os
|
||||||
|
|
||||||
|
@ -119,7 +119,7 @@ def uisetup(ui):
|
|||||||
@util.propertycache
|
@util.propertycache
|
||||||
def _progbar(self):
|
def _progbar(self):
|
||||||
if self.config('progress', 'statefile'):
|
if self.config('progress', 'statefile'):
|
||||||
return progbarwithfile(self)
|
return progbarwithfile(self)
|
||||||
else:
|
else:
|
||||||
return super(progressfileui, self)._progbar
|
return super(progressfileui, self)._progbar
|
||||||
ui.__class__ = progressfileui
|
ui.__class__ = progressfileui
|
||||||
|
Loading…
Reference in New Issue
Block a user