[gnome-builder] plugin: rstcheck: Update configure_launcher



commit 3210096ba040b5d18a75f00c8413df9fbf14f8e1
Author: Veli Tasalı <veli tasali gmail com>
Date:   Mon Mar 21 20:35:16 2022 +0300

    plugin: rstcheck: Update configure_launcher
    
    This adds the 'file' and 'contents' parameters to
    the plugin.

 src/plugins/rstcheck/rstcheck_plugin.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/plugins/rstcheck/rstcheck_plugin.py b/src/plugins/rstcheck/rstcheck_plugin.py
index 2b5b59bd8..4d016bcd6 100644
--- a/src/plugins/rstcheck/rstcheck_plugin.py
+++ b/src/plugins/rstcheck/rstcheck_plugin.py
@@ -18,7 +18,7 @@ class RstcheckDiagnosticProvider(Ide.DiagnosticTool):
         super().__init__(*args, **kwargs)
         self.set_program_name('rstcheck')
 
-    def do_configure_launcher(self, launcher):
+    def do_configure_launcher(self, launcher, file, contents):
         # rstcheck - signifies that stdin will be used
         launcher.push_argv('-')
 


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