-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Updated atari wrappers, fixed pre-commit #781
Conversation
Codecov Report
@@ Coverage Diff @@
## master #781 +/- ##
==========================================
- Coverage 91.07% 91.05% -0.02%
==========================================
Files 71 71
Lines 5077 5077
==========================================
- Hits 4624 4623 -1
- Misses 453 454 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
I concur. |
I agree we should change to black at some point. |
This PR addresses thu-ml#772 (updates Atari wrappers to work with new Gym API) and some additional issues: - Pre-commit was using gitlab for flake8, which as of recently requires authentication -> Replaced with GitHub - Yapf was quietly failing in pre-commit. Changed it such that it fixes formatting in-place - There is an incompatibility between flake8 and yapf where yapf puts binary operators after the line break and flake8 wants it before the break. I added an exception for flake8. - Also require `packaging` in setup.py My changes shouldn't change the behaviour of the wrappers for older versions, but please double check. Idk whether it's just me, but there are always some incompatibilities between yapf and flake8 that need to resolved manually. It might make sense to try black instead.
This PR addresses #772 (updates Atari wrappers to work with new Gym API) and some additional issues:
packaging
in setup.pyMy changes shouldn't change the behaviour of the wrappers for older versions, but please double check.
Idk whether it's just me, but there are always some incompatibilities between yapf and flake8 that need to resolved manually. It might make sense to try black instead.