mirror of
https://github.com/PyCQA/flake8.git
synced 2026-03-30 10:46:54 +00:00
commit
57417b435a
1 changed files with 6 additions and 0 deletions
|
|
@ -3,6 +3,12 @@ from __future__ import with_statement
|
|||
import os
|
||||
import sys
|
||||
from subprocess import Popen, PIPE
|
||||
try:
|
||||
# The 'demandimport' breaks pyflakes and flake8._pyflakes
|
||||
from mercurial import demandimport
|
||||
demandimport.disable()
|
||||
except ImportError:
|
||||
pass
|
||||
try:
|
||||
from configparser import ConfigParser
|
||||
except ImportError: # Python 2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue