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 commit hook tooling. #356

Merged
merged 4 commits into from
May 13, 2022
Merged

Conversation

VersusFacit
Copy link
Contributor

  • Make pre commit code changes (Make pre commit code changes #345)
  • Refactor exception function using accurate type specs.
  • Upgrade the mypy version in order to use TypeAlias-es.
  • Upgrade the mypy version in the worfklow. Fix bug introduced by using str's instead of Optional[str]'s
  • Address code review comments: Remove integration test command since there are multiple ways we can run tests in spark.

resolves #292 . Overrides #297

Description

Add pre-commit tooling to this repo. The code here is a product of prior PRs. Changelog is included here.

Checklist

  • I have signed the CLA
  • I have run this code in development and it appears to resolve the stated issue
  • This PR includes tests, or tests are not required/relevant for this PR
  • I have updated the CHANGELOG.md and added information about my change to the "dbt-spark next" section.

* Make pre commit code changes (#345)
* Refactor exception function using accurate type specs.
* Upgrade the mypy version in order to use TypeAlias-es.
* Upgrade the mypy version in the worfklow. Fix bug introduced by using str's instead of Optional[str]'s
* Address code review comments: Remove integration test command since there are multiple ways we can run tests in spark.
@cla-bot cla-bot bot added the cla:yes label May 11, 2022
@VersusFacit VersusFacit changed the title Add commit hook tooling. (#346) Add commit hook tooling. May 11, 2022
Copy link
Contributor

@jtcohen6 jtcohen6 left a comment

Choose a reason for hiding this comment

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

lgtm! very glad to have this running on all our adapters :)

@VersusFacit VersusFacit merged commit 5ff1c42 into main May 13, 2022
@VersusFacit VersusFacit deleted the CT-238/add_precommit_hooks_spark branch May 13, 2022 16:06
@jtcohen6 jtcohen6 mentioned this pull request May 16, 2022
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[CT-238] Add black formatter and precommit hooks
2 participants