Skip to content

DeprecationWarning: path is deprecated. Use files() instead. #405

@user202729

Description

@user202729

https://github.com/pyutils/line_profiler/blob/main/line_profiler/toml_config.py#L111

currently the code uses path(), but I get a warning message

DeprecationWarning: path is deprecated. Use files() instead. Refer to https://importlib-resources.readthedocs.io/en/latest/using.html#migrating-from-legacy for migration advice.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions