basedmypy icon indicating copy to clipboard operation
basedmypy copied to clipboard

Unionize the duck types

Open KotlinIsland opened this issue 3 years ago • 1 comments

An option to unionize the duck types.

a: float
reveal_type(a)  # float | int

I think a configuration option like duck_types with values of unionize, plain(#167) and standard

relates: #6 relates: #167

KotlinIsland avatar Jan 21 '22 05:01 KotlinIsland

unionize (verb): become or cause to become members of a trade union.

Are ducks eligible to join trade unions? And what does this have to do with your mypy fork?

#252

Zeckie avatar Mar 23 '22 09:03 Zeckie

#167 wins

KotlinIsland avatar Aug 09 '24 03:08 KotlinIsland