Skip to content

Warnings in pipelines #442

@romanlutz

Description

@romanlutz

Describe the bug

The following shows up in our pipelines (and repros locally with pre-commit run --all-files)

pyrit/prompt_target/azure_blob_storage_target.py:77: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
pyrit/prompt_converter/translation_converter.py:114: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
doc/code/orchestrators/xpia_helpers.py:180: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]

Steps/Code to Reproduce

pre-commit run --all-files

Expected Results

no warnings or errors

Actual Results

see above

Note that we should try to fix the issue (i.e., make it a typed function) rather than ignoring the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions