Skip to content

Update outdated test documentation in CONTRIBUTING.md #1022

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

case-k-git
Copy link
Contributor

Resolves #

Description

The documentation about tests in CONTRIBUTING.md was outdated, so I updated it.

Checklist

  • 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-databricks next" section.

@case-k-git case-k-git force-pushed the feature/update-CONTRIBUTING.MD branch from 8951f79 to 4d55819 Compare May 14, 2025 12:33
@case-k-git case-k-git changed the title Update Testing Part Of CONTRIBUTING.MD Update outdated test documentation in CONTRIBUTING.md May 14, 2025

### Linting

This project uses [Black](https://pypi.org/project/black/), [flake8](https://flake8.pycqa.org/en/latest/), and [mypy](https://www.mypy-lang.org/) for linting and static type checks. Run all three with the `linter` command and commit before opening your pull request.
This project uses [Black](https://pypi.org/project/black/), [flake8](https://flake8.pycqa.org/en/latest/), and [mypy](https://www.mypy-lang.org/) for linting and static type checks. Run all three with the `code-quality` command and commit before opening your pull request.
Copy link
Collaborator

Choose a reason for hiding this comment

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

We don't actually use black/flake8 anymore. We use Ruff, which has similar rules implemented, and as you'd expect, is run by code-quality.

@@ -46,14 +46,14 @@ See [docs/local-dev.md](docs/local-dev.md).

## Code Style

We follow [PEP 8](https://www.python.org/dev/peps/pep-0008/) with one exception: lines can be up to 100 characters in length, not 79. You can run [`tox` linter command](#linting) to automatically format the source code before committing your changes.
We follow [PEP 8](https://www.python.org/dev/peps/pep-0008/) with one exception: lines can be up to 100 characters in length, not 79. You can run [hatch linter command](#linting) to automatically format the source code before committing your changes.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Maybe just drop this whole paragraph. Also, somewhere in this doc, we should probably just link to docs/dbt-databricks-dev

Copy link
Collaborator

@benc-db benc-db left a comment

Choose a reason for hiding this comment

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

If you have the time, there are a couple of other very small improvements that I would appreciate if we could integrate. Thank you!

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