forked from orbit-oss/flask
update tool config
This commit is contained in:
parent
a025ee3f25
commit
66f2ac6696
4 changed files with 23 additions and 10 deletions
19
.github/dependabot.yml
vendored
19
.github/dependabot.yml
vendored
|
|
@ -1,8 +1,19 @@
|
||||||
version: 2
|
version: 2
|
||||||
updates:
|
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: "/"
|
directory: "/"
|
||||||
schedule:
|
schedule:
|
||||||
interval: monthly
|
interval: "monthly"
|
||||||
time: "08:00"
|
day: "monday"
|
||||||
open-pull-requests-limit: 99
|
time: "16:00"
|
||||||
|
timezone: "UTC"
|
||||||
|
|
|
||||||
6
.github/workflows/lock.yaml
vendored
6
.github/workflows/lock.yaml
vendored
|
|
@ -8,8 +8,8 @@ jobs:
|
||||||
lock:
|
lock:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: dessant/lock-threads@v2
|
- uses: dessant/lock-threads@v3
|
||||||
with:
|
with:
|
||||||
github-token: ${{ github.token }}
|
github-token: ${{ github.token }}
|
||||||
issue-lock-inactive-days: 14
|
issue-inactive-days: 14
|
||||||
pr-lock-inactive-days: 14
|
pr-inactive-days: 14
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
ci:
|
ci:
|
||||||
|
autoupdate_branch: "2.0.x"
|
||||||
autoupdate_schedule: monthly
|
autoupdate_schedule: monthly
|
||||||
repos:
|
repos:
|
||||||
- repo: https://github.com/asottile/pyupgrade
|
- repo: https://github.com/asottile/pyupgrade
|
||||||
|
|
|
||||||
|
|
@ -34,7 +34,7 @@ classifiers =
|
||||||
[options]
|
[options]
|
||||||
packages = find:
|
packages = find:
|
||||||
package_dir = = src
|
package_dir = = src
|
||||||
include_package_data = true
|
include_package_data = True
|
||||||
python_requires = >= 3.6
|
python_requires = >= 3.6
|
||||||
# Dependencies are in setup.py for GitHub's dependency graph.
|
# Dependencies are in setup.py for GitHub's dependency graph.
|
||||||
|
|
||||||
|
|
@ -67,7 +67,7 @@ source =
|
||||||
# F = flake8 pyflakes
|
# F = flake8 pyflakes
|
||||||
# W = pycodestyle warnings
|
# W = pycodestyle warnings
|
||||||
# B9 = bugbear opinions
|
# B9 = bugbear opinions
|
||||||
# ISC = implicit-str-concat
|
# ISC = implicit str concat
|
||||||
select = B, E, F, W, B9, ISC
|
select = B, E, F, W, B9, ISC
|
||||||
ignore =
|
ignore =
|
||||||
# slice notation whitespace, invalid
|
# slice notation whitespace, invalid
|
||||||
|
|
@ -83,12 +83,13 @@ ignore =
|
||||||
# up to 88 allowed by bugbear B950
|
# up to 88 allowed by bugbear B950
|
||||||
max-line-length = 80
|
max-line-length = 80
|
||||||
per-file-ignores =
|
per-file-ignores =
|
||||||
# __init__ module exports names
|
# __init__ exports names
|
||||||
src/flask/__init__.py: F401
|
src/flask/__init__.py: F401
|
||||||
|
|
||||||
[mypy]
|
[mypy]
|
||||||
files = src/flask
|
files = src/flask
|
||||||
python_version = 3.6
|
python_version = 3.6
|
||||||
|
show_error_codes = True
|
||||||
allow_redefinition = True
|
allow_redefinition = True
|
||||||
disallow_subclassing_any = True
|
disallow_subclassing_any = True
|
||||||
# disallow_untyped_calls = True
|
# disallow_untyped_calls = True
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue