Comments (3)
Thanks for the information. I will have a look.
from strongtyping.
I used their decorator against my tests and these are the tests that fail.
FAILED test_typing.py::test_use_different_exception - TypeError: type of argu...
FAILED test_typing.py::test_use_own_exception - TypeError: type of argument "...
FAILED test_typing.py::test_use_str_repr_as_type - NameError: name 'A' is not...
FAILED test_typing.py::test_with_type - TypeError: Subscripted generics canno...
FAILED test_typing.py::test_with_callable - Failed: DID NOT RAISE <class 'Typ...
FAILED test_typing.py::test_mix - AttributeError: args
FAILED test_typing.py::test_with_json - Failed: DID NOT RAISE <class 'TypeErr...
But they support other things which I don't support and don't know if I should.
And I support type checking for docstrings (in reST format).
Your ideas are welcome.
from strongtyping.
Cool! Maybe open some issues there and see if there's any easy fixes you can contribute?
I'm not part of that project, it doesn't really affect me either way. I'm just pointing stuff out.
from strongtyping.
Related Issues (20)
- Evaluate arg types of TypeDicts' Required and NotRequired types instead of origin types HOT 20
- RecursionError HOT 1
- Cannot validate typing of nested TypedDict having a NotRequired clause in Python 3.10 HOT 3
- Cannot validate typing of nested TypedDict having a NotRequired clause in Python 3.11 HOT 5
- More explicit TypeMisMatch errors HOT 2
- Is strongtypes safe to depend on? HOT 2
- Infinite recursion when @dataclass decorator comes after @match_class_typing HOT 3
- Cannot import match_typing on Python 3.10.4 with strongtyping 3.11.1 HOT 5
- No pyi files in strongtyping-stubs 3.11.1 on PyPI HOT 4
- A possible change to match_class_typing decorator type hints HOT 9
- Are there errors for undefined keys? HOT 5
- Wrong repr when using match_class_typing
- Wrong type for classes decorated with match_class_typing
- Docstring from typing also as class decorator HOT 1
- Handle functions wich specify a value having of type TypeDict HOT 2
- Initializing TypedDict like a normal class fails
- @match_class_typing decorater disrupts "isintance(obj, Class)" calls
- Question: What is difference between strongtyping and typeguard? HOT 2
- duck type compatability HOT 9
- Subclass checks HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from strongtyping.