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

Add flag for raising errors on warnings (#1243) #1280

Merged
merged 3 commits into from
Feb 13, 2019

Conversation

beckjake
Copy link
Contributor

@beckjake beckjake commented Feb 7, 2019

Fixes #1243
Fixes #1279

fixes strict mode + related asserts
adds internal WARN_ERROR support and a warn_on_error function
makes everything that says "warning" go through warn_or_error
adds --warn-error flag to main.py
removes sql_where from tests
replaces drop-existing with full-refresh in tests
(re-)adds integration tests for malformed schema/source tests and strict mode

@beckjake beckjake force-pushed the feature/werror branch 3 times, most recently from 4a514fc to 9041810 Compare February 7, 2019 13:50
Jacob Beck added 3 commits February 8, 2019 08:00
fix strict mode
fix some strict mode asserts
add internal WARN_ERROR support and a warn_on_error function
make everything that says "warning" go through warn_or_error
add --warn-error flag to main.py
remove sql_where from tests
replace drop-existing with full-refresh in tests
(re-)add integration tests for malformed schema/source tests and strict mode
Remove unnecessary is_incremental() from test
Fix strict mode type check
@drewbanin drewbanin self-requested a review February 13, 2019 15:54
Copy link
Contributor

@drewbanin drewbanin left a comment

Choose a reason for hiding this comment

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

LGTM -- 🚢 it

@beckjake beckjake merged commit 7bab315 into dev/stephen-girard Feb 13, 2019
@beckjake beckjake deleted the feature/werror branch February 13, 2019 15:55
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.

2 participants