summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Lord <davidism@gmail.com>2021-04-16 08:02:47 -0700
committerGitHub <noreply@github.com>2021-04-16 08:02:47 -0700
commit61cd6d9a3fad832ebef9ce3a0e2953c45cbf2fac (patch)
treeba700e5a6a2de3e71b31344578429fd1f60c59c2
parente7b61283f7bf9677c0d809ebe5c9390255907320 (diff)
parentb9b9a7d7f86e77389ab7d4ba7c27cc6593e0d8db (diff)
downloadmarkupsafe-61cd6d9a3fad832ebef9ce3a0e2953c45cbf2fac.tar.gz
Merge pull request #202 from pallets/release-2.0.0rc22.0.0rc2
Release 2.0.0rc2
-rw-r--r--.pre-commit-config.yaml4
-rw-r--r--docs/conf.py1
-rw-r--r--requirements/dev.txt43
-rw-r--r--requirements/docs.in2
-rw-r--r--requirements/docs.txt14
-rw-r--r--requirements/tests.txt2
-rw-r--r--requirements/typing.txt2
-rw-r--r--src/markupsafe/__init__.py2
8 files changed, 37 insertions, 33 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 838e0a2..16613e8 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -14,13 +14,13 @@ repos:
hooks:
- id: black
- repo: https://github.com/PyCQA/flake8
- rev: 3.9.0
+ rev: 3.9.1
hooks:
- id: flake8
additional_dependencies: [flake8-bugbear]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.4.0
hooks:
- - id: check-byte-order-marker
+ - id: fix-byte-order-marker
- id: trailing-whitespace
- id: end-of-file-fixer
diff --git a/docs/conf.py b/docs/conf.py
index 102ec7a..84fa534 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -18,6 +18,7 @@ extensions = [
"sphinxcontrib.log_cabinet",
"sphinx_issues",
]
+autodoc_typehints = "description"
intersphinx_mapping = {"python": ("https://docs.python.org/3/", None)}
issues_github_path = "pallets/markupsafe"
diff --git a/requirements/dev.txt b/requirements/dev.txt
index 0fef032..589384a 100644
--- a/requirements/dev.txt
+++ b/requirements/dev.txt
@@ -28,7 +28,7 @@ filelock==3.0.12
# via
# tox
# virtualenv
-identify==1.5.13
+identify==2.2.3
# via pre-commit
idna==2.10
# via requests
@@ -43,8 +43,8 @@ markupsafe==1.1.1
mypy-extensions==0.4.3
# via mypy
mypy==0.812
- # via -r typing.in
-nodeenv==1.5.0
+ # via -r requirements/typing.in
+nodeenv==1.6.0
# via pre-commit
packaging==20.9
# via
@@ -52,26 +52,28 @@ packaging==20.9
# pytest
# sphinx
# tox
-pallets-sphinx-themes==1.2.3
- # via -r docs.in
-pip-tools==5.5.0
- # via -r dev.in
+pallets-sphinx-themes==2.0.0rc1
+ # via -r requirements/docs.in
+pep517==0.10.0
+ # via pip-tools
+pip-tools==6.1.0
+ # via -r requirements/dev.in
pluggy==0.13.1
# via
# pytest
# tox
-pre-commit==2.10.1
- # via -r dev.in
+pre-commit==2.12.0
+ # via -r requirements/dev.in
py==1.10.0
# via
# pytest
# tox
-pygments==2.7.4
+pygments==2.8.1
# via sphinx
pyparsing==2.4.7
# via packaging
-pytest==6.2.2
- # via -r tests.in
+pytest==6.2.3
+ # via -r requirements/tests.in
pytz==2021.1
# via babel
pyyaml==5.4.1
@@ -85,10 +87,10 @@ six==1.15.0
snowballstemmer==2.1.0
# via sphinx
sphinx-issues==1.2.0
- # via -r docs.in
-sphinx==3.5.1
+ # via -r requirements/docs.in
+sphinx==3.5.4
# via
- # -r docs.in
+ # -r requirements/docs.in
# pallets-sphinx-themes
# sphinx-issues
# sphinxcontrib-log-cabinet
@@ -101,25 +103,26 @@ sphinxcontrib-htmlhelp==1.0.3
sphinxcontrib-jsmath==1.0.1
# via sphinx
sphinxcontrib-log-cabinet==1.0.1
- # via -r docs.in
+ # via -r requirements/docs.in
sphinxcontrib-qthelp==1.0.3
# via sphinx
sphinxcontrib-serializinghtml==1.1.4
# via sphinx
toml==0.10.2
# via
+ # pep517
# pre-commit
# pytest
# tox
-tox==3.22.0
- # via -r dev.in
-typed-ast==1.4.2
+tox==3.23.0
+ # via -r requirements/dev.in
+typed-ast==1.4.3
# via mypy
typing-extensions==3.7.4.3
# via mypy
urllib3==1.26.4
# via requests
-virtualenv==20.4.2
+virtualenv==20.4.3
# via
# pre-commit
# tox
diff --git a/requirements/docs.in b/requirements/docs.in
index 7ec501b..1862ddd 100644
--- a/requirements/docs.in
+++ b/requirements/docs.in
@@ -1,4 +1,4 @@
-Pallets-Sphinx-Themes
+Pallets-Sphinx-Themes >= 2.0.0rc1
Sphinx
sphinx-issues
sphinxcontrib-log-cabinet
diff --git a/requirements/docs.txt b/requirements/docs.txt
index 1102cc5..9b58c50 100644
--- a/requirements/docs.txt
+++ b/requirements/docs.txt
@@ -26,9 +26,9 @@ packaging==20.9
# via
# pallets-sphinx-themes
# sphinx
-pallets-sphinx-themes==1.2.3
- # via -r docs.in
-pygments==2.7.4
+pallets-sphinx-themes==2.0.0rc1
+ # via -r requirements/docs.in
+pygments==2.8.1
# via sphinx
pyparsing==2.4.7
# via packaging
@@ -39,10 +39,10 @@ requests==2.25.1
snowballstemmer==2.1.0
# via sphinx
sphinx-issues==1.2.0
- # via -r docs.in
-sphinx==3.5.1
+ # via -r requirements/docs.in
+sphinx==3.5.4
# via
- # -r docs.in
+ # -r requirements/docs.in
# pallets-sphinx-themes
# sphinx-issues
# sphinxcontrib-log-cabinet
@@ -55,7 +55,7 @@ sphinxcontrib-htmlhelp==1.0.3
sphinxcontrib-jsmath==1.0.1
# via sphinx
sphinxcontrib-log-cabinet==1.0.1
- # via -r docs.in
+ # via -r requirements/docs.in
sphinxcontrib-qthelp==1.0.3
# via sphinx
sphinxcontrib-serializinghtml==1.1.4
diff --git a/requirements/tests.txt b/requirements/tests.txt
index 43d6aba..f7df2b8 100644
--- a/requirements/tests.txt
+++ b/requirements/tests.txt
@@ -16,7 +16,7 @@ py==1.10.0
# via pytest
pyparsing==2.4.7
# via packaging
-pytest==6.2.2
+pytest==6.2.3
# via -r requirements/tests.in
toml==0.10.2
# via pytest
diff --git a/requirements/typing.txt b/requirements/typing.txt
index 2b3f583..29e12e5 100644
--- a/requirements/typing.txt
+++ b/requirements/typing.txt
@@ -8,7 +8,7 @@ mypy-extensions==0.4.3
# via mypy
mypy==0.812
# via -r requirements/typing.in
-typed-ast==1.4.2
+typed-ast==1.4.3
# via mypy
typing-extensions==3.7.4.3
# via mypy
diff --git a/src/markupsafe/__init__.py b/src/markupsafe/__init__.py
index 692f741..d4c3c7d 100644
--- a/src/markupsafe/__init__.py
+++ b/src/markupsafe/__init__.py
@@ -10,7 +10,7 @@ if t.TYPE_CHECKING:
pass
-__version__ = "2.0.0rc1"
+__version__ = "2.0.0rc2"
_striptags_re = re.compile(r"(<!--.*?-->|<[^>]*>)")