mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-08 02:38:11 +08:00
Black -- formatter for python (#508)
* Add black * use black to format code * Black version
This commit is contained in:
+5
-2
@@ -2,11 +2,14 @@
|
||||
if __package__ is None:
|
||||
import sys
|
||||
from pathlib import Path
|
||||
|
||||
PKG_PATH = Path(__file__).parent
|
||||
sys.path.insert(0, str(PKG_PATH.parent))
|
||||
import server
|
||||
import server # noqa F401
|
||||
|
||||
__package__ = PKG_PATH.name
|
||||
|
||||
# Main thing
|
||||
from .cli.cli import cli
|
||||
from .cli.cli import cli # noqa F402
|
||||
|
||||
cli()
|
||||
|
||||
Reference in New Issue
Block a user