-
Notifications
You must be signed in to change notification settings - Fork 16
Migrate to ruff #42
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
Migrate to ruff #42
Conversation
Based on your review schedule, I'll hold off on reviewing this PR until it's marked as ready for review. If you'd like me to take a look now, comment
|
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've completed my review and didn't find any issues.
Files scanned
File Path | Reviewed |
---|---|
playwright_stealth/properties/init.py | ✅ |
playwright_stealth/core/init.py | ✅ |
playwright_stealth/init.py | ✅ |
playwright_stealth/properties/_viewport_properties.py | ✅ |
examples/stealth_mode.py | ✅ |
playwright_stealth/stealth.py | ✅ |
playwright_stealth/core/_stealth_config.py | ✅ |
playwright_stealth/properties/_properties.py | ✅ |
Explore our documentation to understand the languages and file types we support and the files we ignore.
Check out our docs on how you can make Korbit work best for you and your team.
Decided to share my prefs. I sort generic editor settings on the top (together with per-lang modifications) and language specific ones bellow
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 w nits
|
||
[tool.ruff.lint] | ||
select = ["E", "F", "I", "UP"] | ||
ignore = ["E501"] |
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 it a lot of warnings currently? If not I'd prefer to fix them and not ignore in the future (the lib is small enough)
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.
@colriot , this is a copy paste from another repo, but fix it how?
I don't want to manually format docstrings..
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.
Maybe there is nothing to fix at all. How many these warnings are there?
"editor.rulers": [120], | ||
"files.insertFinalNewline": true, | ||
"python.analysis.typeCheckingMode": "standard", | ||
"windsurfPyright.analysis.typeCheckingMode": "standard", | ||
"python.testing.pytestArgs": ["tests"], |
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 this is default, btw
No description provided.