tall-battery-32825
03/14/2024, 11:42 PMOptional[...]
syntax in the plugin, I get this error on the next pants command:
17:11:06.13 [ERROR] unsupported operand type(s) for |: 'type' and 'NoneType'
The workaround for now is:
pants fix --only="['black', 'isort', 'autoflake', 'docformatter', 'shfmt']" ::
pants fix --filter-address-regex='-^pants-plugins/.*' --only=pyupgrade ::
I looked through the docs and didn't see any way to specify --skip=pyupgrade
or something similar. Just wondering if there is a better approach than this. Thanks!tall-battery-32825
03/14/2024, 11:48 PMwide-midnight-78598
03/14/2024, 11:52 PMwide-midnight-78598
03/14/2024, 11:53 PMtall-battery-32825
03/14/2024, 11:55 PMgorgeous-winter-99296
03/15/2024, 10:13 AM__defaults__(python_source=dict(skip_pyupgrade=True))
gorgeous-winter-99296
03/15/2024, 10:15 AMcurved-manchester-66006
03/15/2024, 1:23 PMI thought we had PBS downloaded to run pants and in-repo plugins, but that might just be me mis-remembering. I haven't played around with the interpreters in a whileThat would be really cool! But I don't think that exits today.