Skip to content

aeppo v0.5.0

Choose a tag to compare

@emanuellzoe emanuellzoe released this 18 Nov 14:34
c556371

Highlights

Project configuration: .aeppo.toml

exclude = ["tests/fixtures/**"]
disable = ["SH005"]
min-severity = "medium"
max-file-size = 1048576
baseline = "aeppo-baseline.json"
  • Found automatically by walking up from the scanned directory to the repository root, so the CLI, pre-commit, and the GitHub Action share one set of settings.
  • Command-line options take precedence. --exclude and --disable add to the file's lists.
  • --config FILE uses a specific file; --no-config ignores it.
  • Unknown keys, unknown rule IDs, and invalid values are errors, so a typo cannot silently disable a setting.
  • Still no runtime dependencies: tomllib on Python 3.11+, and a built-in parser for the same subset on 3.9 and 3.10.

pre-commit hook

repos:
  - repo: https://github.com/emanuellzoe/aeppo
    rev: c55637139788d6f5f2ed920628f368f7bfdca6a6  # v0.5.0
    hooks:
      - id: aeppo

The hook scans staged files and blocks the commit when it finds something. Files aeppo cannot scan are skipped.

CLI

  • Several files or directories in one run.
  • --disable RULE turns a rule off.
  • --skip-unsupported skips file arguments aeppo cannot scan.
- uses: emanuellzoe/aeppo@c55637139788d6f5f2ed920628f368f7bfdca6a6 # v0.5.0

Full changelog: v0.4.0...v0.5.0