Skip to content

Commit

Permalink
Fix LGTM alert
Browse files Browse the repository at this point in the history
Module 'jupytext' is imported with both 'import' and 'import from'
  • Loading branch information
mwouts committed Jan 11, 2022
1 parent 1365865 commit a6b5a6c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions jupytext/contentsmanager.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
short_form_multiple_formats,
short_form_one_format,
)
from .jupytext import drop_text_representation_metadata
from .kernels import set_kernelspec_from_language
from .paired_paths import (
InconsistentPath,
Expand Down Expand Up @@ -144,7 +143,7 @@ def save_one_file(path, fmt):
return self.super.save(
dict(
type="notebook",
content=drop_text_representation_metadata(
content=jupytext.drop_text_representation_metadata(
model["content"]
),
),
Expand Down

0 comments on commit a6b5a6c

Please sign in to comment.