Skip to content
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

Run ruff linter in CI #528

Merged
merged 2 commits into from
Mar 1, 2023
Merged

Run ruff linter in CI #528

merged 2 commits into from
Mar 1, 2023

Conversation

zariiii9003
Copy link
Collaborator

In this PR i only activated the pyupgrade checks. The other checks can be activated in follow-up PRs, otherwise it will be impossible to review.

So this PR mostly removes object as parent class and uses f-strings where possible.

@coveralls
Copy link

Pull Request Test Coverage Report for Build 4275428667

  • 89 of 97 (91.75%) changed or added relevant lines in 37 files are covered.
  • 1 unchanged line in 1 file lost coverage.
  • Overall coverage decreased (-0.0008%) to 94.106%

Changes Missing Coverage Covered Lines Changed/Added Lines %
cantools/database/can/formats/sym.py 0 2 0.0%
cantools/subparsers/dump/init.py 8 14 57.14%
Files with Coverage Reduction New Missed Lines %
cantools/subparsers/dump/init.py 1 74.31%
Totals Coverage Status
Change from base Build 4260689288: -0.0008%
Covered Lines: 7089
Relevant Lines: 7533

💛 - Coveralls

Copy link
Member

@andlaus andlaus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good as far as I can tell

@zariiii9003
Copy link
Collaborator Author

@andlaus should i wait for a second review or just merge?

@andlaus
Copy link
Member

andlaus commented Mar 1, 2023

just go ahead and merge. I think this is quite low risk...

@andlaus andlaus merged commit 6057dbf into cantools:master Mar 1, 2023
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.

None yet

3 participants