Colin Kennedy
e449d5b7ff
fix(python) Do not duplicate "Throw" annotations ( #142 )
...
* Fixed Python docstring duplicate throw parsing error
* ref(python): remove unecessary recursive
* Stylua
---------
Co-authored-by: danymat <d.danymat@gmail.com >
2023-05-31 12:50:53 +02:00
danymat
ffefbd27ba
ref: Use typed parameters
2023-01-12 22:30:28 +01:00
Chris Brendel
56620c0191
restored behavior removing self/cls argument for func in class
2023-01-12 15:27:55 -05:00
Chris Brendel
41fe4ba304
allow instantiated exceptions to be extracted
2023-01-12 15:23:55 -05:00
Daniel
254301a044
Fix python docstrings ( #120 )
...
* fix(py): Return "Args:" if parameters
* fix(py): catch typed default parameters
2022-12-28 11:43:40 +01:00
root
da04629ffa
fix(python): Check for assignment to non-attributes in class ( #107 )
2022-11-03 00:07:40 +01:00
danymat
0f70a414fa
feat(py) Better copy of nodes to generator ( #106 )
2022-10-21 16:29:44 +02:00
danymat
8624a73c86
feat(python): Add support for throw statements
...
Closes #106
Support currently reST annotations
2022-10-17 12:35:53 +02:00
danymat
e307833f26
fix(python): remove hints for typed parameters ( #106 )
2022-10-17 12:16:50 +02:00
Daniel Mathiot
d5326a114a
fix: Return value instead of table in get_node_text
...
Closes #99
2022-06-15 10:36:35 +02:00
Daniel Mathiot
08c88e2a85
ref(helpers) Improve get_node_text deprecation
2022-06-14 19:08:46 +02:00
Daniel Mathiot
3a37832265
fix: deprecate ts_utils get_node_text #88 ( #98 )
2022-06-13 08:33:43 +02:00
danymat
3ac1e14138
feat(py) Add *args and **kwargs support ( #71 )
2022-02-22 21:08:38 +01:00
danymat
2936644b9d
fix(py) Revert default annotation
2022-02-22 20:45:17 +01:00
danymat
11c8ca46ac
fix(py) Do not show return types when looking for return statements ( #71 )
2022-02-22 20:42:15 +01:00
kevinhwang91
8642100aea
refactor: refactor code base
2022-02-06 12:15:55 +08:00
danymat
84aa3d3cba
doc: Add section :h neogen-template-api
2022-02-01 18:56:51 +01:00
danymat
f02e883651
fix(py) Disable custom placement for file type ( #59 )
2022-02-01 15:16:48 +01:00
danymat
985baa1380
fix(py) Support typed default parameters ( #60 )
2022-02-01 15:06:16 +01:00
danymat
40bfc7e21a
ref!: Extract template codes into template dir
...
I possibly introduced some bugs in the process, please open an issue if
so.
- This is an attempt to refactor the code and provide re-use of templates
(for example, doxygen or jsdoc)
- I standardized the exposed returned nodes for a template (you can view
it by going to lua/neogen/types/template.lua)
2022-02-01 12:44:36 +01:00
Steven Dahdah
ba39487060
Add space before numpydoc colon
2022-01-30 12:57:22 -05:00
danymat
cda1f0a372
fix(py) better handling of static methods
2022-01-30 16:18:49 +01:00
danymat
33fc37b6b7
(py) Update configurations ( #51 )
2022-01-30 16:04:51 +01:00
danymat
d46c438cf5
ref(py) Better handling of class methods ( #51 )
2022-01-30 14:40:25 +01:00
danymat
f1d8f426fd
fix(py) Use spaces instead of tabs ( #52 )
2022-01-30 14:23:04 +01:00
danymat
0d381d03d2
feat(py) None return type does not display returns ( #51 )
2022-01-29 19:56:14 +01:00
danymat
9b7d6e5e81
fix(py) Remove reference to self in functions
2022-01-29 19:54:07 +01:00
danymat
0d00e05b20
(py) Update configurations ( #51 )
2022-01-29 19:13:41 +01:00
danymat
6c086dcb2f
(py) Update configurations
2022-01-29 18:51:10 +01:00
danymat
64d152e4c5
(py) Update configurations ( #46 )
2022-01-29 14:52:22 +01:00
danymat
d6b148667d
feat(py) Add reST annotation support ( #46 )
2022-01-29 13:40:39 +01:00
danymat
fe44b20a57
fix(py) Always get public parameters for classes
2022-01-29 13:06:53 +01:00
danymat
94df6a3d9a
(py) Update configurations
2022-01-29 11:40:46 +01:00
danymat
749764ab7e
(py) Update configurations ( Fix #41 )
2022-01-29 10:59:27 +01:00
danymat
57e76c6102
ref: Code refactoring
...
- Try to not expose as much commands and code via neogen
- Use minidoc to generate docgen
2022-01-26 11:50:23 +01:00
danymat
33ce4896bb
(py) Update configurations
2022-01-23 12:57:10 +01:00
danymat
2ee0ecd802
(py) Update configurations ( #41 )
2022-01-23 12:50:32 +01:00
danymat
2973ff1489
(py) Update configurations ( Fix #41 )
2022-01-23 12:04:47 +01:00
danymat
a9f4009d9b
(py) Update configurations
2022-01-22 20:37:49 +01:00
danymat
e5f0eb2c81
(py) Update configurations
2022-01-22 20:32:14 +01:00
danymat
966d091468
(py) Update configurations
2022-01-13 16:15:12 +01:00
danymat
605d4efa91
(py) Update configurations
2022-01-13 16:06:04 +01:00
danymat
a79fa586a9
(py) Update configurations
2022-01-13 09:35:41 +01:00
danymat
2be52c73b7
(py) Update configurations
2022-01-12 10:08:23 +01:00
danymat
402cc7b52e
(py) Update configurations
2022-01-12 10:06:31 +01:00
danymat
c654ba9388
feat(py) Add type annotation
2022-01-10 17:45:25 +01:00
danymat
e7573d88a4
fix(python) Append after a possible shebang line ( #31 )
2022-01-09 17:03:29 +01:00
danymat
23031e365b
feat(py) Add support for file type ( #31 )
2022-01-09 13:37:11 +01:00
danymat
ff0e8eaf83
fix(python) Don't show error for empty class ( #33 )
2022-01-07 17:42:47 +01:00
meijieru
e89760d899
fix(python): no blank line after return
2021-12-08 01:04:11 -05:00