forked from abhishekkrthakur/colabcode
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
59 lines (42 loc) · 879 Bytes
/
Makefile
File metadata and controls
59 lines (42 loc) · 879 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
develop:
pip install -q -U pip
pip install -q -r requirements_dev.txt
pre-commit install
make precommit
install:
pip install -q -r requirements.txt
full_install: develop install
precommit:
git add .
pre-commit run
git add .
black:
black colabcode tests
isort:
isort colabcode tests
pylint:
pylint colabcode tests --min-public-methods 0
mypy:
mypy colabcode tests --ignore-missing-imports
flake:
flake8 colabcode tests --ignore=E501
test:
#pytest tests/*
echo "No tests set yet"
check: black flake test precommit
fullcheck: mypy check pylint
make m_pull:
git pull upstream master
make m_push:
git push origin master
make m_pull_fup:
git pull origin for_upstream
make fup_pull:
git checkout for_upstream
git pull upstream master
make fup_push:
git checkout for_upstream
git push origin for_upstream
make amend:
git add .
git commit --amend