Skip to content

Commit 563edbf

Browse files
[pre-commit.ci] pre-commit autoupdate (#432)
Co-authored-by: Maximilian Roos <m@maxroos.com>
1 parent 64128d1 commit 563edbf

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,20 @@ default_stages: [pre-commit]
44

55
repos:
66
- repo: https://github.com/pre-commit/pre-commit-hooks
7-
rev: v4.6.0
7+
rev: v5.0.0
88
hooks:
99
- id: check-toml
1010
- id: check-yaml
1111
- id: end-of-file-fixer
1212
- id: trailing-whitespace
1313
- id: check-added-large-files
1414
- repo: https://github.com/astral-sh/ruff-pre-commit
15-
rev: v0.5.7
15+
rev: v0.8.4
1616
hooks:
1717
- id: ruff
1818
- id: ruff-format
1919
- repo: https://github.com/pre-commit/mirrors-mypy
20-
rev: v1.11.1
20+
rev: v1.14.0
2121
hooks:
2222
- id: mypy
2323
- repo: https://github.com/python-poetry/poetry

noxfile.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
11
"""Nox session configuration."""
22

3-
from typing import List
4-
53
import nox
64
from nox.sessions import Session
75

86
PACKAGE: str = "pyprql"
9-
LOCATIONS: List[str] = [
7+
LOCATIONS: list[str] = [
108
PACKAGE,
119
"noxfile.py",
1210
]
13-
VERSIONS: List[str] = [
11+
VERSIONS: list[str] = [
1412
"3.8",
1513
"3.9",
1614
"3.10",

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,10 @@ requires = ["poetry-core>=1.3.0"]
9494

9595
[tool.ruff]
9696
fix = true
97+
exclude = ["docs/PRQL_Demo.ipynb"] # doesn't seem to like the `%prql` magic?
9798
[tool.ruff.lint]
9899
# E402: module level import not at top of file
99-
# E501: line too long - let black worry about that
100+
# E501: line too long - let the formatter about that
100101
# E731: do not assign a lambda expression, use a def
101102
extend-safe-fixes = [
102103
"TID252", # absolute imports

0 commit comments

Comments
 (0)