Skip to content

Commit 2ff2107

Browse files
committed
widen package regex
1 parent 1db091c commit 2ff2107

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

minimum_versions.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,22 +31,22 @@
3131
"packages": {
3232
"type": "object",
3333
"patternProperties": {
34-
"^[a-z][-a-z_]*$": {"type": "integer", "minimum": 1}
34+
"^[a-zA-Z][a-zA-Z0-9_]*$": {"type": "integer", "minimum": 1}
3535
},
3636
"additionalProperties": False,
3737
},
3838
"default": {"type": "integer", "minimum": 1},
3939
"overrides": {
4040
"type": "object",
4141
"patternProperties": {
42-
"^[a-z][-a-z_]*": {"type": "string", "format": "date"}
42+
"^[a-zA-Z][a-zA-Z0-9_-]*": {"type": "string", "format": "date"}
4343
},
4444
"additionalProperties": False,
4545
},
4646
"exclude": {"type": "array", "items": {"type": "string"}},
4747
"ignored_violations": {
4848
"type": "array",
49-
"items": {"type": "string", "pattern": "^[a-z][-a-z_]*$"},
49+
"items": {"type": "string", "pattern": r"^[a-zA-Z][a-zA-Z0-9_-]*$"},
5050
},
5151
},
5252
"required": [

0 commit comments

Comments
 (0)