ref: Add ALL ruff rules for tests (#4183)

Add ALL ruff rules for tests
This commit is contained in:
Christophe Bornet 2024-10-19 22:41:37 +02:00 • committed by GitHub
commit f96f2eaf8a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
67 changed files with 421 additions and 361 deletions

View file

@ -4,7 +4,11 @@ from langflow.services.database.models.api_key import ApiKeyCreate
@pytest.fixture
async def api_key(client, logged_in_headers, active_user):
async def api_key(
client,
logged_in_headers,
active_user, # noqa: ARG001
):
api_key = ApiKeyCreate(name="test-api-key")
response = await client.post("api/v1/api_key/", data=api_key.model_dump_json(), headers=logged_in_headers)