Skip to content

Commit fe4aca8

Browse files
authored
disable reimports on the ci (#2087)
1 parent 034ac5f commit fe4aca8

File tree

6 files changed

+7
-5
lines changed

6 files changed

+7
-5
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
command: |
4747
. ~/env/bin/activate
4848
# we enabled pre-commit.ci for the repo so no need to run it on Circle here again
49-
# pre-commit run --show-diff-on-failure --all-files
49+
# pre-commit run --show-diff-on-failure --all-files
5050
- run:
5151
name: Setup.py develop
5252
command: |

.pre-commit-config.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
ci:
2+
skip: [reorder-python-imports]
13
default_language_version:
24
python: python2.7
35
repos:

data/bootstrap.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
import urllib
22

3+
import yaml
34
from jinja2 import Environment
45
from jinja2 import FileSystemLoader
56

6-
import yaml
7-
87
with open('assets.yaml') as fh:
98
asset_cfg = yaml.load(fh)
109

integration-test/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,14 @@
3939
from tilequeue.tile import coord_to_mercator_bounds
4040
from tilequeue.tile import reproject_lnglat_to_mercator
4141
from tilequeue.tile import reproject_mercator_to_lnglat
42+
from yaml import load as load_yaml
4243

4344
from vectordatasource.meta import find_yaml_path
4445
from vectordatasource.meta.python import make_function_name_min_zoom
4546
from vectordatasource.meta.python import make_function_name_props
4647
from vectordatasource.meta.python import output_kind
4748
from vectordatasource.meta.python import output_min_zoom
4849
from vectordatasource.meta.python import parse_layers
49-
from yaml import load as load_yaml
5050

5151

5252
# the Overpass server is used to download data about OSM elements. the

scripts/csv_colours.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
from optparse import OptionParser
44

55
import yaml
6+
67
from vectordatasource.colour import parse_colour
78
from vectordatasource.transform import Palette
89

vectordatasource/meta/python.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
from numbers import Number
66

77
import astformatter
8-
98
import yaml
9+
1010
from vectordatasource import util
1111
from vectordatasource.meta import function
1212

0 commit comments

Comments
 (0)