ome / omero-ms-zarr

Experimental micro-service for implementing the Zarr spec over HTTP
https://www.openmicroscopy.org/omero
GNU General Public License v2.0
17 stars 12 forks source link

Autoformat with black. Add travis stages. #27

Closed manics closed 4 years ago

manics commented 4 years ago

Closes https://github.com/ome/omero-ms-zarr/issues/24

To reformat Python code files after editting simply run pre-commit run -a.

This also splits Travis into three stages so it's easier to see whats failed.

mtbc commented 4 years ago

Interesting to see its preference for " over '!

manics commented 4 years ago

Looking at omero-py:

$ git grep -o \' | wc -l
    9542

$ git grep -o \" | wc -l
   41802
joshmoore commented 4 years ago

Thanks for setting that up, @manics. Before we activate on other, older repositories, I'd say we should review some of the output together to see if we can't minimize some churn by adjusting the configuration.