Skip to content
This repository was archived by the owner on Jan 26, 2023. It is now read-only.

Commit 8d0792a

Browse files
committed
Adjust test handling
1 parent 339ecfc commit 8d0792a

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,8 @@ matrix:
1717

1818
install: pip install .
1919

20+
script:
21+
- python setup.py test
22+
2023
notifications:
2124
email: false

Makefile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,13 @@ install: ## Install local, editable version of the gitcoin client.
1818
test: ## Run pytest.
1919
@python setup.py test
2020

21+
fix-isort: ## Run isort against python files in the project directory.
22+
@isort -rc --atomic .
23+
24+
fix-yapf: ## Run yapf against any included or newly introduced Python code.
25+
@yapf -i -r -p .
26+
27+
fix: fix-isort fix-yapf ## Attempt to run all fixes against the project directory.
28+
2129
help:
2230
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'

setup.cfg

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ python_files =
1717
addopts =
1818
-rf
1919
--isort
20-
--cov
2120

2221
[flake8]
2322
max-line-length = 120

0 commit comments

Comments
 (0)