Skip to content

Commit cd0dc74

Browse files
committed
Update dependencies and add a ruff config.
1 parent 0a6baac commit cd0dc74

File tree

2 files changed

+47
-4
lines changed

2 files changed

+47
-4
lines changed

requirements.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ annotated-types==0.7.0
44
# via pydantic
55
blinker==1.9.0
66
# via flask
7-
click==8.3.0
7+
click==8.3.1
88
# via flask
99
flask==3.1.2
1010
# via -r requirements.piptools
@@ -25,9 +25,9 @@ markupsafe==3.0.3
2525
# werkzeug
2626
more-itertools==10.8.0
2727
# via -r requirements.piptools
28-
pydantic==2.12.3
28+
pydantic==2.12.5
2929
# via -r requirements.piptools
30-
pydantic-core==2.41.4
30+
pydantic-core==2.41.5
3131
# via pydantic
3232
typing-extensions==4.15.0
3333
# via
@@ -38,7 +38,7 @@ typing-inspection==0.4.2
3838
# via pydantic
3939
uvloop==0.22.1
4040
# via -r requirements.piptools
41-
werkzeug==3.1.3
41+
werkzeug==3.1.4
4242
# via
4343
# -r requirements.piptools
4444
# flask

ruff.toml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# [ruff]
2+
line-length = 120
3+
format.quote-style = "single"
4+
5+
# Enable Pyflakes `E` and `F` codes by default.
6+
lint.select = ["E", "F", "I"]
7+
lint.ignore = []
8+
9+
# Exclude a variety of commonly ignored directories.
10+
exclude = [
11+
".bzr",
12+
".direnv",
13+
".eggs",
14+
".git",
15+
".hg",
16+
".mypy_cache",
17+
".nox",
18+
".pants.d",
19+
".ruff_cache",
20+
".svn",
21+
".tox",
22+
"__pypackages__",
23+
"_build",
24+
"buck-out",
25+
"build",
26+
"dist",
27+
"node_modules",
28+
".env",
29+
".venv",
30+
"venv",
31+
"typings/**/*.pyi",
32+
]
33+
lint.per-file-ignores = { }
34+
35+
# Allow unused variables when underscore-prefixed.
36+
# dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
37+
38+
# Assume Python 3.13.
39+
target-version = "py313"
40+
41+
#[tool.ruff.mccabe]
42+
## Unlike Flake8, default to a complexity level of 10.
43+
lint.mccabe.max-complexity = 10

0 commit comments

Comments
 (0)