MCPcopy Create free account
hub / github.com/psf/black / spaces

Function spaces

tests/data/simple_cases/function.py:31–33  ·  view source on GitHub ↗
(a=1, b=(), c=[], d={}, e=True, f=-1, g=1 if False else 2, h="", i=r'')

Source from the content-addressed store, hash-verified

29def function_signature_stress_test(number:int,no_annotation=None,text:str="default",* ,debug:bool=False,**kwargs) -> str:
30 return text[number:-1]
31def spaces(a=1, b=(), c=[], d={}, e=True, f=-1, g=1 if False else 2, h="", i=r''):
32 offset = attr.ib(default=attr.Factory( lambda: _r.uniform(10000, 200000)))
33 assert task._cancel_stack[:len(old_stack)] == old_stack
34def spaces_types(a: int = 1, b: tuple = (), c: list = [], d: dict = {}, e: bool = True, f: int = -1, g: int = 1 if False else 2, h: str = "", i: str = r''): ...
35def spaces2(result= _core.Value(None)):
36 assert fut is self._read_fut, (fut, self._read_fut)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected