| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
format --check only reads files to compare content but opened them with r+, which requires write permission and fails on read-only filesystems in certain CI setups. Use r for check mode and keep r+ for normal format runs that write back to disk. Signed-off-by: Amir Vakili <AVakili@Voleon.com>
|
Looks good, running tests! |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Description
sqlmesh format --check opened model/audit SQL files with r+ even though check mode only reads them. That requires write permission and can fail on read-only filesystems in certain CI setups.
This change opens files in r mode when check=True, and keeps r+ for normal format runs that write back to disk.
Test Plan
Checklist