Skip to content

Commit

Permalink
chore: add dev and test dependcies to Poetry
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacek Gruzewski committed Mar 21, 2023
1 parent 43916bb commit 397c6c5
Show file tree
Hide file tree
Showing 4 changed files with 751 additions and 245 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ kapitan.egg-info/
_site/
site/

# Environment
.envrc

# IDEs
.vscode/

Expand Down
7 changes: 7 additions & 0 deletions docs/pages/contribute/code.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ There are multiple solutions:
* [pyenv](https://github.com/pyenv/pyenv)
* [virtualenv](https://virtualenv.pypa.io/en/latest/)
* [venv](https://docs.python.org/3/library/venv.html)
* [poetry](https://python-poetry.org/docs/#installation)

Once you've done it, please install all Kapitan's dependencies:

Expand All @@ -33,6 +34,12 @@ pip3 install black # required for `make test_formatting`
pip3 install -r requirements.txt
```

or with `poetry`:

```shell
poetry install --with dev,docs,test
```

Because we are using a pinned version of reclass which is added as a submodule into Kapitan's
repository, you need to pull it separately by executing the command below:

Expand Down

0 comments on commit 397c6c5

Please sign in to comment.