Files
romm/.trunk/trunk.yaml
Georges-Antoine Assi 2b60402a04 start fixing mypy issues
2024-05-21 19:22:14 -04:00

50 lines
1.2 KiB
YAML

# This file controls the behavior of Trunk: https://docs.trunk.io/cli
# To learn more about the format of this file, see https://docs.trunk.io/reference/trunk-yaml
version: 0.1
cli:
version: 1.22.1
# Trunk provides extensibility via plugins. (https://docs.trunk.io/plugins)
plugins:
sources:
- id: trunk
ref: v1.5.0
uri: https://github.com/trunk-io/plugins
# Many linters and tools depend on runtimes - configure them here. (https://docs.trunk.io/runtimes)
runtimes:
enabled:
- go@1.21.0
- node@18.12.1
- python@3.10.8
# This is the section where you manage your linters. (https://docs.trunk.io/check/configuration)
lint:
enabled:
- actionlint@1.7.0
- bandit@1.7.8
- black@24.4.2
- checkov@3.2.98
- git-diff-check
- isort@5.13.2
- mypy@1.10.0
- osv-scanner@1.7.3
- oxipng@9.1.1
- prettier@3.2.5
- ruff@0.4.4
- shellcheck@0.10.0
- shfmt@3.6.0
- svgo@3.3.2
- taplo@0.8.1
- trivy@0.51.2
- trufflehog@3.76.3
- yamllint@1.35.1
ignore:
- linters: [ALL]
paths:
- src/__generated__/**
- docker/Dockerfile
actions:
enabled:
- trunk-announce
- trunk-check-pre-push
- trunk-fmt-pre-commit
- trunk-upgrade-available