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

[BugFix] Use GitHub for flake8 pre-commit hook #679

Merged
merged 1 commit into from
Nov 15, 2022
Merged

[BugFix] Use GitHub for flake8 pre-commit hook #679

merged 1 commit into from
Nov 15, 2022

Conversation

vmoens
Copy link
Contributor

@vmoens vmoens commented Nov 15, 2022

Description

The lint pipeline on CircleCI appears to be failing for all commits at the moment.

This PR changes the repo to GitHub per the flake8 docs.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Nov 15, 2022
@vmoens vmoens added bug Something isn't working CI Has to do with CI setup (e.g. wheels & builds, tests...) labels Nov 15, 2022
@vmoens vmoens merged commit d40b473 into main Nov 15, 2022
@vmoens vmoens deleted the flake8fix branch November 15, 2022 13:35
vmoens added a commit that referenced this pull request Nov 16, 2022
* amend

* amend

* bugfix

* init

* strict=False

* strict=False

* minor

* amend

* [BugFix] Use GitHub for flake8 pre-commit hook (#679)

* amend

* [BugFix] Update to strict select (#675)

* init

* strict=False

* amend

* amend

* [Feature] Auto-compute stats for ObservationNorm (#669)

* Add auto-compute stats feature for ObservationNorm

* Fix issue in ObservNorm init function

* Quick refactor of ObservationNorm init method

* Minor refactoring and adding more tests for ObservationNorm

* lint

* docstring

* docstring

Co-authored-by: vmoens <vincentmoens@gmail.com>

* amend

* amend

* lint

* bf

* bf

* amend

Co-authored-by: Romain Julien <romainjulien@fb.com>
vmoens added a commit that referenced this pull request Nov 16, 2022
* init

* [Feature] Nested composite spec (#654)

* [Feature] Move `transform.forward` to `transform.step` (#660)

* transform step function

* amend

* amend

* amend

* amend

* amend

* fixing key names

* fixing key names

* [Refactor] Transform next remove (#661)

* Refactor "next_" into ("next", ) (#673)

* amend

* amend

* bugfix

* init

* strict=False

* strict=False

* minor

* amend

* [BugFix] Use GitHub for flake8 pre-commit hook (#679)

* amend

* [BugFix] Update to strict select (#675)

* init

* strict=False

* amend

* amend

* [Feature] Auto-compute stats for ObservationNorm (#669)

* Add auto-compute stats feature for ObservationNorm

* Fix issue in ObservNorm init function

* Quick refactor of ObservationNorm init method

* Minor refactoring and adding more tests for ObservationNorm

* lint

* docstring

* docstring

Co-authored-by: vmoens <vincentmoens@gmail.com>

* amend

* amend

* lint

* bf

* bf

* amend

Co-authored-by: Romain Julien <romainjulien@fb.com>

Co-authored-by: Romain Julien <romainjulien@fb.com>
albertbou92 pushed a commit to PyTorchRL/rl that referenced this pull request Nov 16, 2022
albertbou92 pushed a commit to PyTorchRL/rl that referenced this pull request Nov 16, 2022
* init

* [Feature] Nested composite spec (pytorch#654)

* [Feature] Move `transform.forward` to `transform.step` (pytorch#660)

* transform step function

* amend

* amend

* amend

* amend

* amend

* fixing key names

* fixing key names

* [Refactor] Transform next remove (pytorch#661)

* Refactor "next_" into ("next", ) (pytorch#673)

* amend

* amend

* bugfix

* init

* strict=False

* strict=False

* minor

* amend

* [BugFix] Use GitHub for flake8 pre-commit hook (pytorch#679)

* amend

* [BugFix] Update to strict select (pytorch#675)

* init

* strict=False

* amend

* amend

* [Feature] Auto-compute stats for ObservationNorm (pytorch#669)

* Add auto-compute stats feature for ObservationNorm

* Fix issue in ObservNorm init function

* Quick refactor of ObservationNorm init method

* Minor refactoring and adding more tests for ObservationNorm

* lint

* docstring

* docstring

Co-authored-by: vmoens <vincentmoens@gmail.com>

* amend

* amend

* lint

* bf

* bf

* amend

Co-authored-by: Romain Julien <romainjulien@fb.com>

Co-authored-by: Romain Julien <romainjulien@fb.com>
albertbou92 pushed a commit to PyTorchRL/rl that referenced this pull request Nov 18, 2022
* init

* [Feature] Nested composite spec (pytorch#654)

* [Feature] Move `transform.forward` to `transform.step` (pytorch#660)

* transform step function

* amend

* amend

* amend

* amend

* amend

* fixing key names

* fixing key names

* [Refactor] Transform next remove (pytorch#661)

* Refactor "next_" into ("next", ) (pytorch#673)

* amend

* amend

* bugfix

* init

* strict=False

* strict=False

* minor

* amend

* [BugFix] Use GitHub for flake8 pre-commit hook (pytorch#679)

* amend

* [BugFix] Update to strict select (pytorch#675)

* init

* strict=False

* amend

* amend

* [Feature] Auto-compute stats for ObservationNorm (pytorch#669)

* Add auto-compute stats feature for ObservationNorm

* Fix issue in ObservNorm init function

* Quick refactor of ObservationNorm init method

* Minor refactoring and adding more tests for ObservationNorm

* lint

* docstring

* docstring

Co-authored-by: vmoens <vincentmoens@gmail.com>

* amend

* amend

* lint

* bf

* bf

* amend

Co-authored-by: Romain Julien <romainjulien@fb.com>

Co-authored-by: Romain Julien <romainjulien@fb.com>
vmoens added a commit that referenced this pull request Nov 23, 2022
* a2c

* a2c

* a2c config

* a2c config

* fix imports

* latest

* simplified config

* simplified config

* Update config.yaml

* [BugFix] Use GitHub for flake8 pre-commit hook (#679)

* [BugFix] Update to strict select (#675)

* init

* strict=False

* amend

* amend

* [Feature] Auto-compute stats for ObservationNorm (#669)

* Add auto-compute stats feature for ObservationNorm

* Fix issue in ObservNorm init function

* Quick refactor of ObservationNorm init method

* Minor refactoring and adding more tests for ObservationNorm

* lint

* docstring

* docstring

Co-authored-by: vmoens <vincentmoens@gmail.com>

* [Doc] _make_collector helper function (#678)

* [Doc] BatchSubSampler class docstrings example (#677)

* [BugFix] PPO objective crashes if advantage_module is None (#676)

* Minor: lint

* [Refactor] Refactor 'next_' into nested tensordicts (#649)

* init

* [Feature] Nested composite spec (#654)

* [Feature] Move `transform.forward` to `transform.step` (#660)

* transform step function

* amend

* amend

* amend

* amend

* amend

* fixing key names

* fixing key names

* [Refactor] Transform next remove (#661)

* Refactor "next_" into ("next", ) (#673)

* amend

* amend

* bugfix

* init

* strict=False

* strict=False

* minor

* amend

* [BugFix] Use GitHub for flake8 pre-commit hook (#679)

* amend

* [BugFix] Update to strict select (#675)

* init

* strict=False

* amend

* amend

* [Feature] Auto-compute stats for ObservationNorm (#669)

* Add auto-compute stats feature for ObservationNorm

* Fix issue in ObservNorm init function

* Quick refactor of ObservationNorm init method

* Minor refactoring and adding more tests for ObservationNorm

* lint

* docstring

* docstring

Co-authored-by: vmoens <vincentmoens@gmail.com>

* amend

* amend

* lint

* bf

* bf

* amend

Co-authored-by: Romain Julien <romainjulien@fb.com>

Co-authored-by: Romain Julien <romainjulien@fb.com>

* adapted to nested next td

* [Refactor] Refactor 'next_' into nested tensordicts (#649)

* init

* [Feature] Nested composite spec (#654)

* [Feature] Move `transform.forward` to `transform.step` (#660)

* transform step function

* amend

* amend

* amend

* amend

* amend

* fixing key names

* fixing key names

* [Refactor] Transform next remove (#661)

* Refactor "next_" into ("next", ) (#673)

* amend

* amend

* bugfix

* init

* strict=False

* strict=False

* minor

* amend

* [BugFix] Use GitHub for flake8 pre-commit hook (#679)

* amend

* [BugFix] Update to strict select (#675)

* init

* strict=False

* amend

* amend

* [Feature] Auto-compute stats for ObservationNorm (#669)

* Add auto-compute stats feature for ObservationNorm

* Fix issue in ObservNorm init function

* Quick refactor of ObservationNorm init method

* Minor refactoring and adding more tests for ObservationNorm

* lint

* docstring

* docstring

Co-authored-by: vmoens <vincentmoens@gmail.com>

* amend

* amend

* lint

* bf

* bf

* amend

Co-authored-by: Romain Julien <romainjulien@fb.com>

Co-authored-by: Romain Julien <romainjulien@fb.com>

* [Doc] More doc about environments (#683)

* amend

* amend

* amend

* amend

* amend

* amend

* [Doc] Fix missing tensordict install for doc (#685)

* model config fix

* formatting

* formatting

* a2c runtime error comment change

* a2c test

* a2c test

* a2c test

* make a2c model test

* increase a2c tests coverage

* formatting

* fix bug a2c testing

* minor fixes

Co-authored-by: Vincent Moens <vincentmoens@gmail.com>
Co-authored-by: Romain Julien <romainjulien@fb.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working CI Has to do with CI setup (e.g. wheels & builds, tests...) CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants