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

Consider adding a decorator that enforces types of arguments #94

Open
johndoknjas opened this issue Aug 27, 2024 · 0 comments
Open

Consider adding a decorator that enforces types of arguments #94

johndoknjas opened this issue Aug 27, 2024 · 0 comments

Comments

@johndoknjas
Copy link

E.g., when I was quickly testing get_best_move, I forgot that it doesn't accept an FEN string. But the code still ran, and then this string was used for wtime, giving me unexpected results. One option is doing something like this for all public functions, although our docstrings are probably already good enough.

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