Commit Graph

4 Commits

Author SHA1 Message Date
Eero af Heurlin df5b2c16d5
Add pre-commit.com framework hooks (#7176)
* Add pre-commit hooks for basic standards conformity checking

* These should not be marked as executable

* These lack shebangs so marking them executable did not do anyone any good

* add pre-commit to dev requirements

* use pre-commit framework for the hook

* Move the pre-commit config outside of root

As discusses in https://github.com/kivy/kivy/pull/7176#discussion_r511240059

* Document that pre-commit is used and how to skip checks if needed

* Mark the old hook script as deprecated
2020-12-09 22:48:48 -05:00
Peter Badida 5911e86a02 Fix close_settings missing argument
App class doesn't require it and when there's no settings panel opened, it'll crash
2017-02-20 00:28:59 +01:00
Saqib Azim 5913d861f4 Fix for pep8 errors (#4815)
* Fix pep8 errors

* Fix pep8 errors

* Fixing pep8 errors

* fixing pep8 errors

* E731 pep8 fixes resolved for some files

* fix for E741 and E305 for some files

* pep8 fixes
2016-12-17 09:50:52 +02:00
Zen-CODE 80831744cc Added example of settings usage (custom panel, save and restore) 2015-09-20 08:39:15 +02:00