mirror of https://github.com/kivy/kivy.git
14 lines
293 B
Makefile
14 lines
293 B
Makefile
PYTHON = python
|
|
CHECKSCRIPT = kivy/tools/pep8checker/pep8kivy.py
|
|
KIVY_DIR = kivy/
|
|
|
|
style:
|
|
$(PYTHON) $(CHECKSCRIPT) $(KIVY_DIR)
|
|
|
|
stylereport:
|
|
$(PYTHON) $(CHECKSCRIPT) -html $(KIVY_DIR)
|
|
|
|
hook:
|
|
cp kivy/tools/pep8checker/pre-commit.githook .git/hooks/pre-commit
|
|
chmod +x .git/hooks/pre-commit
|