summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Lord <davidism@gmail.com>2022-01-13 14:51:32 -0800
committerDavid Lord <davidism@gmail.com>2022-01-13 14:51:32 -0800
commit341836f47d9ce1fcf6491b8f0445809c5c796060 (patch)
treed3264567aa3b202099dfeab6981a28fddf5c5bf9
parent2aeeed94bea5544ea158e85369e2fc3f2efff069 (diff)
downloadmarkupsafe-341836f47d9ce1fcf6491b8f0445809c5c796060.tar.gz
update tool config2.0.x
-rw-r--r--.github/dependabot.yml2
-rw-r--r--.pre-commit-config.yaml1
-rw-r--r--setup.cfg8
-rw-r--r--tox.ini2
4 files changed, 8 insertions, 5 deletions
diff --git a/.github/dependabot.yml b/.github/dependabot.yml
index a268177..b0251c7 100644
--- a/.github/dependabot.yml
+++ b/.github/dependabot.yml
@@ -2,7 +2,7 @@ version: 2
updates:
- package-ecosystem: "pip"
directory: "/requirements"
- target-branch: "3.0.x"
+ target-branch: "2.0.x"
versioning-strategy: "lockfile-only"
schedule:
interval: "monthly"
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 85c0e28..e417cb9 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -1,4 +1,5 @@
ci:
+ autoupdate_branch: "2.0.x"
autoupdate_schedule: monthly
repos:
- repo: https://github.com/asottile/pyupgrade
diff --git a/setup.cfg b/setup.cfg
index 601c160..10b503a 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -32,7 +32,7 @@ classifiers =
[options]
packages = find:
package_dir = = src
-include_package_data = true
+include_package_data = True
python_requires = >= 3.6
[options.packages.find]
@@ -44,7 +44,7 @@ filterwarnings =
error
[coverage:run]
-branch = true
+branch = True
source =
markupsafe
tests
@@ -60,7 +60,8 @@ source =
# F = flake8 pyflakes
# W = pycodestyle warnings
# B9 = bugbear opinions
-select = B, E, F, W, B9
+# ISC = implicit str concat
+select = B, E, F, W, B9, ISC
ignore =
# slice notation whitespace, invalid
E203
@@ -76,6 +77,7 @@ max-line-length = 80
[mypy]
files = src/markupsafe
python_version = 3.6
+show_error_codes = True
disallow_subclassing_any = True
disallow_untyped_calls = True
disallow_untyped_defs = True
diff --git a/tox.ini b/tox.ini
index d1e4140..0275385 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,6 +1,6 @@
[tox]
envlist =
- py3{11,10,9,8,7,6},pypy37
+ py3{11,10,9,8,7,6},pypy3{8,7}
style
typing
docs