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

DM-24247: Fix skypix dimension aliasing in file template validation #346

Merged
merged 4 commits into from Aug 11, 2020

Conversation

timj
Copy link
Member

@timj timj commented Aug 10, 2020

No description provided.

The stack trace should only happen if a code problem is encountered.
This change ensures that we exit with bad exit status if validation
fails but do not contaminate the output with a stack trace.
mypy really doesn't like try/except AttributeError so do
an instance check in FileTemplate to keep it happy.
@timj timj requested a review from TallJimbo August 10, 2020 21:16
Copy link
Member

@TallJimbo TallJimbo left a comment

Choose a reason for hiding this comment

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

Looks good.

I gather we're just giving up on snake_case vs. camelCase consistency, at least in the CLI-facing stuff? I see both styles here, even in the same method, and I find that slightly worrying, but not enough to do more than just make sure that reflects an intentional slow transition to snake_case (in all new code? in some places?) rather than accidental.

@timj timj merged commit a3e9947 into master Aug 11, 2020
@timj timj deleted the tickets/DM-24247 branch August 11, 2020 16:26
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