banksalad / python

🍪 🐍 Use this template if you love Python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pipenv 옵션 추가

winterjung opened this issue · comments

  • pipenv 사용 여부를 옵션으로 받게끔. 만약 사용한다면
  • 기본적인 Pipfile 추가 -> pytest, pylint 등
  • 마찬가지로 Pipfile.lock 추가 -> 굳이 추가해야하나 싶기도?
  • cookiecutter 구현상 일단 추가해두고 post_gen_template.py에서 if 문으로 pipenv가 n 이면 rm으로 Pipfile, Pipfile.lock 삭제해야함
  • .gitattributes 추가 -> git diff, git add 등에서 잡히지 않음. GitHub에선 잡힘
  • Makefilepipenv run make format 등으로 변경
    • 이렇게 해야 travis 라던가 로컬에서 쓰기 편해지고 실수도 안발생함

Pipfile.lock은 hash관리의 어려움으로 제외했고
Makefile 변경은 하지않고 travis의 script 옵션으로 넣을 예정입니다.