Skip to content

Commit c83de11

Browse files
committed
Add pre-commit to lint
1 parent 3f147af commit c83de11

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
PROJECT_NAME := $(shell basename `pwd`)
2-
PACKAGE_NAME := py-grim
2+
PACKAGE_NAME := grim
33

44
.PHONY: clean clean-test clean-pyc clean-build docs help test test-all
55
.DEFAULT_GOAL := help
@@ -58,6 +58,7 @@ lint: ## check style with flake8
5858
exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
5959
flake8 $(PACKAGE_NAME) tests --count --select=E9,F63,F7,F82 --show-source --statistics
6060
flake8 $(PACKAGE_NAME) --exit-zero --max-complexity=10 --max-line-length=127 --statistics
61+
pre-commit
6162

6263
behave: clean-test ## run the behave tests, generate and serve report
6364
- behave -f allure_behave.formatter:AllureFormatter -o allure_report

0 commit comments

Comments
 (0)