Support unterminated isort: off directives (#1074)

This commit is contained in:
Charlie Marsh 2022-12-05 14:54:47 -05:00 committed by GitHub
parent 40b7c64f7d
commit 4be74785fe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 82 additions and 16 deletions

18
bar.py Normal file
View file

@ -0,0 +1,18 @@
# isort: off
# pylint: disable=import-error
from dagster import (
load_assets_from_package_module,
)
# start_example
import my_package.cereal as cereal
cereal_assets = load_assets_from_package_module(
cereal,
group_name="cereal_assets",
)
# end_example