<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/pyrefly-v1-3-more-configurability-and-composable-tensor-shapes-dolihjblt" -->

---
title: Pyrefly v1.3: More configurability and composable tensor...
description: Pyrefly v1.3 has shipped with new configuration and CLI options, including targeted type-ignore suppression tags and more flexible baseline file management for...
canonical: https://daily.dev/posts/pyrefly-v1-3-more-configurability-and-composable-tensor-shapes-dolihjblt
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Pyrefly v1.3: More configurability and composable tensor shapes | daily.dev
og:description: Pyrefly v1.3 has shipped with new configuration and CLI options, including targeted type-ignore suppression tags and more flexible baseline file management for...
og:url: https://daily.dev/posts/pyrefly-v1-3-more-configurability-and-composable-tensor-shapes-dolihjblt
og:image: https://api.daily.dev/og/posts/dOlIhJblT.png
og:image:alt: Pyrefly v1.3: More configurability and composable tensor shapes
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Pyrefly v1.3: More configurability and composable tensor shapes

**[Pyrefly: A Fast Python Type Checker and Language Server \| Pyrefly](https://daily.dev/sources/pyrefly)** · 4 min read · 0 upvotes · 0 comments

## Summary

Pyrefly v1.3 has shipped with new configuration and CLI options, including targeted type-ignore suppression tags and more flexible baseline file management for centrally suppressing existing errors. The release introduces a composable, type-level DSL for tensor shape checking that replaces the previous @shaped_array API, extending experimental shape-aware support to JAX and NumPy alongside existing PyTorch support. DataFrame schema checking for Polars can now track schemas through transformations and enforce contracts via Annotated metadata. Several new diagnostics were added, covering invalid regex patterns, invalid mock patch targets, dataclass descriptor mismatches, incompatible Protocol.__call__ overrides, and opt-in exhaustive match checking. The release also includes workspace symbol search improvements, performance work, and 88 bug fixes from 71 contributors.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://pyrefly.org/blog/v1.3>

## Questions this post answers

### What changed in Pyrefly 1.3 for tensor shape checking with JAX and NumPy?

Pyrefly 1.3 replaces the previous @shaped_array API with a new composable, type-level DSL that lets JAX, NumPy, and PyTorch stubs express shape transformations directly in type signatures. New shape-aware JAX stubs cover array creation, manipulation, and linear algebra, and a new pyrefly-numpy-stubs package extends the same style of shape-aware checking to NumPy. Tensor shape checking remains experimental.

_daily.dev surfaces release notes like this for developers tracking experimental type-checking features in Python._

### How do I suppress a specific Pyrefly diagnostic without hiding other errors on the same line?

Use a Pyrefly-specific tag inside a type: ignore comment, such as # type: ignore[pyrefly:bad-assignment], which suppresses only the named diagnostic while leaving unrelated errors on that line visible. A new type-ignore-unknown-tag-behavior option also controls how tags belonging to other type checkers affect Pyrefly's own diagnostics.

_Developers fine-tuning type checker configs can follow updates like this on daily.dev._

### What new baseline file options does Pyrefly 1.3 add for managing existing type errors?

Pyrefly 1.3 adds baseline-matching-mode to choose matching diagnostics by column or description, baseline-format to control whether full or compact diagnostic metadata is written, baseline-error-level to keep matched diagnostics visible at a chosen severity, --prune-baseline to remove stale entries, and --error-stale-baseline to let CI reject baseline files containing obsolete entries.

_daily.dev helps teams stay current on baseline tooling changes when maintaining large type-checked codebases._

## Similar posts on daily.dev

- [Pyrefly v1.4: Fewer false positives](https://daily.dev/posts/pyrefly-v1-4-fewer-false-positives-3ntvgylhx) · Pyrefly: A Fast Python Type Checker and Language Server \| Pyrefly · 0 upvotes · 1 comments
- [Pyrefly Now Type Checks PyTorch – PyTorch](https://daily.dev/posts/pyrefly-now-type-checks-pytorch-pytorch-adohlgdfc) · PyTorch · 0 upvotes · 0 comments
- [Pyrefly 1.0: A fast, forward-looking Python linter](https://daily.dev/posts/pyrefly-1-0-a-fast-forward-looking-python-linter-k4vukcqpr) · InfoWorld · 0 upvotes · 0 comments
- [Google Adopts Pyrefly for Faster, More Accurate Python Type Checking](https://daily.dev/posts/google-adopts-pyrefly-for-faster-more-accurate-python-type-checking-mjd54jnyy) · InfoQ · 1 upvotes · 0 comments

---

Tags: [#python](https://daily.dev/tags/python), [#polars](https://daily.dev/tags/polars)

[View this post on daily.dev](https://daily.dev/posts/pyrefly-v1-3-more-configurability-and-composable-tensor-shapes-dolihjblt)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Pyrefly v1.3: More configurability and composable tensor shapes","url":"https://daily.dev/posts/pyrefly-v1-3-more-configurability-and-composable-tensor-shapes-dolihjblt","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/pyrefly-v1-3-more-configurability-and-composable-tensor-shapes-dolihjblt"},"datePublished":"2026-09-12T14:31:00.601Z","dateModified":"2026-09-12T14:31:25.341Z","description":"Pyrefly v1.3 has shipped with new configuration and CLI options, including targeted type-ignore suppression tags and more flexible baseline file management for...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/ce7cceb523e1bdb0e6d2d6310d2d101d?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/ce7cceb523e1bdb0e6d2d6310d2d101d?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Pyrefly: A Fast Python Type Checker and Language Server | Pyrefly","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Pyrefly: A Fast Python Type Checker and Language Server | Pyrefly","logo":"https://media.daily.dev/image/upload/s--Qzw5NpnF--/c_limit,w_256/f_auto,q_auto/v1787487420/logos/pyrefly?_a=BAMAMicg0","url":"https://daily.dev/sources/pyrefly"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/pyrefly-v1-3-more-configurability-and-composable-tensor-shapes-dolihjblt","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"python,polars","timeRequired":"PT4M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Pyrefly: A Fast Python Type Checker and Language Server | Pyrefly","item":"https://daily.dev/sources/pyrefly"},{"@type":"ListItem","position":3,"name":"Pyrefly v1.3: More configurability and composable tensor shapes"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/pyrefly-v1-3-more-configurability-and-composable-tensor-shapes-dolihjblt#faq","mainEntity":[{"@type":"Question","name":"What changed in Pyrefly 1.3 for tensor shape checking with JAX and NumPy?","acceptedAnswer":{"@type":"Answer","text":"Pyrefly 1.3 replaces the previous @shaped_array API with a new composable, type-level DSL that lets JAX, NumPy, and PyTorch stubs express shape transformations directly in type signatures. New shape-aware JAX stubs cover array creation, manipulation, and linear algebra, and a new pyrefly-numpy-stubs package extends the same style of shape-aware checking to NumPy. Tensor shape checking remains experimental. daily.dev surfaces release notes like this for developers tracking experimental type-checking features in Python."}},{"@type":"Question","name":"How do I suppress a specific Pyrefly diagnostic without hiding other errors on the same line?","acceptedAnswer":{"@type":"Answer","text":"Use a Pyrefly-specific tag inside a type: ignore comment, such as # type: ignore[pyrefly:bad-assignment], which suppresses only the named diagnostic while leaving unrelated errors on that line visible. A new type-ignore-unknown-tag-behavior option also controls how tags belonging to other type checkers affect Pyrefly's own diagnostics. Developers fine-tuning type checker configs can follow updates like this on daily.dev."}},{"@type":"Question","name":"What new baseline file options does Pyrefly 1.3 add for managing existing type errors?","acceptedAnswer":{"@type":"Answer","text":"Pyrefly 1.3 adds baseline-matching-mode to choose matching diagnostics by column or description, baseline-format to control whether full or compact diagnostic metadata is written, baseline-error-level to keep matched diagnostics visible at a chosen severity, --prune-baseline to remove stale entries, and --error-stale-baseline to let CI reject baseline files containing obsolete entries. daily.dev helps teams stay current on baseline tooling changes when maintaining large type-checked codebases."}}]}
```

