-
Notifications
You must be signed in to change notification settings - Fork 2
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
Implement ruff rules A through D #42
Conversation
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.
I have a few suggested changes, but all the rest looks great!
setup.py
Outdated
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.
Do we still need this file anymore? Maybe this would be a good chance to delete it.
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.
I think we can remove it. I figured it's removal would be in it's own PR though. Since we need to do that for each of the packages.
@perrygoy updates are in. |
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.
Just one last thing i noticed!
@@ -52,40 +67,129 @@ selenium = ">=4.1.0" | |||
importlib_metadata = {version = "*", python = "3.8.*"} | |||
|
|||
# convenience packages for development of screenpy only | |||
black = {version = "*", optional = true} | |||
coverage = {version = "*", optional = true} | |||
isort = {version = "*", optional = true} |
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.
Do we still need isort
anymore? Doesn't ruff
do the needful?
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.
Technically no.
I've still been using it until ruff implements the combine imports to single line feature. But otherwise no reason to have it in there still. I left it in because it only is installed for dev.
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.
All right, i don't really see a problem with it for now. 👍
"coverage", | ||
"isort", |
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.
Same note about isort
.
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.
Looks good to me! Thanks for doing all this work.
@@ -52,40 +67,129 @@ selenium = ">=4.1.0" | |||
importlib_metadata = {version = "*", python = "3.8.*"} | |||
|
|||
# convenience packages for development of screenpy only | |||
black = {version = "*", optional = true} | |||
coverage = {version = "*", optional = true} | |||
isort = {version = "*", optional = true} |
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.
All right, i don't really see a problem with it for now. 👍
No description provided.