Skip to content

Commit

Permalink
1차 릴리즈를 위한 파일 정리
Browse files Browse the repository at this point in the history
  • Loading branch information
msnodeve committed Jul 25, 2019
1 parent c2b3ac7 commit e44e17a
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 77 deletions.
Binary file modified .DS_Store
Binary file not shown.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,7 @@ __pycache__
# testcode
.pytest_cache
.coverage
cov_html
cov_html

# database
migrations
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@ GREEN=\033[1;32;40m
RED=\033[1;31;40m
NC=\033[0m # No Color

database:
@bash -c "echo -e \"${GREEN}[db orm 시작]${NC}\""
python manage.py db init
python manage.py db migrate
python manage.py db upgrade

test:
@bash -c "echo -e \"${GREEN}[pytest 시작]${NC}\""
pipenv run pytest app/tests --cov-report=html:cov_html --cov-report=term --cov=app
2 changes: 0 additions & 2 deletions app/users/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
API = Namespace('Users', description="User's RESTPlus - API")
USERS_SCHEMA = UsersSchema()


@API.route('s')
class UsersAuth(Resource):
parser = reqparse.RequestParser()
Expand All @@ -40,7 +39,6 @@ def post(self):
user = Users(args_['user_id'], hash_pw, args_['user_email'])
return user.add(user, USERS_SCHEMA)


@API.route('/auth')
class UserAuth(Resource):
parser = reqparse.RequestParser()
Expand Down
37 changes: 0 additions & 37 deletions migrations/versions/bb32b366dab2_.py

This file was deleted.

37 changes: 0 additions & 37 deletions migrations/versions/d8019933f2c3_.py

This file was deleted.

0 comments on commit e44e17a

Please sign in to comment.