diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 9d2880e8..e13879c2 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -74,7 +74,7 @@ Rather than forking `dbt-labs/dbt-postgres`, use `dbt-labs/dbt-postgres` directl [Setting up an environment](https://github.com/dbt-labs/dbt-core/blob/HEAD/CONTRIBUTING.md#setting-up-an-environment) 3. Install `dbt-postgres` and development dependencies in the virtual environment ```shell - pip install -e .[dev] + pip install -e "".[dev]"" ``` When `dbt-postgres` is installed this way, any changes made to the `dbt-postgres` source code @@ -86,6 +86,8 @@ will be reflected in the virtual environment immediately. `dbt-postgres` contains [unit](https://github.com/dbt-labs/dbt-postgres/tree/main/tests/unit) and [functional](https://github.com/dbt-labs/dbt-postgres/tree/main/tests/functional) tests. +To install test dependencies run: `pip install -e ".[test]"` + ### Unit tests Unit tests can be run locally without setting up a database connection: diff --git a/dbt/adapters/postgres/__about__.py b/dbt/adapters/postgres/__version__.py similarity index 100% rename from dbt/adapters/postgres/__about__.py rename to dbt/adapters/postgres/__version__.py diff --git a/pyproject.toml b/pyproject.toml index c9ad0e50..31c5ac79 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -84,7 +84,7 @@ include = ["dbt"] packages = ["dbt"] [tool.hatch.version] -path = "dbt/adapters/postgres/__about__.py" +path = "dbt/adapters/postgres/__version__.py" [tool.hatch.envs.default] features = [