File tree 2 files changed +6
-2
lines changed
2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 25
25
def lint (c ):
26
26
"Run pylint on lute/ and tests/."
27
27
# Formats: https://pylint.pycqa.org/en/latest/user_guide/usage/output.html
28
- msgfmt = "--msg-template='{path} ({line:03d}): {msg} ({msg_id} {symbol})'"
29
- c .run (f"pylint { msgfmt } tasks.py lute/ tests/" )
28
+ msgfmt = [
29
+ "--ignore-patterns='zz_.*.py'" ,
30
+ "--msg-template='{path} ({line:03d}): {msg} ({msg_id} {symbol})'" ,
31
+ ]
32
+ c .run (f"pylint { ' ' .join (msgfmt )} tasks.py lute/ tests/" )
30
33
31
34
32
35
@task
Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ def test_get_language_def():
29
29
assert lang .show_romanization is False , "uses default"
30
30
assert lang .right_to_left is False , "uses default"
31
31
32
+ # pylint: disable=line-too-long
32
33
expected = [
33
34
"terms; embeddedhtml; https://simple.wiktionary.org/wiki/###; True; 1" ,
34
35
"terms; popuphtml; https://www.collinsdictionary.com/dictionary/english/###; True; 2" ,
You can’t perform that action at this time.
0 commit comments