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

CI failure: pfrl/collections/prioritized.py:303: error: Argument 4 to "_find" has incompatible type "float"; expected "Number" #170

Closed
muupan opened this issue Mar 13, 2022 · 1 comment · Fixed by #171

Comments

@muupan
Copy link
Member

muupan commented Mar 13, 2022

https://ci.preferred.jp/pfrl.lint/96690/#L52

@muupan
Copy link
Member Author

muupan commented Mar 13, 2022

The problem seems to be that mypy has issues with numbers.Number (python/mypy#3186). mypy complains if x: numbers.Number = 0.1 (https://mypy-play.net/?mypy=latest&python=3.10&gist=4f5ad716766e34a409f15fdb346ea23d) I have no idea why it didn't complain before though.

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

Successfully merging a pull request may close this issue.

1 participant