diff --git a/lib/python/qmk/json_schema.py b/lib/python/qmk/json_schema.py
index 00ae43a3d3..5b4b3f457a 100644
--- a/lib/python/qmk/json_schema.py
+++ b/lib/python/qmk/json_schema.py
@@ -41,7 +41,7 @@ def create_validator(schema):
     """
     schema_store = {}
 
-    for schema_file in Path(f'data/schemas/').glob('*.jsonschema'):
+    for schema_file in Path('data/schemas').glob('*.jsonschema'):
         schema_data = load_jsonschema(schema_file)
         if not isinstance(schema_data, dict):
             cli.log.debug('Skipping schema file %s', schema_file)