[doc] duniterpy#169: Update pre-commit doc. Document CI linter hook usage

Give the choices to install pre-commit via the distrib or via pip

Fix Poetry link, since the website changed of CMS
5 jobs for dp_169_gitlab_ci_hooks in 1 minute and 30 seconds (queued for 6 seconds)