diff options
author | David Lord <davidism@gmail.com> | 2022-01-13 14:51:32 -0800 |
---|---|---|
committer | David Lord <davidism@gmail.com> | 2022-01-13 14:51:32 -0800 |
commit | 341836f47d9ce1fcf6491b8f0445809c5c796060 (patch) | |
tree | d3264567aa3b202099dfeab6981a28fddf5c5bf9 | |
parent | 2aeeed94bea5544ea158e85369e2fc3f2efff069 (diff) | |
download | markupsafe-341836f47d9ce1fcf6491b8f0445809c5c796060.tar.gz |
update tool config2.0.x
-rw-r--r-- | .github/dependabot.yml | 2 | ||||
-rw-r--r-- | .pre-commit-config.yaml | 1 | ||||
-rw-r--r-- | setup.cfg | 8 | ||||
-rw-r--r-- | tox.ini | 2 |
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 @@ -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 @@ -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 |