run_checks: Add PWD to os.path.
Without this change, running checkers when not running unittests failed, because qutebrowser couldn't be imported.
This commit is contained in:
parent
7d219a2529
commit
7f6b44e4b0
@ -46,6 +46,10 @@ import colorama as col
|
||||
import pep257
|
||||
from pkg_resources import load_entry_point, DistributionNotFound
|
||||
|
||||
|
||||
sys.path.insert(0, os.getcwd())
|
||||
|
||||
|
||||
# We need to do this because pyroma is braindead enough to use logging instead
|
||||
# of print...
|
||||
logging.basicConfig(level=logging.INFO, format='%(msg)s')
|
||||
|
Loading…
Reference in New Issue
Block a user