|
98 | 98 | pytest.param("[snippet_fmt]\ndirectives = ['jupyter-execute']", id="directives_c_underscore"), |
99 | 99 | pytest.param("[snippet_fmt]\ndirectives = ['code-cell']", id="directives_d_underscore"), |
100 | 100 | pytest.param( |
101 | | - "[snippet_fmt]\ndirectives = ['code-cell', 'sourcecode']", id="directives_e_underscore" |
| 101 | + "[snippet_fmt]\ndirectives = ['code-cell', 'sourcecode']", |
| 102 | + id="directives_e_underscore", |
102 | 103 | ), |
103 | 104 | pytest.param(TABLE_LANGUAGES_A, id="languages_a"), |
104 | 105 | pytest.param("[tool.snippet-fmt]", id="pyproject_empty_table"), |
105 | 106 | pytest.param("[tool.snippet-fmt]\ndirectives = ['code-block']", id="pyproject_directives_a"), |
106 | 107 | pytest.param("[tool.snippet-fmt]\ndirectives = ['code']", id="pyproject_directives_b"), |
107 | 108 | pytest.param("[tool.snippet-fmt]\ndirectives = ['jupyter-execute']", id="pyproject_directives_c"), |
108 | 109 | pytest.param("[tool.snippet-fmt]\ndirectives = ['code-cell']", id="pyproject_directives_d"), |
109 | | - pytest. |
110 | | - param("[tool.snippet-fmt]\ndirectives = ['code-cell', 'sourcecode']", id="pyproject_directives_e"), |
| 110 | + pytest.param( |
| 111 | + "[tool.snippet-fmt]\ndirectives = ['code-cell', 'sourcecode']", |
| 112 | + id="pyproject_directives_e", |
| 113 | + ), |
111 | 114 | pytest.param("[tool.snippet-fmt]", id="pyproject_underscore_empty_table"), |
112 | 115 | pytest.param( |
113 | | - "[tool.snippet_fmt]\ndirectives = ['code-block']", id="pyproject_underscore_directives_a" |
| 116 | + "[tool.snippet_fmt]\ndirectives = ['code-block']", |
| 117 | + id="pyproject_underscore_directives_a", |
114 | 118 | ), |
115 | 119 | pytest.param("[tool.snippet_fmt]\ndirectives = ['code']", id="pyproject_underscore_directives_b"), |
116 | 120 | pytest.param( |
117 | 121 | "[tool.snippet_fmt]\ndirectives = ['jupyter-execute']", |
118 | | - id="pyproject_underscore_directives_c" |
| 122 | + id="pyproject_underscore_directives_c", |
119 | 123 | ), |
120 | 124 | pytest.param( |
121 | | - "[tool.snippet_fmt]\ndirectives = ['code-cell']", id="pyproject_underscore_directives_d" |
| 125 | + "[tool.snippet_fmt]\ndirectives = ['code-cell']", |
| 126 | + id="pyproject_underscore_directives_d", |
122 | 127 | ), |
123 | 128 | pytest.param( |
124 | 129 | "[tool.snippet_fmt]\ndirectives = ['code-cell', 'sourcecode']", |
125 | | - id="pyproject_underscore_directives_e" |
| 130 | + id="pyproject_underscore_directives_e", |
126 | 131 | ), |
127 | 132 | pytest.param(PYPROJECT_LANGUAGES_A, id="pyproject_languages_a"), |
128 | | - ] |
| 133 | + ], |
129 | 134 | ) |
130 | 135 | def test_load_toml( |
131 | 136 | config: str, |
|
0 commit comments