Adopt the Ruff code linting tool

https://github.com/charliermarsh/ruff
This commit is contained in:
Adam Turner
2022-12-29 17:00:27 +00:00
parent f852661243
commit 8634fbce60
6 changed files with 78 additions and 3 deletions

View File

@@ -159,7 +159,7 @@ def test_restify_type_hints_alias():
def test_restify_type_ForwardRef():
from typing import ForwardRef # type: ignore
assert restify(ForwardRef("myint")) == ":py:class:`myint`"
assert restify(ForwardRef("myint")) == ":py:class:`myint`" # NoQA: F821
def test_restify_type_Literal():