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. #346

Merged

Conversation

VersusFacit
Copy link
Contributor

@VersusFacit VersusFacit commented May 5, 2022

resolves #292

Description

Logic changes for pre-commit hooks.

This branch will fail until this 🟢 PR has been merged into it. These are the actual code changes to meet the conditions set by pre-commit hooks.

We'll also need to disable any leftover Flake8 checks.

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.

dev_requirements.txt Outdated Show resolved Hide resolved
Makefile Outdated Show resolved Hide resolved
.pre-commit-config.yaml Outdated Show resolved Hide resolved
VersusFacit and others added 2 commits May 11, 2022 11:54
* Run pre commit hooks and do some minor type editing.

* 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

Co-authored-by: Mila Page <[email protected]>
…e there are multiple ways we can run tests in spark.
@VersusFacit VersusFacit merged commit dffad1f into CT-238/add_precommit_hooks_spark May 11, 2022
@VersusFacit VersusFacit deleted the add_precommit_hook_logic branch May 11, 2022 21:52
VersusFacit added a commit that referenced this pull request May 13, 2022
* Add commit hook tooling. (#346)
* 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.
* Add changelog entry
* Altering names of dev_requirements references.
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.

2 participants