File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -38,10 +38,9 @@ The project's written in Python and uses `Poetry`_ for dependency and package
38
38
management. We also use `pre-commit `_ to manage our pre-commit hooks, which
39
39
rely on `black `_, `mypy `_, `pylint `_, amongst others.
40
40
41
- Create your environment::
41
+ From within a VS Code ` devcontainer `_] environment (recommended) ::
42
42
43
- poetry shell
44
- poetry install --with dev
43
+ poetry install --with dev --sync
45
44
pre-commit install -t commit-msg -t pre-commit
46
45
47
46
And then start by running the pre-commit hooks to ensure you're stating with a
@@ -51,9 +50,10 @@ _clean_ project::
51
50
52
51
And then run the tests::
53
52
54
- coverage run -m pytest
55
- coverage report
53
+ poetry run coverage run -m pytest
54
+ poetry run coverage report
56
55
56
+ .. _devcontainer : https://code.visualstudio.com/docs/devcontainers/containers
57
57
.. _Poetry : https://python-poetry.org
58
58
.. _pre-commit : https://pre-commit.com
59
59
.. _black : https://github.com/psf/black
You can’t perform that action at this time.
0 commit comments