Merge branch 'pre-commit' into 'master'

update pre-commit

See merge request !22
3 jobs for master in 2 minutes and 46 seconds (queued for 4 seconds)
Status Job ID Name Coverage
  Test
passed #850789830
entry

00:01:23

passed #850789820
mypy

00:02:46

passed #850789844
traits

00:01:21