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

fix pyre targets #508

Closed
wants to merge 1 commit into from
Closed

Conversation

galrotem
Copy link
Contributor

Summary:

Context

pyre is not configured properly for torchtnt. The config is in torchtnt/.pyre_configuration.local and the coverage is very partial

This diff

  1. Fix torchtnt/.pyre_configuration.local
  2. Codemod and add pyre-fixme to any pyre errors as a result pyre --output=json check | pyre-upgrade fixme
  3. Fix any lints as a result
  4. Fix the pyre issues that lint resurfaced

Differential Revision: D48478829

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D48478829

@codecov
Copy link

codecov bot commented Aug 18, 2023

Codecov Report

Merging #508 (398f1e5) into master (2bcc5ca) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #508   +/-   ##
=======================================
  Coverage   86.95%   86.95%           
=======================================
  Files         106      106           
  Lines        8407     8407           
=======================================
  Hits         7310     7310           
  Misses       1097     1097           
Files Changed Coverage Δ
tests/framework/callbacks/test_csv_writer.py 100.00% <ø> (ø)
tests/framework/callbacks/test_lambda.py 100.00% <ø> (ø)
.../framework/callbacks/test_learning_rate_monitor.py 100.00% <ø> (ø)
tests/framework/callbacks/test_module_summary.py 90.36% <ø> (ø)
...amework/callbacks/test_system_resources_monitor.py 100.00% <ø> (ø)
...rk/callbacks/test_tensorboard_parameter_monitor.py 100.00% <ø> (ø)
...ts/framework/callbacks/test_torchsnapshot_saver.py 89.26% <ø> (ø)
...ests/framework/callbacks/test_tqdm_progress_bar.py 100.00% <ø> (ø)
tests/framework/test_app_state_mixin.py 100.00% <ø> (ø)
tests/framework/test_auto_unit.py 71.71% <ø> (ø)
... and 18 more

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D48478829

galrotem added a commit to galrotem/tnt that referenced this pull request Aug 21, 2023
Summary:
Pull Request resolved: pytorch#508

# Context
`pyre` is not configured properly for `torchtnt`. The config is in `torchtnt/.pyre_configuration.local` and the coverage is very partial

# This diff
1. Fix `torchtnt/.pyre_configuration.local`
2. Codemod and add `pyre-fixme` to any pyre errors as a result `pyre --output=json check | pyre-upgrade fixme`
3. Fix any `lints` as a result
4. Fix the `pyre` issues that `lint` resurfaced

Reviewed By: ananthsub

Differential Revision: D48478829

fbshipit-source-id: d5ec136b7a92c8fa5fb0a178b9a318b5295ed62e
Summary:
Pull Request resolved: pytorch#508

# Context
`pyre` is not configured properly for `torchtnt`. The config is in `torchtnt/.pyre_configuration.local` and the coverage is very partial

# This diff
1. Fix `torchtnt/.pyre_configuration.local`
2. Codemod and add `pyre-fixme` to any pyre errors as a result `pyre --output=json check | pyre-upgrade fixme`
3. Fix any `lints` as a result
4. Fix the `pyre` issues that `lint` resurfaced

Reviewed By: ananthsub

Differential Revision: D48478829

fbshipit-source-id: fdcb7d5fa1898a07a68dd97a29242e3596bb2907
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D48478829

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants