Skip to content

Commit

Permalink
coala: Ignore autopep8 for import workaroun
Browse files Browse the repository at this point in the history
The coala script ignores some bears complaining about
code before imports.
autopep8 now also reports an error, so needs to be
added to the bear ignore list.

Closes coala#5834
  • Loading branch information
bkhanale authored and jayvdb committed Oct 20, 2018
1 parent baf22ae commit b76bf10
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions coala
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.

# Start ignoring PEP8Bear*, PyImportSortBear and PycodestyleBear*, we need to
# assert the version before importing things that could cause an ImportError
import sys

# Start ignoring PyImportSortBear and PycodestyleBear*, we need to assert the
# version before importing things that could cause an ImportError
from coalib import assert_supported_version

assert_supported_version()
Expand Down

0 comments on commit b76bf10

Please sign in to comment.