Skip to content

Commit

Permalink
Merge 6e158ac into af8ed20
Browse files Browse the repository at this point in the history
  • Loading branch information
wRAR committed Aug 3, 2023
2 parents af8ed20 + 6e158ac commit 1bb4b6e
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 14 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,22 +15,22 @@ jobs:
strategy:
matrix:
include:
- python-version: "3.7"
- python-version: "3.8"
env:
TOXENV: docs
- python-version: "3.10"
- python-version: "3.11"
env:
TOXENV: flake8
- python-version: "3.10"
- python-version: "3.11"
env:
TOXENV: pylint
- python-version: "3.10"
- python-version: "3.11"
env:
TOXENV: security
- python-version: "3.10"
- python-version: "3.11"
env:
TOXENV: black
- python-version: "3.10"
- python-version: "3.11"
env:
TOXENV: typing

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "pypy3.7"]
python-version: ["3.8", "3.9", "3.10", "3.11", "pypy3.8"]

steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ This is a Python library of web-related functions, such as:
Requirements
============

Python 3.7+
Python 3.8+

Install
=======
Expand Down
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Modules
Requirements
============

Python 3.7+
Python 3.8+

Install
=======
Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,13 @@
include_package_data=True,
zip_safe=False,
platforms=["Any"],
python_requires=">=3.7",
python_requires=">=3.8",
classifiers=[
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
Expand Down
4 changes: 2 additions & 2 deletions tests/test_html.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,12 +160,12 @@ def test_returns_unicode(self):
assert isinstance(remove_tags(b"no tags"), str)
assert isinstance(remove_tags(b"no tags", which_ones=("p",)), str)
assert isinstance(remove_tags(b"<p>one tag</p>"), str)
assert isinstance(remove_tags(b"<p>one tag</p>", which_ones=("p")), str)
assert isinstance(remove_tags(b"<p>one tag</p>", which_ones=("p",)), str)
assert isinstance(remove_tags(b"<a>link</a>", which_ones=("b",)), str)
assert isinstance(remove_tags("no tags"), str)
assert isinstance(remove_tags("no tags", which_ones=("p",)), str)
assert isinstance(remove_tags("<p>one tag</p>"), str)
assert isinstance(remove_tags("<p>one tag</p>", which_ones=("p")), str)
assert isinstance(remove_tags("<p>one tag</p>", which_ones=("p",)), str)
assert isinstance(remove_tags("<a>link</a>", which_ones=("b",)), str)

def test_remove_tags_without_tags(self):
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ commands =
[testenv:pylint]
deps =
{[testenv]deps}
pylint==2.14.2
pylint==2.17.4
commands =
pylint conftest.py docs setup.py tests w3lib

Expand Down

0 comments on commit 1bb4b6e

Please sign in to comment.