You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using Ruff for code formatting across different systems and have hit a snag with specifying a format file path in my settings. This setup causes an error when switching systems because the file path is not recognized on the new platform.
Is there a way to make Ruff dynamically adjust the file path based on the operating system it's running on? This would greatly enhance its usability in multi-OS environments.
The text was updated successfully, but these errors were encountered:
@DK05310214 no, Ruff has no such functionality. I understand that you want to configure different paths on different systems (/platforms?) because the file is stored at a different location.
CC: @snowsignal I think this is interesting when thinking about the new settings
@DK05310214 no, Ruff has no such functionality. I understand that you want to configure different paths on different systems (/platforms?) because the file is stored at a different location.
CC: @snowsignal I think this is interesting when thinking about the new settings
Thanks for reply.
I think this feature may be very useful.
The paths to configuration file can be set as a list. We can iterate through this list to search for configuration file and pass the file that found for the first time to ruff.
I'm using Ruff for code formatting across different systems and have hit a snag with specifying a format file path in my settings. This setup causes an error when switching systems because the file path is not recognized on the new platform.
Is there a way to make Ruff dynamically adjust the file path based on the operating system it's running on? This would greatly enhance its usability in multi-OS environments.
The text was updated successfully, but these errors were encountered: