summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Lord <davidism@gmail.com>2021-04-27 06:27:53 -0700
committerGitHub <noreply@github.com>2021-04-27 06:27:53 -0700
commit7bd7aa11d4cca2cc4d46657b0e0aa226cd60e944 (patch)
tree7cd3d19c43bf55fab70ef9616e1acdd4601fc40e
parent61cd6d9a3fad832ebef9ce3a0e2953c45cbf2fac (diff)
parente4452d4f6d1a251ac49ea9e9041217a81a233c13 (diff)
downloadmarkupsafe-7bd7aa11d4cca2cc4d46657b0e0aa226cd60e944.tar.gz
Merge pull request #204 from pallets/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
-rw-r--r--.pre-commit-config.yaml6
-rw-r--r--src/markupsafe/_speedups.pyi19
2 files changed, 7 insertions, 18 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 16613e8..61885e5 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -1,16 +1,16 @@
repos:
- repo: https://github.com/asottile/pyupgrade
- rev: v2.12.0
+ rev: v2.13.0
hooks:
- id: pyupgrade
args: ["--py36-plus"]
- repo: https://github.com/asottile/reorder_python_imports
- rev: v2.4.0
+ rev: v2.5.0
hooks:
- id: reorder-python-imports
args: ["--application-directories", "src"]
- repo: https://github.com/psf/black
- rev: 20.8b1
+ rev: 21.4b0
hooks:
- id: black
- repo: https://github.com/PyCQA/flake8
diff --git a/src/markupsafe/_speedups.pyi b/src/markupsafe/_speedups.pyi
index a3cad64..f673240 100644
--- a/src/markupsafe/_speedups.pyi
+++ b/src/markupsafe/_speedups.pyi
@@ -3,18 +3,7 @@ from typing import Optional
from . import Markup
-
-def escape(s: Any) -> Markup:
- ...
-
-
-def escape_silent(s: Optional[Any]) -> Markup:
- ...
-
-
-def soft_str(s: Any) -> str:
- ...
-
-
-def soft_unicode(s: Any) -> str:
- ...
+def escape(s: Any) -> Markup: ...
+def escape_silent(s: Optional[Any]) -> Markup: ...
+def soft_str(s: Any) -> str: ...
+def soft_unicode(s: Any) -> str: ...