"...AutoBuildImmortalWrt.git" did not exist on "a461b95b5622fe2cb63ccc0cf36f9f77b5a4bda5"
-
Nick Miller authored
* Add "PT" ruff code to pyproject.toml plus some exceptions * Extend PT011 for Exception, IndexError, TypeError * Fix PT001: Use `@pytest.fixture` over `@pytest.fixture()` * Fix PT011: pytest.raises({exception}) is too broad, set the match parameter or use a more specific exception * Fix PT012: `pytest.raises()` block should contain a single simple statement * Fix PT017: Found assertion on exception {name} in except block, use pytest.raises() instead * Fix PT018: Assertion should be broken down into multiple parts * Remove PT006 and PT007 from ignore list and fixup * Use *Exception and *Error glob to apply PT011 and ignore AssertionErrors --------- Co-authored-by:Nikita Titov <nekit94-08@mail.ru>
0ec55c97