mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 16:24:40 +04:00
Make ordereddict a direct dependency.
This commit is contained in:
parent
203c554734
commit
a984a02c84
8 changed files with 17 additions and 11 deletions
7
pre_commit/ordereddict.py
Normal file
7
pre_commit/ordereddict.py
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
from __future__ import absolute_import
|
||||
from __future__ import unicode_literals
|
||||
|
||||
try:
|
||||
from collections import OrderedDict # noqa
|
||||
except ImportError: # pragma: no cover (PY26)
|
||||
from ordereddict import OrderedDict # noqa
|
||||
Loading…
Add table
Add a link
Reference in a new issue