summaryrefslogtreecommitdiffstats
path: root/setup.cfg
diff options
context:
space:
mode:
authorCalum Lind <calumlind@gmail.com>2018-10-05 09:39:30 +0100
committerCalum Lind <calumlind@gmail.com>2018-10-05 09:45:42 +0100
commit0548bdb65540b780850b9a0138eb6da7d668a052 (patch)
tree0241bb5e2a4feb15899d90b8a21d7a9c09c6b00e /setup.cfg
parent36606fc448050bcc414769a6944145f57369f8b5 (diff)
downloaddeluge-0548bdb65540b780850b9a0138eb6da7d668a052.tar.gz
deluge-0548bdb65540b780850b9a0138eb6da7d668a052.tar.bz2
deluge-0548bdb65540b780850b9a0138eb6da7d668a052.zip
[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.
Diffstat (limited to 'setup.cfg')
-rw-r--r--setup.cfg4
1 files changed, 2 insertions, 2 deletions
diff --git a/setup.cfg b/setup.cfg
index 4809e64b5..822958602 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -23,8 +23,8 @@ known_third_party =
bbfreeze, win32verstamp,
# Ignore gtk modules, primarily for tox testing.
pygtk, gtk, gobject, gtk.gdk, pango, cairo, pangocairo,
-# Ignore sphinx dependencies.
- recommonmark,
+# Ignore other module dependencies for pre-commit isort.
+ twisted, OpenSSL, pytest, recommonmark, chardet, pkg_resources, zope, mock
known_first_party = msgfmt, deluge
order_by_type = true
not_skip = __init__.py