We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2fc0332 commit 71e1c7eCopy full SHA for 71e1c7e
1 file changed
scripts/generate_osv_advisories.py
@@ -153,15 +153,13 @@ def parse_version_constraint(
153
'the = operator is not real, and will be treated as an exact version'
154
)
155
warnings.extend(
156
- [
157
- 'components should not be prefixed with leading zeros'
158
- for component in [
159
- part.first_component or '',
160
- part.second_component or '',
161
- part.third_component or '',
162
- ]
163
- if len(component) > 1 and component.startswith('0')
+ 'components should not be prefixed with leading zeros'
+ for component in [
+ part.first_component or '',
+ part.second_component or '',
+ part.third_component or '',
164
]
+ if len(component) > 1 and component.startswith('0')
165
166
167
# https://getcomposer.org/doc/articles/versions.md#wildcard-version-range-
0 commit comments