File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ homebrew_releaser = ["py.typed"]
3939line-length = 120
4040
4141[tool .ruff .lint ]
42- extend-ignore = [" E203 " ]
42+ extend-select = [" I " , " E501 " ]
4343
4444[tool .mypy ]
4545disable_error_code = " import-untyped"
Original file line number Diff line number Diff line change 1111)
1212from homebrew_releaser .homebrew import update_python_resources
1313
14-
1514FORMULA_PATH = "test/formulas"
1615USERNAME = "Justintime50"
1716VERSION = "0.1.0"
Original file line number Diff line number Diff line change @@ -100,9 +100,7 @@ def test_format_formula_data_error_reading_formula():
100100 with pytest .raises (SystemExit ) as error :
101101 _format_formula_data ("test" )
102102
103- assert (
104- str (error .value ) == "There was a problem opening or reading the formula data: "
105- )
103+ assert str (error .value ) == "There was a problem opening or reading the formula data: "
106104
107105
108106def test_generate_table ():
@@ -168,9 +166,7 @@ def test_retrieve_old_table_no_readme(mock_logger):
168166 """Tests that we retrieve only the old table data when start and end tags exist."""
169167 old_table , old_table_found = _retrieve_old_table ("test" )
170168
171- mock_logger .assert_called_once_with (
172- "Could not find a valid README in this project to update."
173- )
169+ mock_logger .assert_called_once_with ("Could not find a valid README in this project to update." )
174170 assert old_table == ""
175171 assert old_table_found is False
176172
You can’t perform that action at this time.
0 commit comments