Skip to content

Commit c330cb2

Browse files
committed
pycodestyle cleanup
1 parent 4e34f17 commit c330cb2

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

activitysim/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
11
# ActivitySim
22
# See full license in LICENSE.txt.
3-
4-

activitysim/core/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
11
# ActivitySim
22
# See full license in LICENSE.txt.
3-
4-

example_multi/extensions/los.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,6 @@ def get_taps_mazs(self, maz, attribute=None, filter=None):
137137

138138
return df
139139

140-
141140
def get_tappairs_mazpairs(network_los, omaz, dmaz, ofilter=None, dfilter=None):
142141

143142
# get nearby boarding TAPs to origin

example_multi/simulation.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,8 @@ def get_maz_tap_pairs(VECTOR_TEST_SIZE):
164164

165165
def get_taps_mazs(VECTOR_TEST_SIZE, attribute=None):
166166

167-
random_omaz = np.random.choice(network_los.maz_df.index.values, size=VECTOR_TEST_SIZE, replace=True)
167+
random_omaz = np.random.choice(network_los.maz_df.index.values, size=VECTOR_TEST_SIZE,
168+
replace=True)
168169

169170
taps_mazs = network_los.get_taps_mazs(random_omaz, attribute=attribute)
170171

@@ -254,7 +255,7 @@ def set_random_seed():
254255
# get_maz_pairs(size)
255256
# t0 = print_elapsed_time_per_unit("get_maz_pairs", t0, size)
256257

257-
#bug
258+
# bug
258259
# t0 = print_elapsed_time()
259260
# pipeline.run(models=["best_transit_path"], resume_after=None)
260261
# t0 = print_elapsed_time("best_transit_path", t0)

ez_setup.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,7 @@ def has_powershell():
206206
return False
207207
return True
208208

209+
209210
download_file_powershell.viable = has_powershell
210211

211212

@@ -223,6 +224,7 @@ def has_curl():
223224
return False
224225
return True
225226

227+
226228
download_file_curl.viable = has_curl
227229

228230

@@ -240,6 +242,7 @@ def has_wget():
240242
return False
241243
return True
242244

245+
243246
download_file_wget.viable = has_wget
244247

245248

@@ -259,6 +262,7 @@ def download_file_insecure(url, target):
259262
with open(target, "wb") as dst:
260263
dst.write(data)
261264

265+
262266
download_file_insecure.viable = lambda: True
263267

264268

0 commit comments

Comments
 (0)