-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use black, the canonical python code formatter
- Loading branch information
1 parent
9f04625
commit a1b0911
Showing
13 changed files
with
319 additions
and
156 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,3 +6,5 @@ build | |
*# | ||
*.pyc | ||
.gradle | ||
.idea | ||
venv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,21 @@ | ||
# Contributing to Batch SQL Translation Client | ||
|
||
## Install | ||
|
||
Install the client dependencies (including dev dependencies) in a | ||
virtualenv. | ||
|
||
```shell | ||
git clone [email protected]:google/dwh-migration-tools.git | ||
cd dwh-migration-tools | ||
python3 -m venv venv | ||
source venv/bin/activate | ||
pip install -r client/requirements.txt | ||
pip install -r client/requirements_dev.txt | ||
``` | ||
|
||
## Before committing | ||
|
||
```shell | ||
cd client && make format | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
SHELL := /bin/bash -ex | ||
|
||
.PHONY: format | ||
format: | ||
black . | ||
isort . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.