这是indexloc提供的服务,不要输入任何密码
Skip to content

Improperly escaped docstrings #192

@bigdataguineapig

Description

@bigdataguineapig

https://github.com/st-tech/zr-obp/blob/master/obp/dataset/real.py#L231

https://github.com/st-tech/zr-obp/blob/master/obp/dataset/real.py#L320

These Docstrings are not properly escaped. This means we are getting errors when trying to import this package into python 3.10.

For example trying to import OBP within a pytest run I get

E     File "<my_repo>/lib/python3.10/site-packages/obp/dataset/real.py", line 213
E       """Obtain batch logged bandit data.
E       ^^^
E   SyntaxError: invalid escape sequence '\m'

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