Skip to content

๐Ÿ‡บ๐Ÿ‡ธ A command-line type hint remover for Python. ๐Ÿ› ๏ธ

License

Notifications You must be signed in to change notification settings

d3cryptofc/rynt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

4 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation



Type Hint Remover Tool for Python
For what type hints in production? Avoid unnecessary imports to optimize your code.

 a = 1
-b: int
-c: int = 1
+c = 1
 
 
-async def function(a, b: int, c = 1, d: int = 1, *e: int, **f: int) -> int:
+async def function(a, b, c = 1, d = 1, *e, **f):
     a = 1
-    b: int
-    c: int = 1
+    c = 1
 
     if _:
         a = 1
-        b: int
-        c: int = 1
+        c = 1
 
     with _:
         a = 1
-        b: int
-        c: int = 1
-    
+        c = 1
+
     for _ in __:
         a = 1
-        b: int
-        c: int = 1
+        c = 1
 
     while _:
         a = 1
-        b: int
-        c: int = 1
+        c = 1
 
     class Subclass:
         a = 1
-        b: int
-        c: int = 1
+        c = 1
 
-        def method(self, a, b: int, c = 1, d: int = 1, *e: int, **f: int) -> int:
+        def method(self, a, b, c = 1, d = 1, *e, **f):
             a = 1
-            b: int
-            c: int = 1
+            c = 1
+

About

๐Ÿ‡บ๐Ÿ‡ธ A command-line type hint remover for Python. ๐Ÿ› ๏ธ

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published