-
Notifications
You must be signed in to change notification settings - Fork 179
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 pre commit hooks and format changes in repo. #99
Conversation
Adding precheck manager, make tasks, workflows, and dev requirements to facilitate these workflows.
My own thoughts:
|
Hey figured id share some of my findings seems we are having some of the same snags.
|
Thanks for the background, Matt. Good to see some additional context on these matters. That said, we'll have to see what Ian jumps in with in order to know what solutions would best meet the intended spec. At the moment, things could go "either" way for lots of these. |
@VersusFacit @McKnight-42 good questions here! Let me give my 2 cents:
|
Sorry it's taken me a bit to get back to you @VersusFacit and co. Here's my $.02
Agreed, there is a third option which is to dive into the mysteries of MyPy to be able to dictate how mypy reads our codebases... in theory we can "make it understand" that they're different things. It's work we're going to need to do eventually on core, but probably doesn't make sense in adapters just yet.
Yes please :)
Let's punt on that for now. All the core repos makefiles have those refs since for a long time we had a docker-based dev workflow. I'd want to make sure it's not being used elsewhere (in cloud maybe? /shrug) before we nuke it. When we do nuke it we should do so for all repos that have Makefiles
Maybe? My recommendation was based on the current work for core that's re-vamping the way tests are run. If that work is going to be done here as well then yeah, skip it. Otherwise it might be worth putting some effort into it. All in all having tests pass mypy isn't a very high priority IMO. |
resolves #95
Description
This repository outfits the Snowflake repository with new CI/CD utilities, dev tools (e.g. Makefile), and formats source herein according to these tools.
Things went mostly without problem. However, there exists a lingering set of questions before merging. These are more "what do we want" questions as opposed to "help me with this bug."
Spec-related questions, only the first of which is a non-trivial manner. The rest don't have much in the way of tradeoffs:
For viewing convenience, the first commit in this PR handles the commit hook logic. Everything else are batches of file changes.
Checklist
CHANGELOG.md
and added information about my change to the "dbt-snowflake next" section.