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*
330
330
331
-
- 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/))
332
-
333
-
*Needed to conveniently run development tasks.*
334
-
*Alternatively, manually run the commands defined in the [Makefile](./Makefile)*
331
+
-[poethepoet](https://github.com/nat-n/poethepoet) for running development tasks as defined in pyproject.toml
332
+
- Can be installed to your host environment via `pip install poethepoet` then executed as simple `poe`
333
+
- or run from the poetry venv as `poetry run poe`
335
334
336
335
### Setup
337
336
@@ -344,16 +343,14 @@ poetry install
344
343
poetry shell
345
344
```
346
345
347
-
Run `make help` to see all available development tasks.
348
-
349
346
### Code style
350
347
351
348
This project enforces [black](https://github.com/psf/black) python code formatting.
352
349
353
350
Before committing changes run:
354
351
355
352
```sh
356
-
make format
353
+
poe format
357
354
```
358
355
359
356
To avoid merge conflicts later, non-black formatted python code will fail in CI.
@@ -387,15 +384,15 @@ Here's how to run the tests.
387
384
388
385
```sh
389
386
# Generate assets from sample .proto files required by the tests
390
-
make generate
387
+
poe generate
391
388
# Run the tests
392
-
maketest
389
+
poetest
393
390
```
394
391
395
392
To run tests as they are run in CI (with tox) run:
0 commit comments