Skip to main content

vendor_css_files: add some missing docstrings

ID
5879424
date
2026-05-19 16:02:04+00:00
author
Alex Chan <alex@alexwlchan.net>
parent
660fd83
message
vendor_css_files: add some missing docstrings
changed files
2 files, 5 additions, 1 deletion

Changed files

test_vendor_css_files.py (654) → test_vendor_css_files.py (693)

diff --git a/test_vendor_css_files.py b/test_vendor_css_files.py
index b99808c..f620de9 100644
--- a/test_vendor_css_files.py
+++ b/test_vendor_css_files.py
@@ -1,3 +1,7 @@
+"""
+Tests for `vendor_css_files`.
+"""
+
 import pytest
 
 from vendor_css_files import get_colour_variable

vendor_css_files.py (4561) → vendor_css_files.py (4560)

diff --git a/vendor_css_files.py b/vendor_css_files.py
index 66abe60..8f63270 100755
--- a/vendor_css_files.py
+++ b/vendor_css_files.py
@@ -47,7 +47,7 @@ def get_alexwlchan_net_css(css_name: str) -> tuple[str, str]:
 
 def get_colour_variable(css: str, *, name: str) -> str:
     """
-    Extracts a CSS variable from a snippet of CSS.
+    Extract a CSS variable from a snippet of CSS.
     """
     # Example matches:
     #