bloomberg / memray

Memray is a memory profiler for Python
https://bloomberg.github.io/memray/
Apache License 2.0
13.17k stars 392 forks source link

Fix ruff rules pyupgrade and McCabe code complexity #502

Closed cclauss closed 10 months ago

cclauss commented 10 months ago

Issue number of the reported bug or feature request: #

Describe your changes A clear and concise description of the changes you have made. Fix ruff rules pyupgrade and McCabe code complexity.

Testing performed Describe the testing you have performed to ensure that the bug has been addressed, or that the new feature works as planned.

Additional context Add any other context about your contribution here.