You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*Needed to install dependencies in a virtual environment*
316
316
317
-
- make ([ubuntu](https://www.howtoinstall.me/ubuntu/18-04/make/), [windows](https://stackoverflow.com/questions/32127524/how-to-install-and-use-make-in-windows), [mac](https://osxdaily.com/2014/02/12/install-command-line-tools-mac-os-x/))
318
-
319
-
*Needed to conveniently run development tasks.*
320
-
*Alternatively, manually run the commands defined in the [Makefile](./Makefile)*
317
+
-[poethepoet](https://github.com/nat-n/poethepoet) for running development tasks as defined in pyproject.toml
318
+
- Can be installed to your host environment via `pip install poethepoet` then executed as simple `poe`
319
+
- or run from the poetry venv as `poetry run poe`
321
320
322
321
### Setup
323
322
@@ -329,16 +328,14 @@ poetry install
329
328
poetry shell
330
329
```
331
330
332
-
Run `make help` to see all available development tasks.
333
-
334
331
### Code style
335
332
336
333
This project enforces [black](https://github.com/psf/black) python code formatting.
337
334
338
335
Before committing changes run:
339
336
340
337
```sh
341
-
make format
338
+
poe format
342
339
```
343
340
344
341
To avoid merge conflicts later, non-black formatted python code will fail in CI.
@@ -372,15 +369,15 @@ Here's how to run the tests.
372
369
373
370
```sh
374
371
# Generate assets from sample .proto files required by the tests
375
-
make generate
372
+
poe generate
376
373
# Run the tests
377
-
maketest
374
+
poetest
378
375
```
379
376
380
377
To run tests as they are run in CI (with tox) run:
0 commit comments