-1

I have a GitLab repo, but no tags. What is the initial tag of a repo? v1.0.0?

repos:
  - repo: https://gitlab.<company>.com/xxx/yyy/zzz.git
    rev: 1.0.0
    hooks:
      - id: black
      - id: trailing-whitespace
      - id: flake8
      - id: isort

Will it run?

anthony sottile
  • 61,815
  • 15
  • 148
  • 207
ku11
  • 43
  • 5

1 Answers1

0

According to pre-commit docs, you can specify revision sha of commit. e.g.

rev: 84f01ac09fcd8610824f9626a590b83cfae9bcbd
Allan Chain
  • 2,345
  • 1
  • 14
  • 29