Roderic Day 5年前
コミット
c2d6c6da17
1個のファイルの変更3行の追加1行の削除
  1. +3
    -1
      makefile

+ 3
- 1
makefile ファイルの表示

@@ -3,7 +3,6 @@ DATA = $(shell echo $(FILE) | sed -e s/\.py/\.dat/)
PYTHONPATH=.

main: venv/
# @venv/bin/flake8 --exclude=venv/
@touch $(DATA)
@cat $(DATA) | venv/bin/python -u $(FILE)

@@ -12,3 +11,6 @@ venv/: requirements.txt
python3 -m venv venv
venv/bin/pip install -r requirements.txt
touch requirements.txt venv/
# install flake8 git hook
echo 'venv/bin/flake8 --exclude=venv/' > .git/hooks/pre-commit
chmod +x .git/hooks/pre-commit

読み込み中…
キャンセル
保存