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

Don't require a kwarg for Target and Field constructors #11984

Merged
merged 2 commits into from Apr 29, 2021

Conversation

Eric-Arellano
Copy link
Contributor

It was a mistake that we required a kwarg for Address when I first wrote the Target API - the type hint makes it unambiguous already that the second arg is an Address.

Fixing this makes our tests less verbose.

[ci skip-rust]
[ci skip-build-wheels]

# Rust tests and lints will be skipped. Delete if not intended.
[ci skip-rust]

# Building wheels and fs_util will be skipped. Delete if not intended.
[ci skip-build-wheels]
# Rust tests and lints will be skipped. Delete if not intended.
[ci skip-rust]

# Building wheels and fs_util will be skipped. Delete if not intended.
[ci skip-build-wheels]
@Eric-Arellano Eric-Arellano merged commit d9ec8ac into pantsbuild:main Apr 29, 2021
@Eric-Arellano Eric-Arellano deleted the address-kwarg branch April 29, 2021 23:10
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

Successfully merging this pull request may close these issues.

None yet

2 participants