upgrade precommit configurations (#3794)
This commit is contained in:
@@ -23,7 +23,7 @@ repos:
|
|||||||
always_run: true
|
always_run: true
|
||||||
- repo: https://github.com/astral-sh/ruff-pre-commit
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||||
# Ruff version.
|
# Ruff version.
|
||||||
rev: v0.12.1
|
rev: v0.14.1
|
||||||
hooks:
|
hooks:
|
||||||
# Run the linter.
|
# Run the linter.
|
||||||
- id: ruff
|
- id: ruff
|
||||||
@@ -35,7 +35,7 @@ repos:
|
|||||||
# Run the formatter.
|
# Run the formatter.
|
||||||
- id: ruff-format
|
- id: ruff-format
|
||||||
- repo: https://github.com/pycqa/isort
|
- repo: https://github.com/pycqa/isort
|
||||||
rev: 6.0.1
|
rev: 7.0.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: isort
|
- id: isort
|
||||||
language_version: python3
|
language_version: python3
|
||||||
@@ -52,7 +52,7 @@ repos:
|
|||||||
- id: python-no-log-warn
|
- id: python-no-log-warn
|
||||||
- id: python-use-type-annotations
|
- id: python-use-type-annotations
|
||||||
- repo: https://github.com/asottile/pyupgrade
|
- repo: https://github.com/asottile/pyupgrade
|
||||||
rev: v3.20.0
|
rev: v3.21.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: pyupgrade
|
- id: pyupgrade
|
||||||
exclude: |
|
exclude: |
|
||||||
@@ -60,7 +60,7 @@ repos:
|
|||||||
^skyvern/client/.*
|
^skyvern/client/.*
|
||||||
)
|
)
|
||||||
- repo: https://github.com/pre-commit/mirrors-mypy
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
||||||
rev: v1.16.1
|
rev: v1.18.2
|
||||||
hooks:
|
hooks:
|
||||||
- id: mypy
|
- id: mypy
|
||||||
args: [--show-error-codes, --warn-unused-configs, --disallow-untyped-calls, --disallow-untyped-defs, --disallow-incomplete-defs, --check-untyped-defs]
|
args: [--show-error-codes, --warn-unused-configs, --disallow-untyped-calls, --disallow-untyped-defs, --disallow-incomplete-defs, --check-untyped-defs]
|
||||||
@@ -71,6 +71,8 @@ repos:
|
|||||||
- alembic
|
- alembic
|
||||||
- 'sqlalchemy[mypy]'
|
- 'sqlalchemy[mypy]'
|
||||||
- types-PyYAML
|
- types-PyYAML
|
||||||
|
- types-toml
|
||||||
|
- types-redis
|
||||||
- types-aiofiles
|
- types-aiofiles
|
||||||
exclude: |
|
exclude: |
|
||||||
(?x)(
|
(?x)(
|
||||||
|
|||||||
@@ -81,7 +81,7 @@ cloud = [
|
|||||||
"redis>=5.0.3,<6",
|
"redis>=5.0.3,<6",
|
||||||
]
|
]
|
||||||
dev = [
|
dev = [
|
||||||
"isort>=5.13.2,<6",
|
"isort>=5.13.2",
|
||||||
"mypy>=1.18.2,<2",
|
"mypy>=1.18.2,<2",
|
||||||
"flake8>=6.0.0,<7",
|
"flake8>=6.0.0,<7",
|
||||||
"types-requests>=2.31.0.2,<3",
|
"types-requests>=2.31.0.2,<3",
|
||||||
|
|||||||
Reference in New Issue
Block a user