Remove spaces around equals, fixes renovate MRs
sswane opened this issue · comments
Pigar creates a requirements.txt file with output like:
fire == 0.4.0
When using renovate to update dependencies, a merge request is created with the change being:
fire==0.4.0
In order to use the default renovate configuration without unnecessary merge requests, can you please remove the spaces around the double equal sign in the output from pigar?
I think you should open another issue to request renovate to add those empty spaces as well.
Anyway, you can use sed -i 's/ == /==/' requirements.txt
to remove those empty spaces. sed -i '' 's/ == /==/' requirements.txt
on macOS.
Fair point