diff options
author | Martin Robinson <mrobinson@igalia.com> | 2024-06-18 11:22:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-18 09:22:08 +0000 |
commit | 4a7f3bac7cadff129d15e3b0a6471a7ed3c4aaa4 (patch) | |
tree | ac47671f7487383aa11f9a3f2e531e9ee34e50a6 /python/tidy/tidy.py | |
parent | 42b09d483fbcc79345844d34b88b3ff4ae7a9735 (diff) | |
download | servo-4a7f3bac7cadff129d15e3b0a6471a7ed3c4aaa4.tar.gz servo-4a7f3bac7cadff129d15e3b0a6471a7ed3c4aaa4.zip |
Use workspace definitions for all crates and update to the 2021 edition (#32544)
Diffstat (limited to 'python/tidy/tidy.py')
-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.") |