Skip to content

Commit

Permalink
'fix' flake8-ness of generated files
Browse files Browse the repository at this point in the history
  • Loading branch information
Anvil committed Dec 19, 2023
1 parent cd58ff1 commit 09205c6
Show file tree
Hide file tree
Showing 190 changed files with 299 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
'''Test aioretry_built_by_call_async_args_any_any.py '''

# flake8: noqa
# pylint: disable=unused-import, unused-argument, invalid-name, R0801


Expand All @@ -14,6 +15,7 @@ async def func(*args: Any) -> Any:
''' ... '''
return 'return_value'


wrapped: Callable[[VarArg(Any)], Awaitable[Any]] = Retry(exceptions=(ValueError, NotImplementedError), context=Context(tries=5, delay=2)).aioretry(func)


Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
'''Test aioretry_built_by_call_async_args_any_str.py '''

# flake8: noqa
# pylint: disable=unused-import, unused-argument, invalid-name, R0801


Expand All @@ -14,6 +15,7 @@ async def func(*args: Any) -> str:
''' ... '''
return 'return_value'


wrapped: Callable[[VarArg(Any)], Awaitable[str]] = Retry(exceptions=(ValueError, NotImplementedError), context=Context(tries=5, delay=2)).aioretry(func)


Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
'''Test aioretry_built_by_call_async_args_int_any.py '''

# flake8: noqa
# pylint: disable=unused-import, unused-argument, invalid-name, R0801


Expand All @@ -14,6 +15,7 @@ async def func(*args: int) -> Any:
''' ... '''
return 'return_value'


wrapped: Callable[[VarArg(int)], Awaitable[Any]] = Retry(exceptions=(ValueError, NotImplementedError), context=Context(tries=5, delay=2)).aioretry(func)


Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
'''Test aioretry_built_by_call_async_args_int_str.py '''

# flake8: noqa
# pylint: disable=unused-import, unused-argument, invalid-name, R0801


Expand All @@ -14,6 +15,7 @@ async def func(*args: int) -> str:
''' ... '''
return 'return_value'


wrapped: Callable[[VarArg(int)], Awaitable[str]] = Retry(exceptions=(ValueError, NotImplementedError), context=Context(tries=5, delay=2)).aioretry(func)


Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
'''Test aioretry_built_by_call_async_kwargs_any_any.py '''

# flake8: noqa
# pylint: disable=unused-import, unused-argument, invalid-name, R0801


Expand All @@ -14,6 +15,7 @@ async def func(**kwargs: Any) -> Any:
''' ... '''
return 'return_value'


wrapped: Callable[[KwArg(Any)], Awaitable[Any]] = Retry(exceptions=(ValueError, NotImplementedError), context=Context(tries=5, delay=2)).aioretry(func)


Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
'''Test aioretry_built_by_call_async_kwargs_any_str.py '''

# flake8: noqa
# pylint: disable=unused-import, unused-argument, invalid-name, R0801


Expand All @@ -14,6 +15,7 @@ async def func(**kwargs: Any) -> str:
''' ... '''
return 'return_value'


wrapped: Callable[[KwArg(Any)], Awaitable[str]] = Retry(exceptions=(ValueError, NotImplementedError), context=Context(tries=5, delay=2)).aioretry(func)


Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
'''Test aioretry_built_by_call_async_kwargs_int_any.py '''

# flake8: noqa
# pylint: disable=unused-import, unused-argument, invalid-name, R0801


Expand All @@ -14,6 +15,7 @@ async def func(**kwargs: int) -> Any:
''' ... '''
return 'return_value'


wrapped: Callable[[KwArg(int)], Awaitable[Any]] = Retry(exceptions=(ValueError, NotImplementedError), context=Context(tries=5, delay=2)).aioretry(func)


Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
'''Test aioretry_built_by_call_async_kwargs_int_str.py '''

# flake8: noqa
# pylint: disable=unused-import, unused-argument, invalid-name, R0801


Expand All @@ -14,6 +15,7 @@ async def func(**kwargs: int) -> str:
''' ... '''
return 'return_value'


wrapped: Callable[[KwArg(int)], Awaitable[str]] = Retry(exceptions=(ValueError, NotImplementedError), context=Context(tries=5, delay=2)).aioretry(func)


Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
'''Test aioretry_built_by_call_async_param_any_any.py '''

