Skip to content

Commit

Permalink
Merge pull request #187 from jorenham/maintenance/mdformat-pyproject-…
Browse files Browse the repository at this point in the history
…0.0.2

bump `mdformat` and `mdformat-pyproject`
  • Loading branch information
jorenham authored Nov 20, 2024
2 parents 03a663b + 14d428b commit 101db4e
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ repos:
- id: markdownlint

- repo: https://github.com/executablebooks/mdformat
rev: 0.7.18
rev: 0.7.19
hooks:
- id: mdformat
additional_dependencies:
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ This will run `stubtest` in parallel on all supported Python versions, as well a

### Improving The Documentation

All \[documentation\] lives in the `README.md`. Please read it carefully before
All [documentation] lives in the `README.md`. Please read it carefully before
proposing any changes. Ensure that the markdown is formatted correctly with
[markdownlint](https://github.com/DavidAnson/markdownlint/tree/main).

Expand Down
20 changes: 10 additions & 10 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,10 @@ tox = "^4.23.2"
basedmypy = {version = "^2.7.0", extras = ["faster-cache"]}
basedpyright = "^1.21.1"
codespell = "^2.3.0"
# https://github.com/csala/mdformat-pyproject/issues/2
mdformat = ">=0.7.18,<0.8,!=0.7.19"
mdformat = "^0.7.19"
mdformat-gfm = "^0.3.7"
mdformat-gfm-alerts = "^1.0.1"
mdformat-pyproject = "^0.0.1"
mdformat-pyproject = "^0.0.2"
ruff = "^0.7.4"
sp-repo-review = {version = "^2024.8.19", extras = ["cli"]}

Expand Down
2 changes: 1 addition & 1 deletion tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ add_one([]) # type: ignore[arg-type] # pyright: ignore[reportArgumentType]
If the input is accepted, mypy will report that there's an unused ignore comment, because
[`warn_unused_ignores = true`][mypy-warn-ignore] has been set in the mypy configuration.
In the same way, pyright requires that the ignored error is actually reported because it
is configured with [`reportUnnecessaryTypeIgnoreComment = true`][bpr-rules] and
is configured with [`reportUnnecessaryTypeIgnoreComment = true`][bpr-rules] and
[`enableTypeIgnoreComments = false`][bpr-rules].

[assert_type]: https://docs.python.org/3/library/typing.html#typing.assert_type
Expand Down

0 comments on commit 101db4e

Please sign in to comment.