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

Updates for removing use-maxsplit-arg #12199

Merged
merged 1 commit into from
Apr 18, 2024

Conversation

joesho112358
Copy link
Contributor

Summary

Part of the effort in #9614 to incrementally remove lints

Details and comments

Only used in one place. It makes sense if the line only cares about the extension. On the other hand, is also very much a nit in this case since most image files don't have multiple . in them and makes the line a bit longer.

@joesho112358 joesho112358 requested review from nonhermitian and a team as code owners April 18, 2024 03:05
@qiskit-bot qiskit-bot added the Community PR PRs from contributors that are not 'members' of the Qiskit repo label Apr 18, 2024
@qiskit-bot
Copy link
Collaborator

Thank you for opening a new pull request.

Before your PR can be merged it will first need to pass continuous integration tests and be reviewed. Sometimes the review process can be slow, so please be patient.

While you're waiting, please feel free to review other open PRs. While only a subset of people are authorized to approve pull requests for merging, everyone is encouraged to review open pull requests. Doing reviews helps reduce the burden on the core team and helps make the project's code better for everyone.

One or more of the the following people are requested to review this:

@coveralls
Copy link

Pull Request Test Coverage Report for Build 8731790615

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 10 unchanged lines in 2 files lost coverage.
  • Overall coverage decreased (-0.009%) to 89.26%

Files with Coverage Reduction New Missed Lines %
crates/qasm2/src/lex.rs 4 91.35%
crates/qasm2/src/parse.rs 6 97.61%
Totals Coverage Status
Change from base Build 8728514558: -0.009%
Covered Lines: 60305
Relevant Lines: 67561

💛 - Coveralls

Copy link
Member

@jakelishman jakelishman left a comment

Choose a reason for hiding this comment

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

This one also looks good, thanks.

Fwiw, I think there's a few in the "temporarily disabled" list that might not necessarily be the best style and might want moving into the "properly disabled" list, but it's been a long time since I looked at them, so I don't really remember. For example, the one above this one (use-implicit-booleaness-not-comparison) is imo not a universally good idea and probably shouldn't be enabled as a lint requirement.

@jakelishman jakelishman added this pull request to the merge queue Apr 18, 2024
@jakelishman jakelishman added type: qa Issues and PRs that relate to testing and code quality Changelog: None Do not include in changelog labels Apr 18, 2024
@jakelishman jakelishman added this to the 1.1.0 milestone Apr 18, 2024
Merged via the queue into Qiskit:main with commit b204015 Apr 18, 2024
12 checks passed
@joesho112358
Copy link
Contributor Author

This one also looks good, thanks.

Fwiw, I think there's a few in the "temporarily disabled" list that might not necessarily be the best style and might want moving into the "properly disabled" list, but it's been a long time since I looked at them, so I don't really remember. For example, the one above this one (use-implicit-booleaness-not-comparison) is imo not a universally good idea and probably shouldn't be enabled as a lint requirement.

Yeah, figured these were pretty quick hitters... so might as well go ahead and just do it! No biggie to throw the branch away and go the other route! :D

I can take a look at use-implicit-booleaness-not-comparison

@joesho112358 joesho112358 deleted the remove-use-maxsplit-arg branch April 18, 2024 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Changelog: None Do not include in changelog Community PR PRs from contributors that are not 'members' of the Qiskit repo type: qa Issues and PRs that relate to testing and code quality
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

4 participants