diff options
Diffstat (limited to 'python')
-rw-r--r-- | python/tidy/tidy.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/python/tidy/tidy.py b/python/tidy/tidy.py index 2129cd05114..21179885148 100644 --- a/python/tidy/tidy.py +++ b/python/tidy/tidy.py @@ -465,6 +465,8 @@ def check_toml(file_name, lines): yield (idx + 1, "found asterisk instead of minimum version number") for license_line in licenses_toml: ok_licensed |= (license_line in line) + if "license.workspace" in line: + ok_licensed = True if not ok_licensed: yield (0, ".toml file should contain a valid license.") |