@@ -73,24 +73,26 @@ def test_parse_our_config(advanced_data_regression: AdvancedDataRegressionFixtur
7373 pytest .param (
7474 f"{ MINIMUM } \n [tool.sphinx-pyproject]\n github_username = 'username'" ,
7575 1 ,
76- id = "github_username"
76+ id = "github_username" ,
7777 ),
7878 pytest .param (
7979 f"{ MINIMUM } \n [tool.sphinx-pyproject]\n github_repository = 'repo'" ,
8080 1 ,
81- id = "github_repository"
81+ id = "github_repository" ,
8282 ),
8383 pytest .param (f"{ MINIMUM } \n [tool.sphinx-pyproject]\n language = 'en'" , 1 , id = "language" ),
8484 pytest .param (
85- f"{ MINIMUM } \n [tool.sphinx-pyproject]\n extensions = ['sphinx-toolbox']" , 1 , id = "extensions"
85+ f"{ MINIMUM } \n [tool.sphinx-pyproject]\n extensions = ['sphinx-toolbox']" ,
86+ 1 ,
87+ id = "extensions" ,
8688 ),
8789 pytest .param (
8890 f"{ MINIMUM } \n [tool.sphinx-pyproject]\n html_show_sourcelink = true" ,
8991 1 ,
90- id = "html_show_sourcelink"
92+ id = "html_show_sourcelink" ,
9193 ),
9294 pytest .param (MULTIPLE_KEYS , 4 , id = "multiple_keys" ),
93- ]
95+ ],
9496 )
9597def test_parse_config (
9698 tmp_pathplus : PathPlus ,
@@ -140,9 +142,10 @@ def test_authors_commas(tmp_pathplus: PathPlus):
140142 pytest .param ("[project]\n name = 'foo'\n description = 'Description'" , id = "name_description" ),
141143 pytest .param ("[project]\n name = 'foo'\n version = '1.2.3'" , id = "name_description" ),
142144 pytest .param (
143- "[project]\n name = 'foo'\n version = '1.2.3'\n description = 'Description'" , id = "no_authors"
145+ "[project]\n name = 'foo'\n version = '1.2.3'\n description = 'Description'" ,
146+ id = "no_authors" ,
144147 ),
145- ]
148+ ],
146149 )
147150def test_missing_keys (tmp_pathplus : PathPlus , config : str ):
148151 (tmp_pathplus / "pyproject.toml" ).write_text (config )
@@ -174,10 +177,11 @@ def test_missing_keys(tmp_pathplus: PathPlus, config: str):
174177
175178
176179@pytest .mark .parametrize (
177- "toml" , [
180+ "toml" ,
181+ [
178182 pytest .param (POETRY_AUTHORS , id = "authors" ),
179183 pytest .param (POETRY_MAINTAINERS , id = "maintainers" ),
180- ]
184+ ],
181185 )
182186def test_poetry (tmp_pathplus : PathPlus , toml : str ):
183187 (tmp_pathplus / "pyproject.toml" ).write_text (toml )
0 commit comments