While doing the MR #31 I followed the CONTRIBUTING step-by-step and I have some feedbacks / remarks / problems:
Once the conda environment is installed, the pre-commit was not available (even if the it is available in environment_dev.yaml). I tried to run pip install pre-commit but it did not solve the issue. However, using conda install -c conda-forge pre-commit solved the issue. Maybe we can update the environment_dev.yaml by moving the pre-commit requirement from pip to dependencies (+ add conda-forge channel which is commented for now)
Once the pre-commit is installed, it is advised to launch pre-commit run --all-files. With the latest version of main I had several errors, cf:
Regarding the pre-commit, isort is mentioned in the CONTRIBUTING.md but it is not defined in the .pre-commit-config.yaml (Remark: mypy is used but not mentioned in the CONTRIBUTING.md)
To ensure the git conventions you can add a hook in the pre-commit by adding the following lines in the .pre-commit-config.yaml`:
While doing the MR #31 I followed the CONTRIBUTING step-by-step and I have some feedbacks / remarks / problems:
pre-commit
was not available (even if the it is available inenvironment_dev.yaml
). I tried to runpip install pre-commit
but it did not solve the issue. However, usingconda install -c conda-forge pre-commit
solved the issue. Maybe we can update theenvironment_dev.yaml
by moving thepre-commit
requirement frompip
todependencies
(+ addconda-forge
channel which is commented for now)pre-commit
is installed, it is advised to launchpre-commit run --all-files
. With the latest version ofmain
I had several errors, cf:pre-commit
,isort
is mentioned in theCONTRIBUTING.md
but it is not defined in the.pre-commit-config.yaml
(Remark:mypy
is used but not mentioned in theCONTRIBUTING.md
)Some information regarding my laptop: