mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-01 14:21:53 +00:00
Support unterminated isort: off directives (#1074)
This commit is contained in:
parent
40b7c64f7d
commit
4be74785fe
2 changed files with 82 additions and 16 deletions
18
bar.py
Normal file
18
bar.py
Normal 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
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue