Skip to content

Commit

Permalink
Move tmt-lint to dev plan
Browse files Browse the repository at this point in the history
Signed-off-by: Cristian Le <[email protected]>
  • Loading branch information
LecrisUT committed Aug 20, 2024
1 parent 41f0668 commit 33e36df
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 12 deletions.
12 changes: 0 additions & 12 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -146,18 +146,6 @@ repos:
- '--fix'
- '--show-fixes'

- repo: https://github.com/teemtee/tmt.git
rev: 1.35.0
hooks:
- id: tmt-lint
additional_dependencies:
- "docutils>=0.16" # 0.16 is the current one available for RHEL9
- "packaging>=20" # 20 seems to be available with RHEL8
- "pint<0.20"
- "pygments>=2.7.4" # 2.7.4 is the current one available for RHEL9
# Help installation by reducing the set of inspected botocore release.
# There is *a lot* of them, and hatch might fetch many of them.
- "botocore>=1.25.10" # 1.25.10 is the current one available for RHEL9
- repo: https://github.com/codespell-project/codespell
rev: v2.3.0
hooks:
Expand Down
9 changes: 9 additions & 0 deletions tests/dev/tmt-lint/main.fmf
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
summary: Run tmt-lint
description: |
Use the current version of the tmt source
tag+: [ with_tmt ]
framework: shell
test: |
source /tmp/venv/bin/activate
tmt lint
path: /

0 comments on commit 33e36df

Please sign in to comment.