Skip to content

Don't fail when fail to convert to abs path#77

Open
clee2000 wants to merge 2 commits intosuo:mainfrom
clee2000:csl/git_handle_weird_paths
Open

Don't fail when fail to convert to abs path#77
clee2000 wants to merge 2 commits intosuo:mainfrom
clee2000:csl/git_handle_weird_paths

Conversation

@clee2000
Copy link

@clee2000 clee2000 commented Oct 24, 2024

There are some non utf8? paths in my checkout of pytorch

(forpytorch) ls third_party/opentelemetry-cpp/third_party/prometheus-cpp/3rdparty/civetweb/test/nonlatin
𞤀𞤣𞤤𞤢𞤥 𞤆𞤵𞤤𞤢𞤪.txt                               这是一个示例文本.html

which cause lintrunner --all-files to fail for me.

Idk if this is a good idea


cargo build
lintrunner/target/debug/lintrunner

@clee2000 clee2000 marked this pull request as draft October 25, 2024 16:49
@clee2000 clee2000 changed the title Handle weird paths in git Don't fail when fail to convert to abs path Oct 25, 2024
@clee2000 clee2000 marked this pull request as ready for review October 25, 2024 17:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant