Skip to content

Commit

Permalink
chore: white-space and pre-commit fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tobbee committed Jan 4, 2025
1 parent eb6e355 commit 1677230
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
rev: v5.0.0
hooks:
- id: trailing-whitespace
- repo: https://github.com/dnephin/pre-commit-golang
rev: v0.5.0
rev: v0.5.1
hooks:
- id: go-fmt
- id: golangci-lint
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ We follow the [GitHub Flow](https://guides.github.com/introduction/flow/index.ht
2. If you've added code that should be tested, add tests.
3. If you've changed APIs, update the documentation.
4. Ensure the test suite passes.
5. Add youself to the AUTHORS list, if not already there
5. Add yourself to the AUTHORS list, if not already there
6. Issue that pull request!

When submitting code changes your submissions are understood to be under the same MIT License that covers the project. Feel free to contact Eyevinn Technology if that's a concern.
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ To enable it in your Go project, run
go get github.com/Eyevinn/hls-m3u8/m3u8
```

To use the code add
To use the code add

```go
import github.com/Eyevinn/hls-m3u8/m3u8
Expand Down Expand Up @@ -81,7 +81,7 @@ To turn them off in VSC, add the following configuration:
To run checks before any commit is accepted, install [pre-commit][pre-commit] and then run

```sh
> pre-commit install --hook-type commit-msg
> pre-commit install
```

to set up the automatic tests.
Expand Down

0 comments on commit 1677230

Please sign in to comment.