From 9356f98d7f64107f6c121cefb5c6209dee081c88 Mon Sep 17 00:00:00 2001
From: "Anders H. Rebner" <anderhre@stud.ntnu.no>
Date: Sat, 14 Mar 2020 14:20:27 +0100
Subject: [PATCH] #44 Beskrivelse av pylint-ignore

---
 soitool/codebook_to_pdf.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/soitool/codebook_to_pdf.py b/soitool/codebook_to_pdf.py
index 9fd5e78..bddda6d 100644
--- a/soitool/codebook_to_pdf.py
+++ b/soitool/codebook_to_pdf.py
@@ -143,6 +143,10 @@ def get_codebook_data(codebook_size=CodebookSize.FULL):
 
 
 # pylint: disable=W0223
+# Disabling pylint-warning 'Method is abstract in class but is not overridden'.
+# The methods are 'inkAnnotation' and 'inkAnnotation0', and they are supposed
+# to add PDF-annotations. PDF-annotations enable PDF-editing such as forms, 
+# text highlighting etc, and are not needed in the generated codebook-PDF.
 class PageNumCanvas(canvas.Canvas):
     """Subclassed Canvas for adding 'page x of y' at bottom of all pages.
 
-- 
GitLab