[pitivi] Remove unneeded pylint missing-docstring disabling



commit 2f304d3f36490429f824a91f01bfca37672a5671
Author: Alexandru Băluț <alexandru balut gmail com>
Date:   Mon Jan 6 01:28:32 2020 +0100

    Remove unneeded pylint missing-docstring disabling
    
    Our docstrings are checked by pydocstyle not pylint.

 build/flatpak/pitivi-flatpak     | 2 +-
 plugins/console/consolebuffer.py | 2 --
 plugins/console/utils.py         | 2 --
 tests/ptv_testsuite.py           | 1 -
 tests/test_application.py        | 2 +-
 tests/test_misc.py               | 2 +-
 tests/test_render.py             | 2 +-
 tests/test_settings.py           | 2 +-
 tests/test_system.py             | 1 -
 9 files changed, 5 insertions(+), 11 deletions(-)
---
diff --git a/build/flatpak/pitivi-flatpak b/build/flatpak/pitivi-flatpak
index 2854147f..d7c9137d 100755
--- a/build/flatpak/pitivi-flatpak
+++ b/build/flatpak/pitivi-flatpak
@@ -14,7 +14,7 @@
 # Lesser General Public License for more details.
 # You should have received a copy of the GNU Lesser General Public
 # License along with this program; if not, see <http://www.gnu.org/licenses/>.
-# pylint: disable=missing-docstring,invalid-name
+# pylint: disable=invalid-name
 import argparse
 import configparser
 import json
diff --git a/plugins/console/consolebuffer.py b/plugins/console/consolebuffer.py
index 5fa2d7f6..4b39897e 100644
--- a/plugins/console/consolebuffer.py
+++ b/plugins/console/consolebuffer.py
@@ -1,6 +1,4 @@
 # -*- coding: utf-8 -*-
-# pylint: disable=missing-docstring
-# -*- coding: utf-8 -*-
 # Pitivi Developer Console
 # Copyright (c) 2017-2018, Fabian Orccon <cfoch fabian gmail com>
 #
diff --git a/plugins/console/utils.py b/plugins/console/utils.py
index 2739f13b..e3acd56b 100644
--- a/plugins/console/utils.py
+++ b/plugins/console/utils.py
@@ -1,6 +1,4 @@
 # -*- coding: utf-8 -*-
-# pylint: disable=missing-docstring
-# -*- coding: utf-8 -*-
 # Pitivi Developer Console
 # Copyright (c) 2017-2018, Fabian Orccon <cfoch fabian gmail com>
 #
diff --git a/tests/ptv_testsuite.py b/tests/ptv_testsuite.py
index 201de7e9..74bd8706 100644
--- a/tests/ptv_testsuite.py
+++ b/tests/ptv_testsuite.py
@@ -14,7 +14,6 @@
 #
 # You should have received a copy of the GNU Lesser General Public
 # License along with this program; if not, see <http://www.gnu.org/licenses/>.
-# pylint: disable=missing-docstring,invalid-name
 """GstValidateLauncher testsuite to run our unit tests."""
 import os
 import sys
diff --git a/tests/test_application.py b/tests/test_application.py
index a2ed3963..cc00f535 100644
--- a/tests/test_application.py
+++ b/tests/test_application.py
@@ -15,7 +15,7 @@
 # You should have received a copy of the GNU Lesser General Public
 # License along with this program; if not, see <http://www.gnu.org/licenses/>.
 """Tests for the application module."""
-# pylint: disable=missing-docstring,protected-access,no-self-use
+# pylint: disable=protected-access,no-self-use
 import tempfile
 from unittest import mock
 
diff --git a/tests/test_misc.py b/tests/test_misc.py
index 1e6bf3a3..b995a458 100644
--- a/tests/test_misc.py
+++ b/tests/test_misc.py
@@ -63,7 +63,7 @@ class PathWalkerTest(common.TestCase):
         mainloop = common.create_main_loop()
         received_uris = []
 
-        def done_cb(uris):  # pylint: disable=missing-docstring
+        def done_cb(uris):
             received_uris.extend(uris)
             mainloop.quit()
         walker = PathWalker(uris, done_cb)
diff --git a/tests/test_render.py b/tests/test_render.py
index 887b50d2..73f6ecb0 100644
--- a/tests/test_render.py
+++ b/tests/test_render.py
@@ -95,7 +95,7 @@ class TestRender(BaseTestMediaLibrary):
 
         mainloop = common.create_main_loop()
 
-        def asset_added_cb(project, asset):  # pylint: disable=missing-docstring
+        def asset_added_cb(project, asset):
             mainloop.quit()
 
         project.connect("asset-added", asset_added_cb)
diff --git a/tests/test_settings.py b/tests/test_settings.py
index 60d0845d..a9fb039c 100644
--- a/tests/test_settings.py
+++ b/tests/test_settings.py
@@ -15,7 +15,7 @@
 # You should have received a copy of the GNU Lesser General Public
 # License along with this program; if not, see <http://www.gnu.org/licenses/>.
 """Tests for the pitivi.settings module."""
-# pylint: disable=missing-docstring,no-self-use
+# pylint: disable=no-self-use
 import os
 import tempfile
 from unittest import mock
diff --git a/tests/test_system.py b/tests/test_system.py
index b2163d02..0600c853 100644
--- a/tests/test_system.py
+++ b/tests/test_system.py
@@ -15,7 +15,6 @@
 # You should have received a copy of the GNU Lesser General Public
 # License along with this program; if not, see <http://www.gnu.org/licenses/>.
 """Tests for the utils.system module."""
-# pylint: disable=missing-docstring
 from unittest import TestCase
 
 from pitivi.utils.system import System


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]