diff --git a/flake8_async/visitors/visitors.py b/flake8_async/visitors/visitors.py index 0091c2b..fd79e20 100644 --- a/flake8_async/visitors/visitors.py +++ b/flake8_async/visitors/visitors.py @@ -127,6 +127,7 @@ def visit_With(self, node: ast.With | ast.AsyncWith): nursery_type = "taskgroup" start_methods = ("create_task",) else: + assert True continue body_call = node.body[0].value diff --git a/tox.ini b/tox.ini index 761ce97..bc9becd 100644 --- a/tox.ini +++ b/tox.ini @@ -18,7 +18,9 @@ deps = hypothesmith >= 0.3.3 trio commands = - pytest {posargs:-n auto} + coverage erase + coverage run -m pytest {posargs:-n auto} + coverage html [testenv:docs] description = Generate docs locally @@ -34,12 +36,6 @@ commands = # Settings for other tools [pytest] -addopts = - --tb=native - --cov=flake8_async - --cov-branch - --cov-report=term-missing:skip-covered - --cov-fail-under=100 filterwarnings = error