mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-05 04:36:52 +00:00
Rely on Python 3.4 backport of configparser
Python 2.7's ConfigParser module does not allow for the behaviour we have documented for config files in Flake8 3.0. To compensate for that, we add a dependency on the configparser backport on PyPI for Python 2.7
This commit is contained in:
parent
e9ddf7533b
commit
33f982b446
6 changed files with 13 additions and 11 deletions
|
|
@ -1,9 +1,5 @@
|
|||
"""Tests for the ConfigFileFinder."""
|
||||
try:
|
||||
import ConfigParser as configparser
|
||||
except ImportError:
|
||||
import configparser
|
||||
|
||||
import configparser
|
||||
import os
|
||||
import sys
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue