Skip to content

Commit dcd3eaa

Browse files
committed
chore: Add prettier as pre-commit hook
1 parent fe2dd13 commit dcd3eaa

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

.pre-commit-config.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,10 @@ repos:
2121
rev: v1.9.0
2222
hooks:
2323
- id: mypy
24+
25+
- repo: https://github.com/pre-commit/mirrors-prettier
26+
rev: v3.1.0
27+
hooks:
28+
- id: prettier
29+
name: prettier (*.md)
30+
files: .*\.md

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ to enable this behavior, just pass `exc_info=True`.
8484

8585
When you want to use structlog's built-in
8686
[`format_exc_info`](http://www.structlog.org/en/stable/api.html#structlog.processors.format_exc_info)
87-
processor, make that the `SentryProcessor` comes *before* `format_exc_info`!
87+
processor, make that the `SentryProcessor` comes _before_ `format_exc_info`!
8888
Otherwise, the `SentryProcessor` won't have an `exc_info` to work with, because
8989
it's removed from the event by `format_exc_info`.
9090

@@ -182,7 +182,7 @@ INTEGRATIONS = [
182182
sentry_sdk.init(integrations=INTEGRATIONS)
183183
```
184184

185-
This integration tells `sentry_sdk` to *ignore* standard logging and captures the events manually.
185+
This integration tells `sentry_sdk` to _ignore_ standard logging and captures the events manually.
186186

187187
## Testing
188188

@@ -194,4 +194,4 @@ tox
194194

195195
## Contributing
196196

197-
Create a merge request and tag @kiwicom/platform for review.
197+
Create a merge request and tag @kiwicom/platform for review.

0 commit comments

Comments
 (0)