Update pre-commit config to enforace that future imports exist in all files.
Signed-off-by: Daniel Nephin <dnephin@docker.com>
This commit is contained in:
parent
ed87d1f848
commit
475a091768
31 changed files with 66 additions and 1 deletions
|
|
@ -1,5 +1,7 @@
|
|||
#!/usr/bin/env python
|
||||
from __future__ import print_function
|
||||
from __future__ import absolute_import
|
||||
from __future__ import unicode_literals
|
||||
|
||||
import datetime
|
||||
import os.path
|
||||
|
|
|
|||
|
|
@ -21,7 +21,9 @@ For example, if the list of versions is:
|
|||
`default` would return `1.7.1` and
|
||||
`recent -n 3` would return `1.8.0-rc2 1.7.1 1.6.2`
|
||||
"""
|
||||
from __future__ import absolute_import
|
||||
from __future__ import print_function
|
||||
from __future__ import unicode_literals
|
||||
|
||||
import argparse
|
||||
import itertools
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue