From 0548bdb65540b780850b9a0138eb6da7d668a052 Mon Sep 17 00:00:00 2001 From: Calum Lind Date: Fri, 5 Oct 2018 09:39:30 +0100 Subject: [Lint] Add pre-commit config - Added a pre-commit config for code linting and formatting. It will auto-format python, javascript, CSS, YAML and markdown files to save manually doing so. To install: pip install pre-commit pre-commit install - Added a default virtual environment directory to gitignore. --- .gitignore | 1 + 1 file changed, 1 insertion(+) (limited to '.gitignore') diff --git a/.gitignore b/.gitignore index 1f6576205..1a311cdf2 100644 --- a/.gitignore +++ b/.gitignore @@ -17,3 +17,4 @@ deluge.pot .build_data* osx/app RELEASE-VERSION +.venv -- cgit v1.2.3