Skip to content

Commit

Permalink
Add pre-commit badge and instructions to README (#83)
Browse files Browse the repository at this point in the history
  • Loading branch information
anneschuth authored Aug 23, 2024
2 parents e96d188 + 11de070 commit 1fa1723
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# AI-act-beslisboom

[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/MinBZK/ai-act-decisiontree/main.svg?badge_token=d3dKEK97RwC1II15_W-nng)](https://results.pre-commit.ci/latest/github/MinBZK/ai-act-decisiontree/main?badge_token=d3dKEK97RwC1II15_W-nng)

Deze git repository bevat de beslisboom op basis van de AI Verordening. Het project omvat 2 onderdelen.

1. De beslisboom: [decision-tree.yaml](decision-tree.yaml)
Expand Down Expand Up @@ -109,3 +111,18 @@ Door het volgende script te runnen, kunt u controlen of het bestand decision-tre
```sh
./script/validate --schema_file schemas/base.schema.json --yaml_file decision-tree.yaml
```

## Pre-commit

Om pre-commit lokaal in te schakelen, voer het volgende uit:
```sh
pip install pre-commit
pre-commit install
```

Bij volgende commits zullen alle hooks worden uitgevoerd.

Je kunt alle hooks handmatig als volgt uitvoeren:
```sh
re-commit run --all-files
```

0 comments on commit 1fa1723

Please sign in to comment.