future-oxygen-10553
04/03/2023, 8:06 PMSourceField
for TOML files. This works great when I have a toml_source
target. Now, of course, I want to use the python_requirements
target with a pyproject.toml
file. Is there a way to configure the FieldSet
to have a union for the sources, so it pulls both `TomlSourceField`s and `PythonRequirementsSourceField`s? Assume for now that I’m fine with hard crashes if the PythonRequirementsSourceField
points to a requirements.txt
-format file 🙂witty-crayon-22786
04/03/2023, 8:33 PMFieldSet
, or to FmtRequest
, to match multiple FieldSet
types?witty-crayon-22786
04/03/2023, 8:34 PMpantsbuild/pants
, and then another non-draft PR to make the change that you need to enable the use-case? that will make it easier to discuss in context.broad-processor-92400
04/03/2023, 8:36 PMpyproject.toml
file “touched” by two targets? (Both the Python requirements one and the toml one)
As in, avoid the toml plugin needing to think about Python at allbitter-ability-32190
04/03/2023, 8:38 PMwitty-crayon-22786
04/03/2023, 8:38 PMbitter-ability-32190
04/03/2023, 8:38 PMbitter-ability-32190
04/03/2023, 8:38 PMwide-midnight-78598
04/04/2023, 12:07 AMfuture-oxygen-10553
04/04/2023, 1:03 PMfuture-oxygen-10553
04/04/2023, 1:06 PMwide-midnight-78598
04/04/2023, 1:20 PMfuture-oxygen-10553
04/04/2023, 1:24 PMbitter-ability-32190
04/04/2023, 2:11 PMbitter-ability-32190
04/04/2023, 2:12 PMpreamble
plugin in-repo to get an ideafuture-oxygen-10553
04/04/2023, 2:12 PMfuture-oxygen-10553
04/05/2023, 2:48 PMpyproject.toml
files. I added a function that I thought would work but deleting that function doesn’t seem to change anything. Finally, I think it’d be beneficial to be able to turn off the formatting per-file similar to black et al. So I think I’m back to the idea that @witty-crayon-22786 shared of being able to have multiple field sets associated with a FmtTargetsRequest. Does that sound right?bitter-ability-32190
04/05/2023, 2:55 PMfuture-oxygen-10553
04/05/2023, 3:01 PMfuture-oxygen-10553
04/21/2023, 10:49 PMtoml_source
and no-target files.bitter-ability-32190
04/26/2023, 2:47 PMfuture-oxygen-10553
04/26/2023, 2:57 PMfuture-oxygen-10553
04/26/2023, 2:57 PMbitter-ability-32190
04/26/2023, 2:57 PMbitter-ability-32190
04/26/2023, 2:57 PMbitter-ability-32190
04/26/2023, 2:58 PMfuture-oxygen-10553
04/26/2023, 3:46 PMpyproject.toml
🙂