Skip to content

Commit 8d1215b

Browse files
authored
Update black to latest version and reformat code (#1169)
Signed-off-by: Tao He <[email protected]>
1 parent ba2d083 commit 8d1215b

File tree

4 files changed

+3
-6
lines changed

4 files changed

+3
-6
lines changed

modules/io/python/drivers/io/ossfs.py

-1
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,6 @@ def infer_storage_options(urlpath, inherit_storage_options=None):
150150

151151

152152
def version_id_kw(version_id):
153-
154153
return {"versionId": version_id} if version_id else {}
155154

156155

python/vineyard/contrib/airflow/example_dags/v6d_dag.py

-1
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,6 @@ def load_results(
111111
catchup=False,
112112
)
113113
def taskflow_v6d():
114-
115114
build_raw_df = build_dataframe()
116115
sum_cols_r = sum_cols(build_raw_df)
117116
pick_least_r = pick_least(sum_cols_r)

python/vineyard/contrib/ml/pytorch.py

-1
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,6 @@ def torch_global_dataframe_resolver(obj, resolver, **_kw):
171171

172172

173173
def register_torch_types(builder_ctx, resolver_ctx):
174-
175174
if builder_ctx is not None:
176175
builder_ctx.register(Dataset, torch_builder)
177176

requirements-dev.txt

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
black
1+
black>=22.3.0
22
breathe
33
docutils==0.16
4-
flake8
4+
flake8>=4.0.1
55
furo # sphinx theme
6-
isort
6+
isort>=5.10.1
77
jinja2>=3.0.0
88
libclang
99
nbsphinx

0 commit comments

Comments
 (0)