Skip to content

Commit

Permalink
include python imports rules in debug rules backend
Browse files Browse the repository at this point in the history
so it can be independently imported
  • Loading branch information
lilatomic committed Nov 2, 2022
1 parent 819a104 commit 72f6ae9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/python/pants/backend/python/goals/debug_goals.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
_collect_imports_info,
_exec_parse_deps,
_find_other_owners_for_unowned_imports,
import_rules,
)
from pants.backend.python.goals.run_python_source import PythonSourceFieldSet
from pants.backend.python.subsystems.setup import PythonSetup
Expand Down Expand Up @@ -192,5 +193,6 @@ async def dump_python_source_analysis(

def rules():
return [
*import_rules(),
*collect_rules(),
]

0 comments on commit 72f6ae9

Please sign in to comment.