mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-09-24 18:48:13 +08:00
Add auto-formatting to client and server modules
One thing that can make linting faster is auto-formatting. This commit adds the yapf auto-formatting tool to the server module and uses eslint's "fix" functionality to speed up the linting/formatting process.
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
[style]
|
||||
based_on_style = google
|
||||
@@ -1,3 +1,7 @@
|
||||
.PHONY: fmt
|
||||
fmt:
|
||||
yapf -ir .
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
rm -f app/web/templates/index.html
|
||||
|
||||
Reference in New Issue
Block a user