# flake8: noqa
# pylint: disable=unused-import, unused-argument, invalid-name, R0801


Expand All @@ -14,6 +15,7 @@ async def func(x: Any, y: Any) -> Any:
''' ... '''
return 'return_value'


wrapped: Callable[[Any, Any], Awaitable[Any]] = Retry(exceptions=(ValueError, NotImplementedError), context=Context(tries=5, delay=2)).aioretry(func)


Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
'''Test aioretry_built_by_call_async_param_any_str.py '''

# flake8: noqa
# pylint: disable=unused-import, unused-argument, invalid-name, R0801


Expand All @@ -14,6 +15,7 @@ async def func(x: Any, y: Any) -> str:
''' ... '''
return 'return_value'


wrapped: Callable[[Any, Any], Awaitable[str]] = Retry(exceptions=(ValueError, NotImplementedError), context=Context(tries=5, delay=2)).aioretry(func)


Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
'''Test aioretry_built_by_call_async_param_int_any.py '''

# flake8: noqa
# pylint: disable=unused-import, unused-argument, invalid-name, R0801


Expand All @@ -14,6 +15,7 @@ async def func(x: int, y: int) -> Any:
''' ... '''
return 'return_value'


wrapped: Callable[[int, int], Awaitable[Any]] = Retry(exceptions=(ValueError, NotImplementedError), context=Context(tries=5, delay=2)).aioretry(func)


Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
'''Test aioretry_built_by_call_async_param_int_str.py '''

# flake8: noqa
# pylint: disable=unused-import, unused-argument, invalid-name, R0801


Expand All @@ -14,6 +15,7 @@ async def func(x: int, y: int) -> str:
''' ... '''
return 'return_value'


wrapped: Callable[[int, int], Awaitable[str]] = Retry(exceptions=(ValueError, NotImplementedError), context=Context(tries=5, delay=2)).aioretry(func)


Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
'''Test aioretry_built_by_call_sync_args_any_any.py '''

# flake8: noqa
# pylint: disable=unused-import, unused-argument, invalid-name, R0801


Expand All @@ -14,6 +15,7 @@ def func(*args: Any) -> Any:
''' ... '''
return 'return_value'


wrapped: Callable[[VarArg(Any)], Awaitable[Any]] = Retry(exceptions=(ValueError, NotImplementedError), context=Context(tries=5, delay=2)).aioretry(func)


Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
'''Test aioretry_built_by_call_sync_args_any_str.py '''

# flake8: noqa
# pylint: disable=unused-import, unused-argument, invalid-name, R0801


Expand All @@ -14,6 +15,7 @@ def func(*args: Any) -> str:
''' ... '''
return 'return_value'


wrapped: Callable[[VarArg(Any)], Awaitable[str]] = Retry(exceptions=(ValueError, NotImplementedError), context=Context(tries=5, delay=2)).aioretry(func)


Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
'''Test aioretry_built_by_call_sync_args_int_any.py '''

# flake8: noqa
# pylint: disable=unused-import, unused-argument, invalid-name, R0801


Expand All @@ -14,6 +15,7 @@ def func(*args: int) -> Any:
''' ... '''
return 'return_value'


wrapped: Callable[[VarArg(int)], Awaitable[Any]] = Retry(exceptions=(ValueError, NotImplementedError), context=Context(tries=5, delay=2)).aioretry(func)


Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
'''Test aioretry_built_by_call_sync_args_int_str.py '''

# flake8: noqa
# pylint: disable=unused-import, unused-argument, invalid-name, R0801


Expand All @@ -14,6 +15,7 @@ def func(*args: int) -> str:
''' ... '''
return 'return_value'


wrapped: Callable[[VarArg(int)], Awaitable[str]] = Retry(exceptions=(ValueError, NotImplementedError), context=Context(tries=5, delay=2)).aioretry(func)


Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
'''Test aioretry_built_by_call_sync_kwargs_any_any.py '''

# flake8: noqa
# pylint: disable=unused-import, unused-argument, invalid-name, R0801


Expand All @@ -14,6 +15,7 @@ def func(**kwargs: Any) -> Any:
''' ... '''
return 'return_value'


wrapped: Callable[[KwArg(Any)], Awaitable[Any]] = Retry(exceptions=(ValueError, NotImplementedError), context=Context(tries=5, delay=2)).aioretry(func)


Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
'''Test aioretry_built_by_call_sync_kwargs_any_str.py '''

