From 80eda7cd2b043c5ee3f48fd0630b2811af313da7 Mon Sep 17 00:00:00 2001 From: Michael Scott Asato Cuthbert Date: Sun, 27 Oct 2024 19:17:01 -1000 Subject: [PATCH] two places for lint --- .pylintrc | 1 + music21/test/testLint.py | 2 ++ 2 files changed, 3 insertions(+) diff --git a/.pylintrc b/.pylintrc index d823a13bc..b901d91df 100644 --- a/.pylintrc +++ b/.pylintrc @@ -69,6 +69,7 @@ disable= too-many-lines, # yes, someday too-many-return-statements, # we'll see too-many-instance-attributes, # maybe later + too-many-positional-arguments, # try to get down to 6 first... # no-self-use, # moved to optional extension. invalid-name, # these are good music21 names; fix the regexp instead... too-few-public-methods, # never remove or set to 1 diff --git a/music21/test/testLint.py b/music21/test/testLint.py index 245aec948..9f55a060e 100644 --- a/music21/test/testLint.py +++ b/music21/test/testLint.py @@ -12,6 +12,8 @@ from __future__ import annotations # this requires pylint to be installed and available from the command line +# Anything changed here also needs to be changed at .pylintrc + import argparse import os