diff options
author | David Robillard <d@drobilla.net> | 2022-06-15 12:56:44 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-06-15 12:56:44 -0400 |
commit | d261b2d8ed786b93a37f18ebb87ed14d2e360f56 (patch) | |
tree | 6bd0ee9b99bb037be8bc75c3f5ea371ed1201200 | |
parent | 9ed4e44d929299765c834974b5bf26a7e9db4db8 (diff) | |
download | lv2-d261b2d8ed786b93a37f18ebb87ed14d2e360f56.tar.xz |
Explicitly declare sources to check for spelling
Using a wildcard is too flakey, for example it will check build directories
other than "build", flotsam in the source tree, and so on.
-rw-r--r-- | wscript | 17 |
1 files changed, 8 insertions, 9 deletions
@@ -723,22 +723,21 @@ def test(tst): check(tst.env.SORD_VALIDATE + all_files) if "CODESPELL" in tst.env: - spell_ignore = [ - "build", + spell_ignore_paths = [ "doc/pygments.css", - "lv2specgen/DTD/*", "schemas.lv2/doap.ttl", - "waflib", ] - spell_ignore_paths = [os.path.join(tst.src_path("."), x) - for x in spell_ignore] - check(tst.env.CODESPELL + [ "-d", "-q", "3", - "-S", ','.join(spell_ignore_paths), - tst.src_path("."), + "-S", ','.join(tst.src_path(p) for p in spell_ignore_paths), + tst.src_path("lv2specgen/*.*"), + tst.src_path("doc"), + tst.src_path("lv2"), + tst.src_path("plugins"), + tst.src_path("schemas.lv2"), + tst.src_path("scripts"), ]) try: |