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 14f699f commit a3e09d1Copy full SHA for a3e09d1
tests/__init__.py
@@ -159,9 +159,9 @@ def _make_unique(self) -> str:
159
OutputFormat.XML: 'xml',
160
}
161
162
-
163
_LIMIT_GET_BOM_BY_VERSION_REGEX = re.compile(r'^get_bom_(?P<sv>v(?P<major_version>1)_(?P<minor_version>[0-6]))?(.*)$')
164
+
165
def mksname(purpose: Union[Any], sv: SchemaVersion, f: OutputFormat) -> Optional[str]:
166
purpose = purpose if isinstance(purpose, str) else purpose.__name__
167
restrict_to_schema = _LIMIT_GET_BOM_BY_VERSION_REGEX.match(purpose)
0 commit comments