-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Added option to ignore file paths #33479
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
If you merge master test failures will be resolved |
for file_name in files: | ||
if not any( | ||
file_name.endswith(extension) for extension in FILE_EXTENSIONS_TO_CHECK | ||
): | ||
continue | ||
|
||
file_path = os.path.join(subdir, file_name) | ||
with open(file_path, "r") as file_obj: | ||
with open(file_path, mode="r") as file_obj: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is making "mode" explicit necesary? its not a pattern we used elsewhere
parser.add_argument( | ||
"--excluded-file-paths", | ||
default="asv_bench/env", | ||
help="Coma seperated file extensions to check.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Coma -> Comma (i hope)
seperated -> separated
looks like both of these need fixing on L395 too
Sorry, I got into other obligation in the past week and a half, I'll try to finish what I started as much as I can. |
can you merge master |
closing as stale, if you want to continue pls ping. |
This is needed both for #32942 and to #33394 to ignore the
pandas/tests
directory