-
Notifications
You must be signed in to change notification settings - Fork 149
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
base: main
Are you sure you want to change the base?
Update outdated test documentation in CONTRIBUTING.md #1022
Conversation
8951f79
to
4d55819
Compare
|
||
### 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. |
There was a problem hiding this comment.
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. |
There was a problem hiding this comment.
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
There was a problem hiding this 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!
Resolves #
Description
The documentation about tests in CONTRIBUTING.md was outdated, so I updated it.
Checklist
CHANGELOG.md
and added information about my change to the "dbt-databricks next" section.