diff --git a/project_templates/fastapi_safir_app/example-uws/ruff-shared.toml b/project_templates/fastapi_safir_app/example-uws/ruff-shared.toml index ed6e4dc6..7eaeb24b 100644 --- a/project_templates/fastapi_safir_app/example-uws/ruff-shared.toml +++ b/project_templates/fastapi_safir_app/example-uws/ruff-shared.toml @@ -33,6 +33,7 @@ ignore = [ "ARG003", # unused class method arguments are often legitimate "ARG005", # unused lambda arguments are often legitimate "ASYNC109", # many async functions use asyncio.timeout internally + "ASYNC240", # we don't want to run filesystem operations on threads "BLE001", # we want to catch and report Exception in background tasks "C414", # nested sorted is how you sort by multiple keys with reverse "D102", # sometimes we use docstring inheritence diff --git a/project_templates/fastapi_safir_app/example/ruff-shared.toml b/project_templates/fastapi_safir_app/example/ruff-shared.toml index ed6e4dc6..7eaeb24b 100644 --- a/project_templates/fastapi_safir_app/example/ruff-shared.toml +++ b/project_templates/fastapi_safir_app/example/ruff-shared.toml @@ -33,6 +33,7 @@ ignore = [ "ARG003", # unused class method arguments are often legitimate "ARG005", # unused lambda arguments are often legitimate "ASYNC109", # many async functions use asyncio.timeout internally + "ASYNC240", # we don't want to run filesystem operations on threads "BLE001", # we want to catch and report Exception in background tasks "C414", # nested sorted is how you sort by multiple keys with reverse "D102", # sometimes we use docstring inheritence diff --git a/project_templates/fastapi_safir_app/{{cookiecutter.name}}/ruff-shared.toml b/project_templates/fastapi_safir_app/{{cookiecutter.name}}/ruff-shared.toml index ed6e4dc6..7eaeb24b 100644 --- a/project_templates/fastapi_safir_app/{{cookiecutter.name}}/ruff-shared.toml +++ b/project_templates/fastapi_safir_app/{{cookiecutter.name}}/ruff-shared.toml @@ -33,6 +33,7 @@ ignore = [ "ARG003", # unused class method arguments are often legitimate "ARG005", # unused lambda arguments are often legitimate "ASYNC109", # many async functions use asyncio.timeout internally + "ASYNC240", # we don't want to run filesystem operations on threads "BLE001", # we want to catch and report Exception in background tasks "C414", # nested sorted is how you sort by multiple keys with reverse "D102", # sometimes we use docstring inheritence diff --git a/project_templates/square_pypi_package/example/ruff-shared.toml b/project_templates/square_pypi_package/example/ruff-shared.toml index ed6e4dc6..7eaeb24b 100644 --- a/project_templates/square_pypi_package/example/ruff-shared.toml +++ b/project_templates/square_pypi_package/example/ruff-shared.toml @@ -33,6 +33,7 @@ ignore = [ "ARG003", # unused class method arguments are often legitimate "ARG005", # unused lambda arguments are often legitimate "ASYNC109", # many async functions use asyncio.timeout internally + "ASYNC240", # we don't want to run filesystem operations on threads "BLE001", # we want to catch and report Exception in background tasks "C414", # nested sorted is how you sort by multiple keys with reverse "D102", # sometimes we use docstring inheritence diff --git a/project_templates/square_pypi_package/{{cookiecutter.name}}/ruff-shared.toml b/project_templates/square_pypi_package/{{cookiecutter.name}}/ruff-shared.toml index ed6e4dc6..7eaeb24b 100644 --- a/project_templates/square_pypi_package/{{cookiecutter.name}}/ruff-shared.toml +++ b/project_templates/square_pypi_package/{{cookiecutter.name}}/ruff-shared.toml @@ -33,6 +33,7 @@ ignore = [ "ARG003", # unused class method arguments are often legitimate "ARG005", # unused lambda arguments are often legitimate "ASYNC109", # many async functions use asyncio.timeout internally + "ASYNC240", # we don't want to run filesystem operations on threads "BLE001", # we want to catch and report Exception in background tasks "C414", # nested sorted is how you sort by multiple keys with reverse "D102", # sometimes we use docstring inheritence