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

mypy static type checking for mlos_bench #306

Merged
merged 137 commits into from
Apr 19, 2023

Conversation

bpkroth
Copy link
Contributor

@bpkroth bpkroth commented Apr 13, 2023

Adds static type checking via mypy for mlos_bench as well.

Builds on #305, #307

  • Add Protocols for different Service types so Environments can check that the appropriate Service mix-ins have been setup.
    • Config Loader
    • Local Exec
    • Remote Exec
    • Remote Fileshare
    • VM Ops
      • Future PR: Split VM Ops to VM/Host and OS Ops (for local SSH support)

@bpkroth bpkroth added the ready for review Ready for review label Apr 17, 2023
Copy link
Member

@motus motus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

love it! left a few nitpick comments

mlos_bench/mlos_bench/environment/base_environment.py Outdated Show resolved Hide resolved
mlos_bench/mlos_bench/environment/base_environment.py Outdated Show resolved Hide resolved
mlos_bench/mlos_bench/tunables/tunable_groups.py Outdated Show resolved Hide resolved
mlos_bench/mlos_bench/tunables/tunable_groups.py Outdated Show resolved Hide resolved
@bpkroth bpkroth enabled auto-merge (squash) April 19, 2023 18:27
@bpkroth bpkroth merged commit 9fe180a into microsoft:main Apr 19, 2023
@bpkroth bpkroth deleted the mypy-typing-mlos_bench branch April 19, 2023 18:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready for review Ready for review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants