Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Commit

Permalink
docs(#97): Add pycharm git error to common problems (#123)
Browse files Browse the repository at this point in the history
  • Loading branch information
timdreier authored Jan 5, 2023
1 parent b7b3815 commit f6ae839
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions doc/02_development/06_pycharm_setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,23 @@ The last step is to set up the docker-compose integration.
For this, please follow this [official guide](https://www.jetbrains.com/help/pycharm/using-docker-compose-as-a-remote-interpreter.html#docker-compose-remote), while selecting `./build/docker-compose.yml` as configuration file and `agent` as service.

After the initial indexing, PyCharm will provide intelligent code feedback and refactoring options in Python.

## 🚨 Common Problems

* Error when committing via PyCharm (error message may vary):

```shell
...
.git/hooks/pre-commit: 9: ././build/hooks/pre-commit.d/20-markdown.sh: b5: not found
```

This may happen if you installed b5 in your conda environment instead of the native one.
To fix this, install b5 in your native environment:

```shell
conda deactivate
sudo apt-get install python pip
pip install b5
```

After that, the commit should work!

0 comments on commit f6ae839

Please sign in to comment.