-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Sylvain Hellegouarch <sh@defuze.org>
- Loading branch information
Showing
4 changed files
with
237 additions
and
122 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
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,28 @@ | ||
.PHONY: install | ||
install: | ||
pip install --upgrade pip setuptools wheel | ||
pip install -r requirements.txt | ||
|
||
.PHONY: install-dev | ||
install-dev: install | ||
pip install -r requirements-dev.txt | ||
python setup.py develop | ||
|
||
.PHONY: build | ||
build: | ||
python setup.py build | ||
|
||
.PHONY: lint | ||
lint: | ||
flake8 chaosreport/ | ||
isort --check-only --profile black chaosreport/ | ||
black --check --diff --line-length=80 chaosreport/ | ||
|
||
.PHONY: format | ||
format: | ||
isort --profile black chaosreport/ | ||
black --line-length=80 chaosreport/ | ||
|
||
.PHONY: tests | ||
tests: | ||
pytest |
Oops, something went wrong.