Skip to content

Commit

Permalink
Merge pull request #87 from rstcheck/pre-commit-ci-update-config
Browse files Browse the repository at this point in the history
[pre-commit.ci] pre-commit autoupdate
  • Loading branch information
Cielquan authored Jan 24, 2024
2 parents 159b630 + eebf9e0 commit b654b05
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 14 deletions.
18 changes: 9 additions & 9 deletions .markdownlint-cli2.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -4,32 +4,32 @@
"MD003": "atx", // heading-style
"MD004": {
// ul-style
"style": "dash"
"style": "dash",
},
"MD013": {
// line-length
"line_length": 100
"line_length": 100,
},
"MD014": false, // commands-show-output
"MD024": {
// no-duplicate-heading
"siblings_only": true
"siblings_only": true,
},
"MD035": {
// hr-style
"style": "---"
"style": "---",
},
"MD048": {
// code-fence-style
"style": "backtick"
"style": "backtick",
},
"MD049": {
// emphasis-style
"style": "underscore"
"style": "underscore",
},
"MD050": {
// strong-style
"style": "asterisk"
}
}
"style": "asterisk",
},
},
}
10 changes: 6 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ repos:

# ruff - python linter with fixing ability
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: fbe77be689d01fea5a7b64d3c495d4d1ed646852 # frozen: v0.1.11
rev: 1d42195ebc67a509991eaf68c2353e0181003a95 # frozen: v0.1.14
hooks:
- id: ruff
name: ruff (fix)
Expand All @@ -68,9 +68,11 @@ repos:

# prettier - multi formatter
- repo: https://github.com/pre-commit/mirrors-prettier
rev: ffb6a759a979008c0e6dff86e39f4745a2d9eac4 # frozen: v3.1.0
rev: f12edd9c7be1c20cfa42420fd0e6df71e42b51ea # frozen: v4.0.0-alpha.8
hooks:
- id: prettier
additional_dependencies:
- "prettier@^3.2.4"

# ----------------------------------------------
# Spelling dict
Expand Down Expand Up @@ -140,7 +142,7 @@ repos:

# ruff - python linter with fixing ability
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: fbe77be689d01fea5a7b64d3c495d4d1ed646852 # frozen: v0.1.11
rev: 1d42195ebc67a509991eaf68c2353e0181003a95 # frozen: v0.1.14
hooks:
- id: ruff
name: ruff (lint)
Expand Down Expand Up @@ -209,7 +211,7 @@ repos:

# markdownlint - md file checker
- repo: https://github.com/DavidAnson/markdownlint-cli2
rev: 8524909c7a86f78a6b915ffafea220a6f3979ba1 # frozen: v0.11.0
rev: 82c791e94c2e2ab2119437d61c722c8e0c20d6c9 # frozen: v0.12.1
hooks:
- id: markdownlint-cli2

Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ NOTE: please use them in this order.

### Miscellaneous

- Remove unused pre python 3.8 compatibility code ([#74](https://github.com/rstcheck-core/rstcheck/pull/74))
- Remove unused pre python 3.8 compatibility code ([#74](https://github.com/rstcheck/rstcheck-core/pull/74))
- Add optional YAML code block support ([#77](https://github.com/rstcheck/rstcheck-core/issues/77))
- Improve log message content and reduce log level to warning for missing line numbers in
literal blocks ([#81](https://github.com/rstcheck/rstcheck-core/issues/81))
Expand Down

0 comments on commit b654b05

Please sign in to comment.