diff --git a/requirements.txt b/requirements.txt index 87b2e1b..cc056d7 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,7 +4,7 @@ annotated-types==0.7.0 # via pydantic blinker==1.9.0 # via flask -click==8.3.0 +click==8.3.1 # via flask flask==3.1.2 # via -r requirements.piptools @@ -25,9 +25,9 @@ markupsafe==3.0.3 # werkzeug more-itertools==10.8.0 # via -r requirements.piptools -pydantic==2.12.3 +pydantic==2.12.5 # via -r requirements.piptools -pydantic-core==2.41.4 +pydantic-core==2.41.5 # via pydantic typing-extensions==4.15.0 # via @@ -38,7 +38,7 @@ typing-inspection==0.4.2 # via pydantic uvloop==0.22.1 # via -r requirements.piptools -werkzeug==3.1.3 +werkzeug==3.1.4 # via # -r requirements.piptools # flask diff --git a/ruff.toml b/ruff.toml new file mode 100644 index 0000000..8c1e8a7 --- /dev/null +++ b/ruff.toml @@ -0,0 +1,43 @@ +# [ruff] +line-length = 120 +format.quote-style = "single" + +# Enable Pyflakes `E` and `F` codes by default. +lint.select = ["E", "F", "I"] +lint.ignore = [] + +# Exclude a variety of commonly ignored directories. +exclude = [ + ".bzr", + ".direnv", + ".eggs", + ".git", + ".hg", + ".mypy_cache", + ".nox", + ".pants.d", + ".ruff_cache", + ".svn", + ".tox", + "__pypackages__", + "_build", + "buck-out", + "build", + "dist", + "node_modules", + ".env", + ".venv", + "venv", + "typings/**/*.pyi", +] +lint.per-file-ignores = { } + +# Allow unused variables when underscore-prefixed. +# dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$" + +# Assume Python 3.13. +target-version = "py313" + +#[tool.ruff.mccabe] +## Unlike Flake8, default to a complexity level of 10. +lint.mccabe.max-complexity = 10