@@ -41,13 +41,13 @@ pydantic = ">= 1.9.2"
4141pydantic-core = " ^2.18.2"
4242typing_extensions = " >= 4.0.0"
4343
44- [tool .poetry .dev- dependencies ]
45- mypy = " 1.0.1 "
44+ [tool .poetry .group . dev . dependencies ]
45+ mypy = " ==1.13.0 "
4646pytest = " ^7.4.0"
4747pytest-asyncio = " ^0.23.5"
4848python-dateutil = " ^2.9.0"
4949types-python-dateutil = " ^2.9.0.20240316"
50- ruff = " ^0.5.6 "
50+ ruff = " ==0.11.5 "
5151
5252[tool .pytest .ini_options ]
5353testpaths = [ " tests" ]
@@ -59,6 +59,26 @@ plugins = ["pydantic.mypy"]
5959[tool .ruff ]
6060line-length = 120
6161
62+ [tool .ruff .lint ]
63+ select = [
64+ " E" , # pycodestyle errors
65+ " F" , # pyflakes
66+ " I" , # isort
67+ ]
68+ ignore = [
69+ " E402" , # Module level import not at top of file
70+ " E501" , # Line too long
71+ " E711" , # Comparison to `None` should be `cond is not None`
72+ " E712" , # Avoid equality comparisons to `True`; use `if ...:` checks
73+ " E721" , # Use `is` and `is not` for type comparisons, or `isinstance()` for insinstance checks
74+ " E722" , # Do not use bare `except`
75+ " E731" , # Do not assign a `lambda` expression, use a `def`
76+ " F821" , # Undefined name
77+ " F841" # Local variable ... is assigned to but never used
78+ ]
79+
80+ [tool .ruff .lint .isort ]
81+ section-order = [" future" , " standard-library" , " third-party" , " first-party" ]
6282
6383[build-system ]
6484requires = [" poetry-core" ]
0 commit comments