singularityhub / sregistry

server for storage and management of singularity images
https://singularityhub.github.io/sregistry
Mozilla Public License 2.0
103 stars 42 forks source link

(maint) fix anti-patterns and improve performance #358

Closed vladdoster closed 1 year ago

vladdoster commented 3 years ago

Signed-off-by: Vladislav Doster mvdoster@gmail.com

vladdoster commented 3 years ago

Mhm.... not quite sure what I am missing here.

Screen Shot 2021-04-03 at 4 04 24 PM

vsoch commented 3 years ago

@vladdoster it's usually a mismatch in the version of black - you can check the message in the CI to see what version is installed.

These are great changes! I will try to make some time to review them soon.

vsoch commented 3 years ago

Oh and don't worry too much about black - when we're finished up review I'd be happy to pull, run the matching version, and update the PR.

vsoch commented 3 years ago

Taking a look again! @vladdoster for future reviews could you wait until the end to rebase? it makes it hard to see what you changed (and I'll need to review the entire thing again instead of just changes).

vsoch commented 3 years ago

okay I still see a lot of the static methods applied - let me know when this is ready again for review!