Skip to content

Commit

Permalink
Add code format configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
laughingman7743 committed May 2, 2020
1 parent 8453395 commit c239256
Show file tree
Hide file tree
Showing 6 changed files with 372 additions and 206 deletions.
9 changes: 9 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
.PHONY: fmt
fmt:
pipenv run isort -rc .
pipenv run black .

.PHONY: chk
chk:
pipenv run isort -c -rc .
pipenv run black --check --diff .
7 changes: 7 additions & 0 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ url = "https://pypi.python.org/simple"
verify_ssl = true
name = "pypi"

[pipenv]
allow_prereleases = true

[packages]
e1839a8 = {path = ".",extras = ["sqlalchemy", "pandas"],editable = true}

Expand All @@ -11,7 +14,11 @@ awscli = "*"
tox = "*"
twine = "*"
wheel = "*"
black = "*"
isort = "*"
pytest = ">=3.5"
pytest-cov = "*"
pytest-flake8 = ">=1.0.1"
pytest-black = "*"
pytest-isort = "*"
pytest-xdist = "*"
Loading

0 comments on commit c239256

Please sign in to comment.