Skip to content

Commit

Permalink
Update dev dependencies
Browse files Browse the repository at this point in the history
This updates dev dependencies, fixes the lint make rule, and fixes a
formatting issue in tests/test_unicode.py.
  • Loading branch information
willkg committed Apr 15, 2024
1 parent f8fb848 commit fcbe8f7
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ docs: ## Build docs

.PHONY: lint
lint: ## Lint files
black --target-version=py37 --exclude=_vendor setup.py bleach/ tests/ tests_website/
tox exec -e py39-format-check -- black --target-version=py38 --exclude=_vendor setup.py bleach/ tests/ tests_website/
tox -e py39-lint
tox -e py39-format-check

Expand Down
14 changes: 7 additions & 7 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
-e .

black==23.9.1; implementation_name == 'cpython'
build==1.0.3
black==24.4.0; implementation_name == 'cpython'
build==1.2.1
mypy==1.5.1; implementation_name =='cpython'
pytest==7.4.2
setuptools==68.2.2
tox==4.11.3
tox-gh-actions==3.1.3
twine==4.0.2
wheel==0.41.2
setuptools==69.5.1
tox==4.14.2
tox-gh-actions==3.2.0
twine==5.0.0
wheel==0.43.0

Sphinx==7.2.6; python_version > "3.8"
5 changes: 4 additions & 1 deletion tests/test_unicode.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ def test_japanese_safe_simple():

def test_japanese_strip():
assert clean("<em>ヘルプとチュートリアル</em>") == "<em>ヘルプとチュートリアル</em>"
assert clean("<span>ヘルプとチュートリアル</span>") == "&lt;span&gt;ヘルプとチュートリアル&lt;/span&gt;"
assert (
clean("<span>ヘルプとチュートリアル</span>")
== "&lt;span&gt;ヘルプとチュートリアル&lt;/span&gt;"
)


def test_russian_simple():
Expand Down

0 comments on commit fcbe8f7

Please sign in to comment.