Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improperly escaped docstrings #192

Open
bigdataguineapig opened this issue Apr 28, 2023 · 0 comments
Open

Improperly escaped docstrings #192

bigdataguineapig opened this issue Apr 28, 2023 · 0 comments

Comments

@bigdataguineapig
Copy link

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'
bigdataguineapig added a commit to bigdataguineapig/zr-obp that referenced this issue Apr 28, 2023
Attempt to address issue st-tech#192
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant