mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-04 20:26:53 +00:00
[DATALAD RUNCMD] run codespell throughout fixing typo automagically
=== Do not change lines below ===
{
"chain": [],
"cmd": "codespell -w",
"exit": 0,
"extra_inputs": [],
"inputs": [],
"outputs": [],
"pwd": "."
}
^^^ Do not change lines above ^^^
This commit is contained in:
parent
83ffa6ebed
commit
b49b05fb9e
6 changed files with 7 additions and 7 deletions
|
|
@ -32,7 +32,7 @@ def test_config_file_with_parse_error_is_not_considered(tmp_path, caplog):
|
|||
assert len(caplog.record_tuples) == 1
|
||||
((mod, level, msg),) = caplog.record_tuples
|
||||
assert (mod, level) == ("flake8.options.config", 30)
|
||||
assert msg.startswith("ignoring unparseable config ")
|
||||
assert msg.startswith("ignoring unparsable config ")
|
||||
|
||||
|
||||
def test_config_file_with_encoding_error_is_not_considered(tmp_path, caplog):
|
||||
|
|
@ -43,7 +43,7 @@ def test_config_file_with_encoding_error_is_not_considered(tmp_path, caplog):
|
|||
assert len(caplog.record_tuples) == 1
|
||||
((mod, level, msg),) = caplog.record_tuples
|
||||
assert (mod, level) == ("flake8.options.config", 30)
|
||||
assert msg.startswith("ignoring unparseable config ")
|
||||
assert msg.startswith("ignoring unparsable config ")
|
||||
|
||||
|
||||
@pytest.mark.parametrize("cfg_name", ("setup.cfg", "tox.ini", ".flake8"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue