PyCharm setup - cma-open/cmatools GitHub Wiki

When using PyCharm for development the conda environment must be set in the project interpreter

  • After conda has been setup ready for development
  • In PyCharm, add the correct conda env as project interpretor
  • Select menu:
    • File /
    • Settings /
    • Project interpretor /
    • Add /
    • Add an existing conda env
    • Navigate to correct dir, e.g.
    • ~/miniconda3/envs/cmatools-env/bin/python

Set the use of pytest and numpy docstrings

  • Select menu:
    • File /
    • Settings /
    • Python integrated tools /
      • Testing; pytest
      • Docstrings: numpy