[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)
Status Name Job ID Coverage
  Checks
passed build #56860

00:00:13

 
  Tests
passed tests:3.6 #56861
mille

00:01:17

passed tests:3.7 #56862
mille

00:01:12

passed tests:3.8 #56863
redshift

00:00:52

passed tests:3.9:coverage #56864
redshift

00:01:01

78.0%