Skip to content
This repository was archived by the owner on May 17, 2024. It is now read-only.

Mark data-diff as type-annotated #744

Merged
merged 1 commit into from
Oct 13, 2023
Merged

Mark data-diff as type-annotated #744

merged 1 commit into from
Oct 13, 2023

Conversation

nolar
Copy link
Contributor

@nolar nolar commented Oct 13, 2023

The type annotations are incomplete and sometimes simply wrong. But at least they are annotated somehow, partially. More importantly, we have numerous simple classes & attrs classes, which could be used for type-checking properly without inferring them as Any — e.g., in structural pattern matching, such as match col: case NumericType(precision=0): ….

Proper type annotations and strict-mode MyPy checking will arrive later, eventually (it is a work in progress, just not a priority).

The type annotations are incomplete and sometimes simply wrong. But at least they are annotated _somehow_, partially. More importantly, we have numerous simple classes & `attrs` classes, which could be used for type-checking properly without inferring them as `Any` — e.g., in structural pattern matching, such as `match col: case NumericType(precision=0): …`.

Proper type annotations and strict-mode MyPy checking will arrive later, eventually (it is a work in progress, just not a priority).
@nolar nolar requested a review from dlawin October 13, 2023 14:29
@nolar nolar merged commit 43d241f into master Oct 13, 2023
@nolar nolar deleted the py-typed branch October 13, 2023 15:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants