Commit a1d3ceb
committed
feat: Configure and run pre-commit hooks
Set up pre-commit hooks with the pre-commit Python package, enabling the
following, as well as running them manually for the first time on the
entire repository with 'pre-commit run --all-files':
- trailing-whitespace
- end-of-file-fixer
- check-yaml
- check-added-large-files
- check-json
- check-toml
- ruff
- ruff-format
Signed-off-by: Phoevos Kalemkeris <[email protected]>1 parent 88c0b38 commit a1d3ceb
File tree
85 files changed
+133
-84
lines changed- .github/workflows
- app
- api
- auth
- static/images
- management
- docker
- celery
- huggingface-ner
- medcat-deid
- medcat-icd10
- medcat-snomed
- medcat-umls
- mlflow
- deployments
- scripts
- models
- server
- auth
- monitoring
- grafana/provisioning
- dashboards
- datasources
- prometheus
- nginx
- etc/nginx
- sites-enabled
- trf-deid
- scripts
- tests
- integration/features
- load
- data
- resources/fixture
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
85 files changed
+133
-84
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
0 commit comments