diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2022-05-14 11:13:50 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2022-05-14 12:28:01 -0400 |
commit | 9f0db34563a05a7b9f6e09110d35ce0d0f36d3a9 (patch) | |
tree | ab407bbcba270696fe7798b043f4521320e19c06 /lib/sqlalchemy/util/concurrency.py | |
parent | cd628fad7c92f5f54bf1bf6985fd983269b0ec19 (diff) | |
download | sqlalchemy-9f0db34563a05a7b9f6e09110d35ce0d0f36d3a9.tar.gz |
update for flake8-future-imports 0.0.5
a whole bunch of errors were apparently blocked by 0.0.4
being installed.
Fixes: #8020
Change-Id: I22a0faeaabe03de501897893391946d677c2df7e
Diffstat (limited to 'lib/sqlalchemy/util/concurrency.py')
-rw-r--r-- | lib/sqlalchemy/util/concurrency.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/sqlalchemy/util/concurrency.py b/lib/sqlalchemy/util/concurrency.py index 7bbe9ec19..cd65f80f0 100644 --- a/lib/sqlalchemy/util/concurrency.py +++ b/lib/sqlalchemy/util/concurrency.py @@ -47,23 +47,23 @@ if not typing.TYPE_CHECKING and not have_greenlet: else "" ) - def is_exit_exception(e): + def is_exit_exception(e): # noqa: F811 return not isinstance(e, Exception) - def await_only(thing): # type: ignore + def await_only(thing): # type: ignore # noqa: F811 _not_implemented() - def await_fallback(thing): # type: ignore + def await_fallback(thing): # type: ignore # noqa: F811 return thing - def greenlet_spawn(fn, *args, **kw): # type: ignore + def greenlet_spawn(fn, *args, **kw): # type: ignore # noqa: F811 _not_implemented() - def AsyncAdaptedLock(*args, **kw): # type: ignore + def AsyncAdaptedLock(*args, **kw): # type: ignore # noqa: F811 _not_implemented() - def _util_async_run(fn, *arg, **kw): # type: ignore + def _util_async_run(fn, *arg, **kw): # type: ignore # noqa: F811 return fn(*arg, **kw) - def _util_async_run_coroutine_function(fn, *arg, **kw): # type: ignore + def _util_async_run_coroutine_function(fn, *arg, **kw): # type: ignore # noqa: F811,E501 _not_implemented() |