Skip to content

Commit b7b7dc8

Browse files
committed
disable specific errors in markdown lint
1 parent e4d4b67 commit b7b7dc8

File tree

4 files changed

+12
-3
lines changed

4 files changed

+12
-3
lines changed

.markdownlint.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
11
{
2-
"MD046": false
2+
"MD040": false,
3+
"MD041": false,
4+
"MD046": false,
5+
"MD013": {
6+
"line_length": 80,
7+
"code_block_line_length": 180,
8+
"tables": false
9+
}
310
}

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ repos:
2525
- id: pymarkdown
2626
name: "check markdown"
2727
exclude: ^.github/|CHANGELOG
28-
args: [-d, "MD046", scan]
28+
args: [scan]
2929

3030
- repo: https://github.com/pre-commit/mirrors-mypy
3131
rev: "v1.10.0" # Use the sha / tag you want to point at

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ other arguments are optional:
162162
project uses SQLAlchemy as a dependency ([as demonstrated in the FastAPI
163163
docs](https://fastapi.tiangolo.com/tutorial/sql-databases/)), you should
164164
include `Session` in `ignore_arg_types` in order for cache keys to be
165-
created correctly ([More info](#cache-keys)).
165+
created correctly ([More info][cache-keys]).
166166

167167
### `@cache` Decorator
168168

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,8 @@ changelog.help = "Generate the CHANGELOG.md file"
131131
plugins.md014.enabled = false
132132
plugins.md046.enabled = false
133133
plugins.md013.enabled = false
134+
plugins.md040.enabled = false
135+
plugins.md041.enabled = false
134136

135137
[tool.ruff]
136138
line-length = 80

0 commit comments

Comments
 (0)