Skip to content

Commit dbd493e

Browse files
committed
Updated uv config.
1 parent 9ddd304 commit dbd493e

3 files changed

Lines changed: 27 additions & 28 deletions

File tree

docs/guide/message-format.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ After that, you can use your preferred serializer in your project like this:
114114

115115
```python
116116
from taskiq import InMemoryBroker
117-
from taskiq.serializers import ORJSONSerializer
117+
from taskiq.serializers import ORJSONSerializer
118118

119119
broker = InMemoryBroker().with_serializer(ORJSONSerializer())
120120
```
@@ -123,7 +123,7 @@ broker = InMemoryBroker().with_serializer(ORJSONSerializer())
123123

124124
```python
125125
from taskiq import InMemoryBroker
126-
from taskiq.serializers import MSGPackSerializer
126+
from taskiq.serializers import MSGPackSerializer
127127

128128
broker = InMemoryBroker().with_serializer(MSGPackSerializer())
129129
```
@@ -132,7 +132,7 @@ broker = InMemoryBroker().with_serializer(MSGPackSerializer())
132132

133133
```python
134134
from taskiq import InMemoryBroker
135-
from taskiq.serializers import CBORSerializer
135+
from taskiq.serializers import CBORSerializer
136136

137137
broker = InMemoryBroker().with_serializer(CBORSerializer())
138138
```

pyproject.toml

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -176,30 +176,11 @@ lint.ignore = [
176176
]
177177
lint.mccabe = { max-complexity = 10 }
178178

179-
[tool.tox]
180-
requires = ["tox>=4"]
181-
isolated_build = true
182-
env_list = ["3.13", "3.12", "3.11", "3.10"]
183-
184-
[tool.tox.env_run_base]
185-
description = "Run tests with Python {base_python}"
186-
runner = "uv-venv-lock-runner"
187-
uv_sync_flags = ["--all-extras"]
188-
commands = [["pytest", "-vv", "-n", "auto"]]
189-
190-
[tool.typos.files]
191-
extend-exclude = [
192-
"docs/README.md" # because of identifier in head section
193-
]
194-
195-
[lint.flake8-bugbear]
196-
extend-immutable-calls = ["taskiq_dependencies.Depends", "taskiq.TaskiqDepends"]
197-
198-
[lint.per-file-ignores]
179+
[tool.ruff.lint.per-file-ignores]
199180
"taskiq/compat.py" = [
200181
"D103" # Missing docstring in public function
201182
]
202-
"tests/*" = [
183+
"tests/**/*" = [
203184
"S101", # Use of assert detected
204185
"S301", # Use of pickle detected
205186
"D103", # Missing docstring in public function
@@ -218,9 +199,28 @@ extend-immutable-calls = ["taskiq_dependencies.Depends", "taskiq.TaskiqDepends"]
218199
"T201" # print found
219200
]
220201

221-
[lint.pydocstyle]
202+
[tool.tox]
203+
requires = ["tox>=4"]
204+
isolated_build = true
205+
env_list = ["3.13", "3.12", "3.11", "3.10"]
206+
207+
[tool.tox.env_run_base]
208+
description = "Run tests with Python {base_python}"
209+
runner = "uv-venv-lock-runner"
210+
uv_sync_flags = ["--all-extras"]
211+
commands = [["pytest", "-vv", "-n", "auto"]]
212+
213+
[tool.typos.files]
214+
extend-exclude = [
215+
"docs/README.md" # because of identifier in head section
216+
]
217+
218+
[tool.ruff.lint.flake8-bugbear]
219+
extend-immutable-calls = ["taskiq_dependencies.Depends", "taskiq.TaskiqDepends"]
220+
221+
[tool.ruff.lint.pydocstyle]
222222
convention = "pep257"
223223
ignore-decorators = ["typing.overload"]
224224

225-
[lint.pylint]
225+
[tool.ruff.lint.pylint]
226226
allow-magic-value-types = ["int", "str", "float"]

uv.lock

Lines changed: 1 addition & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)