Skip to content

Commit

Permalink
chore(schema): update pyproject.json
Browse files Browse the repository at this point in the history
  • Loading branch information
yaegassy committed Sep 5, 2023
1 parent 0b34764 commit fc17391
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion resources/schemastore/pyproject.json
Original file line number Diff line number Diff line change
Expand Up @@ -756,7 +756,7 @@
"version": {
"title": "Project version",
"type": "string",
"pattern": "^([1-9]\\d*!)?(0|[1-9]\\d*)(\\.(0|[1-9]\\d*))*((a|b|rc)(0|[1-9]\\d*))?(\\.post(0|[1-9]\\d*))?(\\.dev(0|[1-9]\\d*))?$",
"pattern": "^v?((([0-9]+)!)?([0-9]+(\\.[0-9]+)*)([-_\\.]?(alpha|a|beta|b|preview|pre|c|rc)[-_\\.]?([0-9]+)?)?((-([0-9]+))|([-_\\.]?(post|rev|r)[-_\\.]?([0-9]+)?))?([-_\\.]?(dev)[-_\\.]?([0-9]+)?)?)(\\+([a-z0-9]+([-_\\.][a-z0-9]+)*))?$",
"examples": ["42.0.1", "0.3.9rc7.post0.dev5"]
},
"description": {
Expand Down
4 changes: 2 additions & 2 deletions schemas/pyproject.json
Original file line number Diff line number Diff line change
Expand Up @@ -804,7 +804,7 @@
"version": {
"title": "Project version",
"type": "string",
"pattern": "^([1-9]\\d*!)?(0|[1-9]\\d*)(\\.(0|[1-9]\\d*))*((a|b|rc)(0|[1-9]\\d*))?(\\.post(0|[1-9]\\d*))?(\\.dev(0|[1-9]\\d*))?$",
"pattern": "^v?((([0-9]+)!)?([0-9]+(\\.[0-9]+)*)([-_\\.]?(alpha|a|beta|b|preview|pre|c|rc)[-_\\.]?([0-9]+)?)?((-([0-9]+))|([-_\\.]?(post|rev|r)[-_\\.]?([0-9]+)?))?([-_\\.]?(dev)[-_\\.]?([0-9]+)?)?)(\\+([a-z0-9]+([-_\\.][a-z0-9]+)*))?$",
"examples": [
"42.0.1",
"0.3.9rc7.post0.dev5"
Expand Down Expand Up @@ -1351,4 +1351,4 @@
"^(.*(/|\\\\)pyproject\\.toml|pyproject\\.toml)$"
]
}
}
}

0 comments on commit fc17391

Please sign in to comment.