@@ -175,11 +175,8 @@ def test_file_providers(
175175@pytest .mark .parametrize (
176176 "tag_format,tag,expected_version" ,
177177 (
178- # If tag_format is None or $version, version_scheme.parser is used.
178+ # If tag_format is $version (the default) , version_scheme.parser is used.
179179 # Its DEFAULT_VERSION_PARSER allows a v prefix, but matches PEP440 otherwise.
180- (None , "0.1.0" , "0.1.0" ),
181- (None , "v0.1.0" , "0.1.0" ),
182- (None , "no-match-because-version-scheme-is-strict" , "0.0.0" ),
183180 ("$version" , "no-match-because-version-scheme-is-strict" , "0.0.0" ),
184181 ("$version" , "0.1.0" , "0.1.0" ),
185182 ("$version" , "v0.1.0" , "0.1.0" ),
@@ -202,7 +199,7 @@ def test_file_providers(
202199)
203200@pytest .mark .usefixtures ("tmp_git_project" )
204201def test_scm_provider (
205- config : BaseConfig , tag_format : str | None , tag : str , expected_version : str
202+ config : BaseConfig , tag_format : str , tag : str , expected_version : str
206203):
207204 create_file_and_commit ("test: fake commit" )
208205 create_tag (tag )
0 commit comments