diff options
author | Calum Lind <calumlind@gmail.com> | 2018-10-05 09:39:30 +0100 |
---|---|---|
committer | Calum Lind <calumlind@gmail.com> | 2018-10-05 09:45:42 +0100 |
commit | 0548bdb65540b780850b9a0138eb6da7d668a052 (patch) | |
tree | 0241bb5e2a4feb15899d90b8a21d7a9c09c6b00e /setup.cfg | |
parent | 36606fc448050bcc414769a6944145f57369f8b5 (diff) | |
download | deluge-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.cfg | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |