22title : " Development and contribution"
33teaching : 10
44exercises : 20
5- compatibility : ESMValTool v2.9 .0
5+ compatibility : ESMValTool v2.13 .0
66
77questions :
88- " What is a development installation?"
@@ -116,11 +116,11 @@ following the lesson
116116[ Installation] ({{ page.root }}{% link _ episodes/02-installation.md %}),
117117we should choose another name for the new environment in this lesson.
118118
119- ESMValTool now uses ` mamba ` instead of ` conda ` for the recommended installation.
119+ ESMValTool uses ` mamba ` for the recommended installation.
120120For a minimal mamba installation, see section ** Install Mamba** in lesson
121121[ Installation] ({{ page.root }}{% link _ episodes/02-installation.md %}).
122122
123- It is good practice to update the version of mamba and conda on your machine before
123+ It is good practice to update the version of mamba on your machine before
124124setting up ESMValTool. This can be done as follows:
125125
126126~~~ bash
@@ -145,7 +145,8 @@ mamba env create --name a_new_name --file environment.yml
145145This will create a new conda environment and install ESMValTool (with all
146146dependencies that are needed for development purposes) into it with a single command.
147147
148- For more information see [ conda managing environments] [ manage-environments ] .
148+ For more information see
149+ [ Mamba User Guide] ( https://mamba.readthedocs.io/en/latest/user_guide/mamba.html ) .
149150
150151Now, we should activate the environment:
151152
@@ -179,9 +180,6 @@ If the installation is successful, ESMValTool prints a help message to the conso
179180> the `` esmvaltool `` environment.
180181> Use this command to check that ESMValTool is installed in a `` develop `` mode.
181182>
182- > ** Tip** : see the
183- > [ documentation on conda list] ( https://docs.conda.io/projects/conda/en/latest/commands/list.html ) .
184- >
185183>> ## Solution
186184>>
187185>> Run:
@@ -202,7 +200,7 @@ If the installation is successful, ESMValTool prints a help message to the conso
202200
203201The ` ` main` ` branch has the latest features of ESMValTool. Please make sure
204202that the source code on your machine is up-to-date. If you obtain the source
205- code using git clone as explained in step ** 1 Source code** , you can run ` ` git pull` `
203+ code using git clone as explained in section ** 1 Source code** , you can run ` ` git pull` `
206204to update the source code. Then ESMValTool installation will be updated
207205with changes from the ` ` main` ` branch.
208206
@@ -276,7 +274,8 @@ The good news is that ``pre-commit`` has been already installed
276274when we chose development installation.
277275``pre-commit`` is a command line and runs all of those tools. It also fixes some of those errors.
278276To explore other tools, have a look at ESMValTool documentation on
279- [Code style](https://docs.esmvaltool.org/en/latest/community/introduction.html#code-style).
277+ [Code quality](https://docs.esmvaltool.org/en/latest/community/
278+ code_documentation.html#code-quality).
280279
281280> ## Using pre-commit
282281>
0 commit comments