Closed Gold856 closed 1 day ago
This is because wpiformat throws errors on broken symlinks.
# Throw an error if any files or directories don't exist
for f in files:
if not os.path.exists(f):
print(f"error: {f}: No such file or directory")
sys.exit(1)
This check occurs before gitignored files are filtered out.
Running wpiformat gives me this error:
Running isort with the
--gitignore
flag and specifying.\bazel-allwpilib\
causes it to spit out:fatal: not a git repository (or any of the parent directories): .git
about 844 times and that it skipped 116 files. Running it without the--gitignore
flag causes it spit out this: