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,7 @@ 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 [ Mamba User Guide ] ( https://mamba.readthedocs.io/en/latest/user_guide/mamba.html ) .
149149
150150Now, we should activate the environment:
151151
@@ -179,9 +179,6 @@ If the installation is successful, ESMValTool prints a help message to the conso
179179> the `` esmvaltool `` environment.
180180> Use this command to check that ESMValTool is installed in a `` develop `` mode.
181181>
182- > ** Tip** : see the
183- > [ documentation on conda list] ( https://docs.conda.io/projects/conda/en/latest/commands/list.html ) .
184- >
185182>> ## Solution
186183>>
187184>> Run:
@@ -202,7 +199,7 @@ If the installation is successful, ESMValTool prints a help message to the conso
202199
203200The ` ` main` ` branch has the latest features of ESMValTool. Please make sure
204201that 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` `
202+ code using git clone as explained in section ** 1 Source code** , you can run ` ` git pull` `
206203to update the source code. Then ESMValTool installation will be updated
207204with changes from the ` ` main` ` branch.
208205
@@ -276,7 +273,7 @@ The good news is that ``pre-commit`` has been already installed
276273when we chose development installation.
277274``pre-commit`` is a command line and runs all of those tools. It also fixes some of those errors.
278275To explore other tools, have a look at ESMValTool documentation on
279- [Code style ](https://docs.esmvaltool.org/en/latest/community/introduction .html#code-style ).
276+ [Code quality ](https://docs.esmvaltool.org/en/latest/community/code_documentation .html#code-quality ).
280277
281278> ## Using pre-commit
282279>
0 commit comments