Informasjonsforvaltning / docs

Dokumentasjon om informasjonsforvaltning og våre løsninger
https://informasjonsforvaltning.github.io
Apache License 2.0
2 stars 4 forks source link

How to support poetry in PyCharm #38

Closed NilsOveTen closed 3 years ago

NilsOveTen commented 4 years ago

plugin

Add the poetry plugin https://plugins.jetbrains.com/plugin/14307-poetry

interpreter

Ctrl+Alt+S -> Project -> python interpreter -> cog by dropdown -> Add -> Poetry Environment -> choose python interpreter, i.e. 'python3.9', from '.../.pyenv/shims/' as Base interpreter and set 'poetry' from '.../.pyenv/shims/' as Poetry executable.

pytest

Ctrl+Alt+S -> Tools -> Python integrated tools -> Testing -> set 'pytest' as Default test runner

stigbd commented 3 years ago

Added instructions in 14b40bc