Skip to content

Commit

Permalink
pants-plugins/uses_services: switch python_targets(uses=...) to a mov…
Browse files Browse the repository at this point in the history
…ed field
  • Loading branch information
cognifloyd committed Oct 11, 2024
1 parent d310899 commit f4aba36
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pants-plugins/uses_services/register.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@

def rules():
return [
PythonTestsGeneratorTarget.register_plugin_field(UsesServicesField),
PythonTestsGeneratorTarget.register_plugin_field(
UsesServicesField, as_moved_field=True
),
PythonTestTarget.register_plugin_field(UsesServicesField),
*platform_rules.rules(),
*mongo_rules.rules(),
Expand Down

0 comments on commit f4aba36

Please sign in to comment.