Skip to content

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

Merged
merged 3 commits into from
Jun 13, 2025
Merged

Migrate to ruff #42

merged 3 commits into from
Jun 13, 2025

Conversation

paveldudka
Copy link
Contributor

No description provided.

Copy link

korbit-ai bot commented Jun 13, 2025

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 /korbit-review.

Your admin can change your review schedule in the Korbit Console

@paveldudka paveldudka marked this pull request as ready for review June 13, 2025 01:21
@paveldudka paveldudka requested a review from Zechereh June 13, 2025 01:21
Copy link

@korbit-ai korbit-ai bot left a 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.

Loving Korbit!? Share us on LinkedIn Reddit and X

@paveldudka paveldudka requested review from colriot and TinyGambe June 13, 2025 03:06
Decided to share my prefs. I sort generic editor settings on the top (together with per-lang modifications) and language specific ones bellow
Copy link

@colriot colriot left a 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"]
Copy link

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)

Copy link
Contributor Author

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..

Copy link

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"],
Copy link

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

@paveldudka paveldudka merged commit 6dc26e6 into main Jun 13, 2025
7 checks passed
@paveldudka paveldudka deleted the pasha/ruff branch June 13, 2025 04:50
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.

2 participants