Skip to content

Commit 0e8e650

Browse files
authored
Merge pull request #702 from snrsw/chore/update-setting-up-dev-env-instruction
2 parents e3f5540 + b341b0e commit 0e8e650

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,8 +170,8 @@ We'd love to hear from you! [Open an Issue](https://github.com/tconbeer/sqlfmt/i
170170
1. Install [Poetry](https://python-poetry.org/docs/#installation) v1.2 or higher if you don't have it already. You may also need or want pyenv, make, and gcc. A complete setup from a fresh install of Ubuntu can be found [here](https://github.com/tconbeer/linux_setup).
171171
1. Clone this repo into a directory (let's call it `sqlfmt`), then `cd sqlfmt`.
172172
1. Use `poetry install --all-extras --sync` to install the project (editable) and its dependencies (including the `jinjafmt` and `sqlfmt_primer` extras) into a new virtual env.
173-
1. Use `poetry shell` to spawn a subshell.
174-
1. Type `make` to run all tests and linters, or run `pytest`, `black`, `flake8`, `isort`, and `mypy` individually.
173+
1. Use `poetry shell` to spawn a subshell (if you are using Poetry v2.0 or higher, it is recommended that you use the command `eval $(poetry env activate)` instead. Alternatively, you can install the plugin [poetry-plugin-shell](https://github.com/python-poetry/poetry-plugin-shell)).
174+
2. Type `make` to run all tests and linters, or run `pytest`, `ruff`, and `mypy` individually.
175175

176176
### Updating primer repos to reflect formatting changes
177177

0 commit comments

Comments
 (0)