Skip to content

Commit

Permalink
[internal] Use soft wrapping for Scala plugins field (pantsbuild#14558)
Browse files Browse the repository at this point in the history
See https://github.com/pantsbuild/pants/pull/14508/files#r812386430 for why we want soft wrapping.

[ci skip-rust]
[ci skip-build-wheels]
  • Loading branch information
Eric-Arellano authored Feb 24, 2022
1 parent ad85e9b commit c41b87c
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions src/python/pants/backend/scala/target_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,13 @@ class ScalaDependenciesField(Dependencies):


class ScalaConsumedPluginNamesField(StringSequenceField):
help = """The names of Scala plugins that this source file requires.
The plugin must be defined by a corresponding `scalac_plugin` AND `jvm_artifact` target,
and must be present in this target's resolve's lockfile.
If not specified, this will default to the plugins specified in `--scalac-plugins` for this
target's resolve.
"""
help = (
"The names of Scala plugins that this source file requires.\n\n"
"The plugin must be defined by a corresponding `scalac_plugin` AND `jvm_artifact` target, "
"and must be present in this target's resolve's lockfile.\n\n"
"If not specified, this will default to the plugins specified in "
"`[scalac].plugins_for_resolve` for this target's resolve."
)

alias = "scalac_plugins"
required = False
Expand Down

0 comments on commit c41b87c

Please sign in to comment.