python-trio / python-trio/flake8-async

default no-checkpoint-warning-decorators

Open
#313 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

rule improvement
Dominant language
Python
Stars
26
Forks
10
PR merge metrics
No merged PRs in 30d

Description

https://github.com/python-trio/flake8-async/pull/309#issuecomment-2462139424

I'm also inclined to include FastAPI support in the default no-checkpoint-decorators; reducing the low-value-alarm rate for users is more important than my personal distaste for missing checkpoints 😅. That can easily go in a future PR though.

hrm. suppressing it for async124 makes lots of sense, but less so for async9xx... if they got suppressed for cases where async124 would get suppressed >_<
I guess that's a point in favor of default-disabling it for async124 in particular regardless of no-checkpoint-decorator

also probably suppress async9xx for functions where async124 triggers

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading pull request #309 and the linked discussion, focusing on the proposed default handling for FastAPI support, async124, and async9xx. Done should mean the default no-checkpoint-warning-decorators behavior and the interaction between async124 and async9xx match the resolved project decision.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.