Skip to content

Commit 09fb2e7

Browse files
committed
[Ref] move lint to pre-commit
1 parent 7e56f8d commit 09fb2e7

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ clean-pyc: ## remove Python file artifacts
2828
find . -name '*~' -exec rm -f {} +
2929

3030
lint: ## check style with flake8
31-
flake8 django_db_comments tests
31+
pre-commit run
3232

3333
test: ## run tests quickly with the default Python
3434
python runtests.py tests

requirements_dev.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
bumpversion==0.5.3
22
twine==4.0.0
33
wheel==0.30.0
4+
pre-commit

0 commit comments

Comments
 (0)