Skip to content

Commit

Permalink
issue: IOMirea#7 | Fixing flake8 bug, adding flake8 to requirements.t…
Browse files Browse the repository at this point in the history
…xt & modifying the makefile
  • Loading branch information
suv27 committed Oct 5, 2019
1 parent 703c315 commit c05f9e9
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
10 changes: 8 additions & 2 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ preInstall:
pip install -U pytest
pytest --version

.PHONY: lint
lint:

.PHONY: test
test: .cleanCoverage
pytest $(TEST_DIR)/unit
Expand All @@ -35,7 +38,10 @@ openReport: .cleanCoverage

.PHONY: help
help:
@echo 'createVirtualenv - '
@echo 'preInstall - '
@echo '==================================== HELP ===================================='
@echo 'createVirtualenv - creates a virtualenv'
@echo 'preInstall - install all run pre requisites to run tests and coverage report'
@echo 'test - run unit tests on all Python files'
@echo 'openReport - check code coverage of all Python files'
@echo 'lint - run pylint and flake8 on all your Python files'
@echo ''
2 changes: 1 addition & 1 deletion tests/unit/constants_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@

def test_NoValue_object():
"""
Should ensure the NoValue property is an object
Should ensure the NoValue property is an object
"""
assert type(constants.NoValue) == object
4 changes: 1 addition & 3 deletions tests/utils/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,4 @@ aioredis==1.3.0
coverage==4.5.4
isort==4.3.21
black==19.3b0
appdirs==1.4.3
click==7.0
toml==0.10.0
flake8==3.7.8

0 comments on commit c05f9e9

Please sign in to comment.