Skip to main content

ty-async

Extremely fast linter implementing flake8-async's ASYNC200 check (user-configured blocking calls in async functions), built on ruff's Python parser. Drop-in replacement for the flake8 flag, ~2 orders of magnitude faster.

pip install ty-async

ty-async src-dir another-dir \
  --exclude=src-dir/tests \
  --async200-blocking-calls='stripe.*->alt(),*.load_data->(),fcntl.flock->()'

Type escape hatches

--type-hatches=no-any,no-getattr,no-object enables three extra rules (usable alone or together with the ASYNC200 flag, single pass either way):

  • no-getattr — bare getattr() / hasattr() calls
  • no-any — Any (or typing.Any, t.Any, …) inside an annotation
  • no-object — object inside an annotation

Suppress a site with a trailing # lint-ignore: no-any,no-getattr comment anywhere in the enclosing statement / function-signature span.

Semantics

Semantics match flake8-async exactly: calls inside async def bodies (nested def/lambda reset the context), directly-awaited calls are skipped, patterns are fnmatch-ed against ast.unparse(func) (so * crosses dots), # noqa / # noqa: ASYNC200 are honored, and output format and exit codes match flake8. Only ASYNC200 is implemented; --ignore and --asyncio are accepted as no-ops.

Metadata

Release files for ty-async 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ty-async 0.2.0
File Size Uploaded
ty_async-0.2.0.tar.gz 15.5 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for ty-async 0.2.0
File
ty_async-0.2.0-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details
ty_async-0.2.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64 Details
ty_async-0.2.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64 Details
ty_async-0.2.0-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details
ty_async-0.2.0-py3-none-macosx_10_12_x86_64.whl Python 3 none macOS 10.12+ x86-64 Details

Total release size: 5.1 MB

Release files / ty_async-0.2.0.tar.gz

Download URL ty_async-0.2.0.tar.gz
Size 15.5 kB
Tags Source
SHA-256 checksum
How to use checksums
15997b64395b2d8ebb0b1132c1b45ae3ed6252b2a5a1e8e6516ee9d6ecfe063a
BLAKE2b-256 checksum
How to use checksums
c70fbbb36bd56fcf29082874cdbd7c7f8ed08f056bf001254a579f15e55185e2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 2, 2026.

Transparency log

Release files / ty_async-0.2.0-py3-none-win_amd64.whl

Download URL ty_async-0.2.0-py3-none-win_amd64.whl
Size 951.6 kB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
24614842dc8dccffe68377b9c85a5d7f93059cd26d1ec41ebd6599bd8791611d
BLAKE2b-256 checksum
How to use checksums
17b90c02d6f6dca0a4a00c4e7dee26073cb541107052ff8fbf66b5c48a8ad593
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 2, 2026.

Transparency log

Release files / ty_async-0.2.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL ty_async-0.2.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 1.1 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
4dc7fb637dd028f29ced49ac0848d96066d917cee2a3c8cf92464cfcad0978b2
BLAKE2b-256 checksum
How to use checksums
025f09efe3399540534d7496ad4f3eeb1af2f75f41e3e195e88dc4a6a1f8c548
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 2, 2026.

Transparency log

Release files / ty_async-0.2.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL ty_async-0.2.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 1.0 MB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
4615c91265fb48725eaefb91bc388f8a63bde88ad45185a4a3221e1e2a0513ab
BLAKE2b-256 checksum
How to use checksums
e989faee2e9318b50a2651a22070c3911041a4fb3922954fa853becb03c60247
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 2, 2026.

Transparency log

Release files / ty_async-0.2.0-py3-none-macosx_11_0_arm64.whl

Download URL ty_async-0.2.0-py3-none-macosx_11_0_arm64.whl
Size 1.0 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
66c5f0947b0af4551356b6523acc77f29601ffdde485cd73907ed7e2f6abc110
BLAKE2b-256 checksum
How to use checksums
0fc24dcb91b9592ebd5ed30b77b249192b3fdd26db8f3f6696002ee23469b993
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 2, 2026.

Transparency log

Release files / ty_async-0.2.0-py3-none-macosx_10_12_x86_64.whl

Download URL ty_async-0.2.0-py3-none-macosx_10_12_x86_64.whl
Size 1.0 MB
Tags Python 3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
a87881718dde31d6dfcf1218f32b024a07224fce371ead883c76b390b3f5a13e
BLAKE2b-256 checksum
How to use checksums
8ace392cc61185f860fd2aadbba6fbda0404a08a0b8f828219321cb767808029
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 2, 2026.

Transparency log

Release history Release notifications | RSS feed

0.4.0

6 release files

0.3.0

6 release files

This release

0.2.0 This release

6 release files

0.1.0

6 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page