Skip to content

Commit 62076a5

Browse files
committed
[skip ci] update: check rule
1 parent d70db8a commit 62076a5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Makefile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,14 @@ init:
44
python3 -m pip install -U pipenv setuptools wheel
55
python3 -m pipenv install --dev
66

7+
format:
8+
isort --profile black -l 119 pytorch_optimizer setup.py lint.py
9+
black -S -l 119 pytorch_optimizer setup.py lint.py
10+
711
check:
812
isort --check-only --profile black -l 119 pytorch_optimizer setup.py
913
black -S -l 119 --check pytorch_optimizer setup.py
10-
pylint pytorch_optimizer
14+
python3 lint.py
1115

1216
build:
1317
python3 setup.py sdist bdist_wheel
@@ -16,10 +20,6 @@ deploy:
1620
python3 -m twine check dist/*
1721
python3 -m twine upload dist/*
1822

19-
format:
20-
isort --profile black -l 119 pytorch_optimizer setup.py
21-
black -S -l 119 pytorch_optimizer setup.py
22-
2323
requirements:
2424
python3 -m pipenv lock -r > requirements.txt
2525
python3 -m pipenv lock -dr > requirements-dev.txt

0 commit comments

Comments
 (0)