Skip to content

Commit

Permalink
add Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
ChinSekYi committed Jul 2, 2024
1 parent fa17e9f commit 0ddde08
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 1 deletion.
18 changes: 18 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
install:
pip install --upgrade pip &&\
pip install -r requirements.txt

test:
python -m pytest --nbval notebook/EDA.ipynb

format:
isort *.py
black *.py

run:
python main.py

lint:
pylint --disable=R,C main.py

all: install lint
2 changes: 2 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,6 @@ catboost
dill
xgboost
Flask
pytest
pylint
-e .
2 changes: 1 addition & 1 deletion test.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.1.-1"
"version": "3.1.undefined"
}
},
"nbformat": 4,
Expand Down

0 comments on commit 0ddde08

Please sign in to comment.