# flake8: noqa
# pylint: disable=unused-import, unused-argument, invalid-name, R0801


Expand All @@ -14,6 +15,7 @@ def func(**kwargs: Any) -> str:
''' ... '''
return 'return_value'


wrapped: Callable[[KwArg(Any)], Awaitable[str]] = Retry(exceptions=(ValueError, NotImplementedError), context=Context(tries=5, delay=2)).aioretry(func)


Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
'''Test aioretry_built_by_call_sync_kwargs_int_any.py '''

# flake8: noqa
# pylint: disable=unused-import, unused-argument, invalid-name, R0801


Expand All @@ -14,6 +15,7 @@ def func(**kwargs: int) -> Any:
''' ... '''
return 'return_value'


wrapped: Callable[[KwArg(int)], Awaitable[Any]] = Retry(exceptions=(ValueError, NotImplementedError), context=Context(tries=5, delay=2)).aioretry(func)


Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
'''Test aioretry_built_by_call_sync_kwargs_int_str.py '''

# flake8: noqa
# pylint: disable=unused-import, unused-argument, invalid-name, R0801


Expand All @@ -14,6 +15,7 @@ def func(**kwargs: int) -> str:
''' ... '''
return 'return_value'


wrapped: Callable[[KwArg(int)], Awaitable[str]] = Retry(exceptions=(ValueError, NotImplementedError), context=Context(tries=5, delay=2)).aioretry(func)


Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
'''Test aioretry_built_by_call_sync_param_any_any.py '''

# flake8: noqa
# pylint: disable=unused-import, unused-argument, invalid-name, R0801


Expand All @@ -14,6 +15,7 @@ def func(x: Any, y: Any) -> Any:
''' ... '''
return 'return_value'


wrapped: Callable[[Any, Any], Awaitable[Any]] = Retry(exceptions=(ValueError, NotImplementedError), context=Context(tries=5, delay=2)).aioretry(func)


Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
'''Test aioretry_built_by_call_sync_param_any_str.py '''

# flake8: noqa
# pylint: disable=unused-import, unused-argument, invalid-name, R0801


Expand All @@ -14,6 +15,7 @@ def func(x: Any, y: Any) -> str:
''' ... '''
return 'return_value'


wrapped: Callable[[Any, Any], Awaitable[str]] = Retry(exceptions=(ValueError, NotImplementedError), context=Context(tries=5, delay=2)).aioretry(func)


Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
'''Test aioretry_built_by_call_sync_param_int_any.py '''

# flake8: noqa
# pylint: disable=unused-import, unused-argument, invalid-name, R0801


Expand All @@ -14,6 +15,7 @@ def func(x: int, y: int) -> Any:
''' ... '''
return 'return_value'


wrapped: Callable[[int, int], Awaitable[Any]] = Retry(exceptions=(ValueError, NotImplementedError), context=Context(tries=5, delay=2)).aioretry(func)


Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
'''Test aioretry_built_by_call_sync_param_int_str.py '''

# flake8: noqa
# pylint: disable=unused-import, unused-argument, invalid-name, R0801


Expand All @@ -14,6 +15,7 @@ def func(x: int, y: int) -> str:
''' ... '''
return 'return_value'


wrapped: Callable[[int, int], Awaitable[str]] = Retry(exceptions=(ValueError, NotImplementedError), context=Context(tries=5, delay=2)).aioretry(func)


Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
'''Test aioretry_built_direct_async_args_int_str.py '''

# flake8: noqa
# pylint: disable=unused-import, unused-argument, invalid-name, R0801


Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
'''Test aioretry_built_direct_async_kwargs_int_str.py '''

# flake8: noqa
# pylint: disable=unused-import, unused-argument, invalid-name, R0801


Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
'''Test aioretry_built_direct_async_param_int_str.py '''

# flake8: noqa
# pylint: disable=unused-import, unused-argument, invalid-name, R0801


Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
'''Test aioretry_built_direct_sync_args_any_any.py '''

# flake8: noqa
# pylint: disable=unused-import, unused-argument, invalid-name, R0801


Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
'''Test aioretry_built_direct_sync_args_any_str.py '''

# flake8: noqa
# pylint: disable=unused-import, unused-argument, invalid-name, R0801


Expand Down
Loading

0 comments on commit 09205c6

Please sign in to comment.