autotyping: --scalar-return: add a return annotation to functions that only return literal bool, str, bytes, int, or float objects
This commit is contained in:
parent
6c3f3afb3a
commit
eb4af40d64
2 changed files with 14 additions and 14 deletions
|
@ -40,7 +40,7 @@ class PyLastTestCase:
|
|||
assert s.endswith(suffix, start, end)
|
||||
|
||||
|
||||
def _no_xfail_rerun_filter(err, name, test, plugin):
|
||||
def _no_xfail_rerun_filter(err, name, test, plugin) -> bool:
|
||||
for _ in test.iter_markers(name="xfail"):
|
||||
return False
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue