Update lowrisc_misc-linters to lowRISC/misc-linters@637df45
Update code from upstream repository https://github.com/lowRISC/misc-
linters.git to revision 637df45dcc7d3012b6715e95f7b5e6d6a828af72
* Fail more helpfully when licence-checker run without config (Rupert
Swarbrick)
Signed-off-by: Rupert Swarbrick <rswarbrick@lowrisc.org>
diff --git a/util/lowrisc_misc-linters.lock.hjson b/util/lowrisc_misc-linters.lock.hjson
index df16465..2c471e3 100644
--- a/util/lowrisc_misc-linters.lock.hjson
+++ b/util/lowrisc_misc-linters.lock.hjson
@@ -9,6 +9,6 @@
upstream:
{
url: https://github.com/lowRISC/misc-linters.git
- rev: 83e07743a75d8a5425dd7074f64e8ce00439144c
+ rev: 637df45dcc7d3012b6715e95f7b5e6d6a828af72
}
}
diff --git a/util/lowrisc_misc-linters/licence-checker/licence-checker.py b/util/lowrisc_misc-linters/licence-checker/licence-checker.py
index 70d6d17..fef1b98 100755
--- a/util/lowrisc_misc-linters/licence-checker/licence-checker.py
+++ b/util/lowrisc_misc-linters/licence-checker/licence-checker.py
@@ -8,7 +8,6 @@
import fnmatch
import logging
import subprocess
-from itertools import groupby
from pathlib import Path
from types import SimpleNamespace
@@ -330,6 +329,7 @@
parser.add_argument("--config",
metavar="config.hjson",
type=argparse.FileType('r', encoding='UTF-8'),
+ required=True,
help="HJSON file to read for licence configuration.")
parser.add_argument("paths",
metavar="path",