Skip to content

Commit

Permalink
Add pre-commit metadata (#343)
Browse files Browse the repository at this point in the history
This allows using FawltyDeps in a pre-commit hook in your project, by
adding something like this to your project's `.pre-commit-config.yaml`:

```yaml
repos:
  - repo: https://github.com/tweag/FawltyDeps
    rev: v0.13.0
    hooks:
      - id: check
        args:
          - --detailed
```

See https://pre-commit.com for more information.
  • Loading branch information
multimeric authored Jul 27, 2023
1 parent a63e8b3 commit 9ccfaab
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .pre-commit-hooks.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
- id: check
name: FawltyDeps
description: Python dependency checker
entry: fawltydeps
language: python
pass_filenames: false

0 comments on commit 9ccfaab

Please sign in to comment.