File: .pre-commit-config.yaml

package info (click to toggle)
gammapy 2.0-6
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 11,368 kB
  • sloc: python: 81,732; makefile: 228; sh: 11; javascript: 10
file content (11 lines) | stat: -rw-r--r-- 298 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11

repos:
  - repo: https://github.com/astral-sh/ruff-pre-commit
    rev: v0.7.3
    hooks:
      - id: ruff
        name: ruff linting
        args: ["--config=pyproject.toml", "--fix", "--show-fixes"]
      - id : ruff-format
        name: ruff formatting
        args: ["--config=pyproject.toml"]