Skip to content

Commit

Permalink
update pre-commit configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
naveen521kk committed Oct 2, 2023
1 parent 0d0cac4 commit 0cc7f01
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
14 changes: 6 additions & 8 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.3.0
rev: v4.4.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
Expand All @@ -9,24 +9,22 @@ repos:
- id: mixed-line-ending
- id: check-merge-conflict
- repo: https://github.com/psf/black
rev: 22.10.0
rev: 23.3.0
hooks:
- id: black
args: ["--target-version", "py38"]
files: \.py$
types: []
language_version: python3.11
- repo: https://github.com/PyCQA/isort
rev: 5.10.1 # frozen: 5.4.2
rev: 5.12.0
hooks:
- id: isort
- repo: https://github.com/pycqa/flake8
rev: 5.0.4
rev: 6.0.0
hooks:
- id: flake8
additional_dependencies: [flake8-2020, flake8-implicit-str-concat]

- repo: https://github.com/pre-commit/pygrep-hooks
rev: v1.9.0
rev: v1.10.0
hooks:
- id: python-check-blanket-noqa
- id: rst-backticks
1 change: 0 additions & 1 deletion tests/test_markup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@

@pytest.mark.parametrize("text", ["foo", "<b>bar</b>", "வணக்கம்"])
def test_good_markup(text):

assert not manimpango.MarkupUtils.validate(
text,
), f"{text} should not fail validation"
Expand Down

0 comments on commit 0cc7f01

Please sign in to comment.