aboutsummaryrefslogtreecommitdiffstats
path: root/lv2specgen
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2025-11-13 17:55:05 -0500
committerDavid Robillard <d@drobilla.net>2025-11-13 17:55:05 -0500
commitce0361d55707cc84821e693731712e6f81a2a7dc (patch)
tree753a386e83365aefb19aebe0dd7029cc051a53a2 /lv2specgen
parent7ae4bb49e19dd3333defaf429e574dd1ded39a16 (diff)
downloadlv2-ce0361d55707cc84821e693731712e6f81a2a7dc.tar.xz
Suppress pylint warnings in scripts and simplify lint tests
Diffstat (limited to 'lv2specgen')
-rwxr-xr-xlv2specgen/lv2docgen.py9
-rwxr-xr-xlv2specgen/lv2specgen.py33
2 files changed, 42 insertions, 0 deletions
diff --git a/lv2specgen/lv2docgen.py b/lv2specgen/lv2docgen.py
index 9b1685a..2a0e2a2 100755
--- a/lv2specgen/lv2docgen.py
+++ b/lv2specgen/lv2docgen.py
@@ -3,6 +3,15 @@
# Copyright 2012 David Robillard <d@drobilla.net>
# SPDX-License-Identifier: ISC
+# pylint: disable=consider-using-f-string
+# pylint: disable=invalid-name
+# pylint: disable=missing-function-docstring
+# pylint: disable=missing-module-docstring
+# pylint: disable=pointless-string-statement
+# pylint: disable=redefined-outer-name
+# pylint: disable=unspecified-encoding
+# pylint: disable=use-implicit-booleaness-not-len
+
import errno
import os
import sys
diff --git a/lv2specgen/lv2specgen.py b/lv2specgen/lv2specgen.py
index 28c1500..00d8891 100755
--- a/lv2specgen/lv2specgen.py
+++ b/lv2specgen/lv2specgen.py
@@ -9,6 +9,39 @@
# Based on SpecGen:
# <http://forge.morfeo-project.org/wiki_en/index.php/SpecGen>
+# pylint: disable=broad-exception-caught
+# pylint: disable=c-extension-no-member
+# pylint: disable=cell-var-from-loop
+# pylint: disable=consider-iterating-dictionary
+# pylint: disable=consider-using-f-string
+# pylint: disable=deprecated-module
+# pylint: disable=global-statement
+# pylint: disable=global-variable-not-assigned
+# pylint: disable=invalid-name
+# pylint: disable=missing-function-docstring
+# pylint: disable=missing-module-docstring
+# pylint: disable=no-else-return
+# pylint: disable=no-member
+# pylint: disable=pointless-string-statement
+# pylint: disable=possibly-used-before-assignment
+# pylint: disable=redefined-argument-from-local
+# pylint: disable=redefined-builtin
+# pylint: disable=redefined-outer-name
+# pylint: disable=too-many-arguments
+# pylint: disable=too-many-boolean-expressions
+# pylint: disable=too-many-branches
+# pylint: disable=too-many-lines
+# pylint: disable=too-many-locals
+# pylint: disable=too-many-positional-arguments
+# pylint: disable=too-many-statements
+# pylint: disable=unspecified-encoding
+# pylint: disable=unused-argument
+# pylint: disable=use-implicit-booleaness-not-comparison
+# pylint: disable=use-implicit-booleaness-not-len
+# pylint: disable=use-maxsplit-arg
+# pylint: disable=used-before-assignment
+# pylint: disable=wrong-import-order
+
import datetime
import markdown
import markdown.extensions