PrefectHQ
prefect
BlogDocsChangelog

Bumps to `ruff==0.9.2` and `mypy==1.14.1`

#16916Merged
Comparing
pin-linters
(
b49fb88
) with
main
(
5b5725a
)
CodSpeed Performance Gauge
0%
Untouched
2
Ignored
6

Benchmarks

Passed

bench_task_decorator
benches/bench_tasks.py
CodSpeed Performance Gauge
0%
486.1 µs485.9 µs
bench_import_prefect_flow
benches/bench_import.py
CodSpeed Performance Gauge
0%
1.8 s1.8 s

Ignored

bench_task_call
benches/bench_tasks.py
Ignored
CodSpeed Performance Gauge
-1%
165.2 ms166.1 ms
bench_flow_decorator
benches/bench_flows.py
Ignored
CodSpeed Performance Gauge
+20%
6.7 ms5.6 ms
bench_task_submit
benches/bench_tasks.py
Ignored
CodSpeed Performance Gauge
×2.9
11.3 ms3.9 ms
bench_import_prefect
benches/bench_import.py
Ignored
CodSpeed Performance Gauge
0%
2.8 ms2.8 ms
bench_flow_call[options0]
benches/bench_flows.py
Ignored
CodSpeed Performance Gauge
+1%
158 ms156.8 ms
bench_flow_call[options1]
benches/bench_flows.py
Ignored
CodSpeed Performance Gauge
-1%
110.4 ms111.6 ms

Commits

Click on a commit to change the comparison range
Base
main
5b5725a
+0.97%
Bumps to `ruff==0.9.2` Here I've bumped our pre-commit version of ruff to 0.9.2, which did entail a very large amount of formatting churn. The only major change here besides formatting is that I'm pinning the linter/formatter dependencies in `requirements-dev.txt` to the version we have in pre-commit. This helps avoid IDE "fighting" with pre-commit when folks installing `prefect`'s dev dependencies pick up a newer version of the linter than the pre-commit defines. Hopefully this will make contributions from other folks easier.
a59eae5
8 months ago
by chrisguidry
-0.9%
Update src/prefect/serializers.py Co-authored-by: Alex Streed <desertaxle@users.noreply.github.com>
cfd4a0f
8 months ago
by chrisguidry
-0.1%
Update src/prefect/server/models/block_registration.py Co-authored-by: Alex Streed <desertaxle@users.noreply.github.com>
5b9bb83
8 months ago
by chrisguidry
+0.29%
Format
55bac53
8 months ago
by chrisguidry
-0.1%
Revert dict->Dict changes
57894d0
8 months ago
by chrisguidry
-0.01%
Merge branch 'main' into pin-linters
4f6ca95
8 months ago
by chrisguidry
-0.03%
Bump mypy
d0c5208
8 months ago
by chrisguidry
-0.17%
Fix coild token assertions
0a28c2b
8 months ago
by chrisguidry
+0.03%
Merge branch 'main' into pin-linters
b49fb88
8 months ago
by desertaxle
© 2025 CodSpeed Technology
Home Terms Privacy Docs