summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorCalum Lind <calumlind@gmail.com>2018-10-05 15:24:36 +0100
committerCalum Lind <calumlind@gmail.com>2018-10-05 18:45:37 +0100
commita8a4fb69c099b82f3d35ac94e6198996971749dc (patch)
tree03ccc1f594bcf2cdffe9f93bfd4912d4a99b7361 /docs
parent6cf13d112bd619c487d8ef50f6854b94a0cb86bd (diff)
downloaddeluge-a8a4fb69c099b82f3d35ac94e6198996971749dc.tar.gz
deluge-a8a4fb69c099b82f3d35ac94e6198996971749dc.tar.bz2
deluge-a8a4fb69c099b82f3d35ac94e6198996971749dc.zip
[Lint] Exclude js and css from EOF fixer
- When running pre-commit on all files it is picking up minified js and css files. Since prettier will format correctly the source files ignore them in end-of-file fixer. - The template files in web docs can be ignored too. - Removed the unneeded `pre-commit-hooks` dependency as pre-commit resolves that itself. - Include files fixed by pre-commit.
Diffstat (limited to 'docs')
-rw-r--r--docs/source/core/index.rst2
-rw-r--r--docs/source/core/rpc.rst2
-rw-r--r--docs/source/interfaces/console.rst2
-rw-r--r--docs/source/interfaces/gtk.rst2
-rw-r--r--docs/source/interfaces/index.rst2
-rw-r--r--docs/source/interfaces/web.rst2
6 files changed, 6 insertions, 6 deletions
diff --git a/docs/source/core/index.rst b/docs/source/core/index.rst
index 1a45bd549..ac0760dc8 100644
--- a/docs/source/core/index.rst
+++ b/docs/source/core/index.rst
@@ -3,4 +3,4 @@ The Deluge Core
.. toctree::
- DelugeRPC <rpc> \ No newline at end of file
+ DelugeRPC <rpc>
diff --git a/docs/source/core/rpc.rst b/docs/source/core/rpc.rst
index b31edc791..90f553d0f 100644
--- a/docs/source/core/rpc.rst
+++ b/docs/source/core/rpc.rst
@@ -102,4 +102,4 @@ Remote API
----------
.. autoclass:: deluge.__rpcapi.RpcApi
- :members: \ No newline at end of file
+ :members:
diff --git a/docs/source/interfaces/console.rst b/docs/source/interfaces/console.rst
index 5781ee262..176d17ead 100644
--- a/docs/source/interfaces/console.rst
+++ b/docs/source/interfaces/console.rst
@@ -1,2 +1,2 @@
Deluge Console UI
-================= \ No newline at end of file
+=================
diff --git a/docs/source/interfaces/gtk.rst b/docs/source/interfaces/gtk.rst
index 51bd946ca..f8d315fe2 100644
--- a/docs/source/interfaces/gtk.rst
+++ b/docs/source/interfaces/gtk.rst
@@ -1,2 +1,2 @@
Deluge GTK UI
-============= \ No newline at end of file
+=============
diff --git a/docs/source/interfaces/index.rst b/docs/source/interfaces/index.rst
index 6ac5469bb..ac946cf5f 100644
--- a/docs/source/interfaces/index.rst
+++ b/docs/source/interfaces/index.rst
@@ -7,4 +7,4 @@ Interfaces.
Gtk Interface <gtk>
Web Interface <web>
- Console Interface <console> \ No newline at end of file
+ Console Interface <console>
diff --git a/docs/source/interfaces/web.rst b/docs/source/interfaces/web.rst
index b3ac197d9..82cb3af2e 100644
--- a/docs/source/interfaces/web.rst
+++ b/docs/source/interfaces/web.rst
@@ -16,4 +16,4 @@ for information on creating one) you are able to specify which you want to use.
There are 2 ways to enable SSL encryption in the webserver, 1 is to specify it
in your configuration (accessible via the Preferences window). The other is to
add '--ssl' when running the webserver, which will override the configuration
-value and enable SSL. \ No newline at end of file
+value and enable SSL.