-
Notifications
You must be signed in to change notification settings - Fork 53
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
Ruff format #510
Ruff format #510
Conversation
Updates the requirements on [pylint](https://github.com/pylint-dev/pylint) to permit the latest version. - [Release notes](https://github.com/pylint-dev/pylint/releases) - [Commits](pylint-dev/pylint@v3.0.3...v3.1.0) --- updated-dependencies: - dependency-name: pylint dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #510 +/- ##
======================================
Coverage 98.1% 98.1%
======================================
Files 160 160
Lines 3090 3090
Branches 751 751
======================================
Hits 3032 3032
Misses 37 37
Partials 21 21 ☔ View full report in Codecov by Sentry. |
Why does This failure is in
https://pylint.readthedocs.io/en/stable/user_guide/messages/warning/implicit-str-concat.html https://docs.astral.sh/ruff/rules/single-line-implicit-string-concatenation/ A total of 355 files were also again modified when I upgraded to the latest version of ruff in my local virtual environment. |
Figured out my confusion related to The former is a linter for Flake8 (plus dozens of plugins), isort, pydocstyle, pyupgrade, autoflake, and more whereas the latter utilizes Black. https://docs.astral.sh/ruff/formatter/ The @vprusso This is ready to be merged. LMK if I forgot to catch something here. |
This is great. Awesome to see all of the consistency updates. Went through the diff at a high-level, but everything looked pretty good and sane to me. Nice work, @purva-thakre ! |
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.
Awesome, looks great! MWR! 🚀
Description
Ruff workflow job might not be working as intended in
toqito/.github/workflows/build-test-actions.yml
Line 27 in b58f066
https://github.com/ChartBoost/ruff-action?tab=readme-ov-file#ruff-action
Running
ruff format .
intoqito
altered 114 files in total for the branch in #509 .Changes
Notable changes that this PR has either accomplished or will accomplish. Feel free to add more lines to the itemized list
below.
Checklist
Before marking your PR ready for review, make sure you checked the following locally. If this is your first PR, you might be notified of some workflow failures after a maintainer has approved the workflow jobs to be run on your PR.
Additional information is available in the documentation.
ruff
andpylint
for errors related to code style and formatting.pytest
.Sphinx
build can be checked locally for any failures related to your PRlinkcheck
to check for broken links in the documentationdoctest
to verify the examples in the function docstrings work as expected.