diff --git a/.DS_Store b/.DS_Store deleted file mode 100644 index 153f549..0000000 Binary files a/.DS_Store and /dev/null differ diff --git a/.gitignore b/.gitignore index 4bb2a84..c534ab5 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ __pycache__/ .coverage htmlcov/ .venv/ +.DS_Store diff --git a/scripts/validate_package.py b/scripts/validate_package.py index a5c3217..30e7fb3 100644 --- a/scripts/validate_package.py +++ b/scripts/validate_package.py @@ -36,5 +36,5 @@ for name, size in (("icon.png", 256), ("icon@2x.png", 512), assert (width, height) == (size, size), f"{name} is {width}x{height}, expected {size}x{size}" assert color_type == 6, f"{name} needs an alpha channel" tracked = subprocess.check_output(["git", "ls-files", "custom_components"], cwd=root, text=True).splitlines() -assert not any("__pycache__" in path or path.endswith((".pyc", ".pyo")) for path in tracked) +assert not any("__pycache__" in path or path.endswith((".pyc", ".pyo", ".DS_Store")) for path in tracked) print("Package metadata, translations, brand icons and tracked component files passed")