Skip to content

Commit 3cb27fd

Browse files
committed
pre-commit autoupdate 2024-10-16
1 parent 5d9d604 commit 3cb27fd

File tree

6 files changed

+8
-6
lines changed

6 files changed

+8
-6
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/pre-commit/pre-commit-hooks
3-
rev: v4.3.0
3+
rev: v5.0.0
44
hooks:
55
- id: no-commit-to-branch
66
- id: check-yaml

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
[tool.ruff]
55
line-length = 120
6-
extend-select = ["Q", "RUF100", "UP", "I"]
7-
flake8-quotes = {inline-quotes = "single", multiline-quotes = "double"}
6+
lint.extend-select = ["Q", "RUF100", "UP", "I"]
7+
lint.flake8-quotes = {inline-quotes = "single", multiline-quotes = "double"}
88
format.quote-style="single"
99
target-version = "py38"
1010

src/python-fastui/fastui/components/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
44
All CamelCase names in the namespace should be components.
55
"""
6+
67
import typing as _t
78

89
import pydantic as _p

src/python-fastui/fastui/forms.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ def name_to_loc(name: str) -> 'json_schema.SchemeLocation':
219219
if name.startswith('['):
220220
return json.loads(name)
221221
else:
222-
loc: 'json_schema.SchemeLocation' = []
222+
loc: json_schema.SchemeLocation = []
223223
for part in name.split('.'):
224224
if part.isdigit():
225225
loc.append(int(part))

src/python-fastui/requirements/lint.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# This file is autogenerated by pip-compile with Python 3.11
2+
# This file is autogenerated by pip-compile with Python 3.12
33
# by the following command:
44
#
55
# pip-compile --output-file=src/python-fastui/requirements/lint.txt --strip-extras src/python-fastui/requirements/lint.in
@@ -8,7 +8,7 @@ nodeenv==1.8.0
88
# via pyright
99
pyright==1.1.335
1010
# via -r src/python-fastui/requirements/lint.in
11-
ruff==0.1.5
11+
ruff==0.6.9
1212
# via -r src/python-fastui/requirements/lint.in
1313

1414
# The following packages are considered to be unsafe in a requirements file:

src/python-fastui/tests/test_components.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
NOTE: we do NOT want to exhaustively construct every component just for the same of it -
55
that's just testing pydantic!
66
"""
7+
78
from fastui import FastUI, components
89
from pydantic_core import Url
910

0 commit comments

Comments
 (0)