File: .pre-commit-config.yaml

package info (click to toggle)
python-rosettasciio 0.7.1-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 144,648 kB
  • sloc: python: 36,638; xml: 2,582; makefile: 22; ansic: 4
file content (21 lines) | stat: -rw-r--r-- 572 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
repos:
  - repo: https://github.com/astral-sh/ruff-pre-commit
    # Ruff version.
    rev: v0.8.1
    hooks:
      # Run the linter.
      - id: ruff
        args: [ --fix ]
      # Run the formatter.
      - id: ruff-format
  - repo: local
    hooks:
    - id: registry
      additional_dependencies: ["pooch"]
      name: Update registry
      entry: python update_registry.py
      language: python
ci:
    # Don't run automatically on PRs, instead add the comment
    # "pre-commit.ci autofix" on a pull request to manually trigger auto-fixing 
    autofix_prs: false