Update lowrisc_misc-linters to lowRISC/misc-linters@266d9c3
Update code from upstream repository https://github.com/lowRISC/misc-
linters.git to revision 266d9c3e5bf9652525d3c6cea5c205d43e087433
* Weaken isinstance check in licence-checker.py (Rupert Swarbrick)
Signed-off-by: Sam Elliott <selliott@lowrisc.org>
diff --git a/util/lowrisc_misc-linters.lock.hjson b/util/lowrisc_misc-linters.lock.hjson
index dc78fa5..4593ad1 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: e538500ebb7cd1b2cd5a8f18260f1cbafd7187c3
+ rev: 266d9c3e5bf9652525d3c6cea5c205d43e087433
}
}
diff --git a/util/lowrisc_misc-linters/licence-checker/licence-checker.py b/util/lowrisc_misc-linters/licence-checker/licence-checker.py
index 71fd5c2..b5f798b 100755
--- a/util/lowrisc_misc-linters/licence-checker/licence-checker.py
+++ b/util/lowrisc_misc-linters/licence-checker/licence-checker.py
@@ -260,7 +260,8 @@
return
if not isinstance(styles, list):
- assert isinstance(styles, LineCommentStyle)
+ assert (isinstance(styles, LineCommentStyle) or
+ isinstance(styles, BlockCommentStyle))
styles = [styles]
problems = []