We changed Gitlab CI Yaml file and added !reference tag like this:
deploy-dev:
script:
- !reference [.deploy, script]
- other commands
pre-commit run gives the following output:
check yaml...............................................................Failed
- hook id: check-yaml
- exit code: 1
could not determine a constructor for the tag '!reference'
in ".gitlab-ci.yml", line 194, column 7
I found a recommendation to update ruamel version and added dependencies:
We changed Gitlab CI Yaml file and added !reference tag like this:
pre-commit run
gives the following output:I found a recommendation to update ruamel version and added dependencies:
Unfortunately that didn't help
Python version 3.9.7