-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
Bump flake8 to fix the AttributeError: 'QuoteChecker' on py3.8 #11588
Bump flake8 to fix the AttributeError: 'QuoteChecker' on py3.8 #11588
Conversation
There's a lint failure. Please fix it! |
Looks like bumping the lint version actually changes the formatting rules 😐. I vote we just fix this and do it anyways. |
Agreed, I'll clean those up in the next day or so and re-flag for review. |
d4f14c3
to
7e23d5a
Compare
@@ -301,7 +301,7 @@ def __init__(self, | |||
if trial_dirname_creator: | |||
self.custom_dirname = trial_dirname_creator(self) | |||
if os.path.sep in self.custom_dirname: | |||
raise ValueError(f"Trial dirname must not contain '/'. " | |||
raise ValueError("Trial dirname must not contain '/'. " |
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.
@richardliaw btw this looks like a bug (looks like it was here before the PR)
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.
lgtm, mostly just lots of boilerplate fixes
thanks for going through the effort!
6423a07
to
1e24842
Compare
|
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions.
|
Hi again! The issue will be closed because there has been no more activity in the 14 days since the last message. Please feel free to reopen or open a new issue if you'd still like it to be addressed. Again, you can always ask for help on our discussion forum or Ray's public slack channel. Thanks again for opening the issue! |
Why are these changes needed?
Bump
flake8(-quotes)?
to latest in order to stop it from having a sad when it is run with more than one file as input. This mostly happens when you run./scripts/ci/format.sh
after having modified more than one file.Related issue number
n/a
Checks
scripts/format.sh
to lint the changes in this PR.