Skip to content

Commit

Permalink
Allow markdown-it-py v3 (#405)
Browse files Browse the repository at this point in the history
* Allow markdown-it-py v3

* Update pre-commit hooks
  • Loading branch information
hukkin committed Jul 30, 2023
1 parent 0cbd205 commit 8713c9f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: 3298ddab3c13dd77d6ce1fc0baf97691430d84b0 # frozen: v4.3.0
rev: f71fa2c1f9cf5cb705f73dffe4b21f7c61470ba9 # frozen: v4.4.0
hooks:
- id: check-yaml
- id: check-toml
- repo: https://github.com/pre-commit/pygrep-hooks
rev: 6f51a66bba59954917140ec2eeeaa4d5e630e6ce # frozen: v1.9.0
rev: 3a6eb0fadf60b3cccfd80bad9dbb6fae7e47b316 # frozen: v1.10.0
hooks:
- id: python-use-type-annotations
- id: python-check-blanket-noqa
- id: python-check-blanket-type-ignore
- repo: https://github.com/asottile/yesqa
rev: 265e9ff7c83add4949f81bb5fe14f4a743ffb04c # frozen: v1.4.0
rev: f2ae90cf9e1661ade79d0881186ce4fd7ba6ee79 # frozen: v1.5.0
hooks:
- id: yesqa
additional_dependencies:
Expand All @@ -23,19 +23,19 @@ repos:
hooks:
- id: absolufy-imports
- repo: https://github.com/PyCQA/isort
rev: c5e8fa75dda5f764d20f66a215d71c21cfa198e1 # frozen: 5.10.1
rev: dbf82f2dd09ae41d9355bcd7ab69187a19e6bf2f # frozen: 5.12.0
hooks:
- id: isort
- repo: https://github.com/psf/black
rev: f6c139c5215ce04fd3e73a900f1372942d58eca0 # frozen: 22.6.0
rev: 193ee766ca496871f93621d6b58d57a6564ff81b # frozen: 23.7.0
hooks:
- id: black
- repo: https://github.com/myint/docformatter
rev: e0c24db9430c0df94a077c07af2e1de536689c5f # frozen: v1.5.0-rc1
rev: dfefe062799848234b4cd60b04aa633c0608025e # frozen: v1.7.5
hooks:
- id: docformatter
- repo: https://github.com/PyCQA/flake8
rev: f8e1b317742036ff11ff86356fd2b68147e169f7 # frozen: 5.0.4
rev: 10f4af6dbcf93456ba7df762278ae61ba3120dc6 # frozen: 6.1.0
hooks:
- id: flake8
additional_dependencies:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ license = { file = "LICENSE" }
requires-python = ">=3.7"
dependencies = [
'tomli >=1.1.0; python_version < "3.11"',
'markdown-it-py >=1.0.0,<3.0.0',
'markdown-it-py >=1.0.0,<4.0.0',
'importlib-metadata >=3.6.0; python_version < "3.10"',
'typing-extensions >=3.7.4; python_version < "3.8"',
]
Expand Down

0 comments on commit 8713c9f

Please sign in to comment.