From 66f2ac669610accd76395a98b623a21b1f15a9c8 Mon Sep 17 00:00:00 2001 From: David Lord Date: Thu, 13 Jan 2022 14:42:36 -0800 Subject: [PATCH] update tool config --- .github/dependabot.yml | 19 +++++++++++++++---- .github/workflows/lock.yaml | 6 +++--- .pre-commit-config.yaml | 1 + setup.cfg | 7 ++++--- 4 files changed, 23 insertions(+), 10 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 86e010df..b0251c75 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,8 +1,19 @@ version: 2 updates: -- package-ecosystem: pip +- package-ecosystem: "pip" + directory: "/requirements" + target-branch: "2.0.x" + versioning-strategy: "lockfile-only" + schedule: + interval: "monthly" + day: "monday" + time: "16:00" + timezone: "UTC" + open-pull-requests-limit: 99 +- package-ecosystem: "github-actions" directory: "/" schedule: - interval: monthly - time: "08:00" - open-pull-requests-limit: 99 + interval: "monthly" + day: "monday" + time: "16:00" + timezone: "UTC" diff --git a/.github/workflows/lock.yaml b/.github/workflows/lock.yaml index 7128f382..b4f76338 100644 --- a/.github/workflows/lock.yaml +++ b/.github/workflows/lock.yaml @@ -8,8 +8,8 @@ jobs: lock: runs-on: ubuntu-latest steps: - - uses: dessant/lock-threads@v2 + - uses: dessant/lock-threads@v3 with: github-token: ${{ github.token }} - issue-lock-inactive-days: 14 - pr-lock-inactive-days: 14 + issue-inactive-days: 14 + pr-inactive-days: 14 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 623ad007..c88760a9 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 77616866..b80320f3 100644 --- a/setup.cfg +++ b/setup.cfg @@ -34,7 +34,7 @@ classifiers = [options] packages = find: package_dir = = src -include_package_data = true +include_package_data = True python_requires = >= 3.6 # Dependencies are in setup.py for GitHub's dependency graph. @@ -67,7 +67,7 @@ source = # F = flake8 pyflakes # W = pycodestyle warnings # B9 = bugbear opinions -# ISC = implicit-str-concat +# ISC = implicit str concat select = B, E, F, W, B9, ISC ignore = # slice notation whitespace, invalid @@ -83,12 +83,13 @@ ignore = # up to 88 allowed by bugbear B950 max-line-length = 80 per-file-ignores = - # __init__ module exports names + # __init__ exports names src/flask/__init__.py: F401 [mypy] files = src/flask python_version = 3.6 +show_error_codes = True allow_redefinition = True disallow_subclassing_any = True # disallow_untyped_calls = True