[gobject-introspection] flake8: fix invalid placeholder in GtkDocAnnotatable repr format string



commit aaeb15ec1a841b7581d10db4f403a571d5d58e19
Author: Christoph Reiter <reiter christoph gmail com>
Date:   Thu May 14 09:48:55 2020 +0200

    flake8: fix invalid placeholder in GtkDocAnnotatable repr format string
    
    The newest flake8 has started to detect this.

 giscanner/annotationparser.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/giscanner/annotationparser.py b/giscanner/annotationparser.py
index 16a66f33..63212963 100644
--- a/giscanner/annotationparser.py
+++ b/giscanner/annotationparser.py
@@ -566,7 +566,7 @@ class GtkDocAnnotatable(object):
         self.annotations = GtkDocAnnotations()
 
     def __repr__(self):
-        return "<GtkDocAnnotatable '%s' %r>" % (self.annotations, )
+        return "<GtkDocAnnotatable '%s'>" % (self.annotations, )
 
     def validate(self):
         '''


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