-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Added generation for Safe-DS stubs files #33
Commits on Oct 13, 2023
-
Added stub generator and functionality for generating a module + impo…
…rts + package information + class + methods + attr
Configuration menu - View commit details
-
Copy full SHA for bb1e449 - Browse repository at this point
Copy the full SHA bb1e449View commit details -
Configuration menu - View commit details
-
Copy full SHA for a7a067c - Browse repository at this point
Copy the full SHA a7a067cView commit details
Commits on Oct 14, 2023
-
Configuration menu - View commit details
-
Copy full SHA for d756015 - Browse repository at this point
Copy the full SHA d756015View commit details -
Configuration menu - View commit details
-
Copy full SHA for 59d2732 - Browse repository at this point
Copy the full SHA 59d2732View commit details -
Configuration menu - View commit details
-
Copy full SHA for a2baa05 - Browse repository at this point
Copy the full SHA a2baa05View commit details
Commits on Oct 17, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 50e18c0 - Browse repository at this point
Copy the full SHA 50e18c0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4a3b8bd - Browse repository at this point
Copy the full SHA 4a3b8bdView commit details
Commits on Oct 20, 2023
-
Fixed a bug in the get_api call | Stub-Generator: some fixes and adde…
…d TODO messages for the SafeDS Stubs, if unallowed type hints were used
Configuration menu - View commit details
-
Copy full SHA for 975293b - Browse repository at this point
Copy the full SHA 975293bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 519aaae - Browse repository at this point
Copy the full SHA 519aaaeView commit details -
Refactoring stubs generator: Access to data of the API via API class,…
… so that one can access the dictionaries directly and does not have to iterate over all lists.
Configuration menu - View commit details
-
Copy full SHA for 78143ea - Browse repository at this point
Copy the full SHA 78143eaView commit details -
Configuration menu - View commit details
-
Copy full SHA for aa6e543 - Browse repository at this point
Copy the full SHA aa6e543View commit details
Commits on Oct 23, 2023
-
Fixed a bug in _get_api.py which prevented analysing packages with di…
…fferent path lengths. Fixed a bug _ast_visitor.py for the api data creation, in which the id of modules did not correctly represent their path.
Configuration menu - View commit details
-
Copy full SHA for 5e51e2e - Browse repository at this point
Copy the full SHA 5e51e2eView commit details -
Configuration menu - View commit details
-
Copy full SHA for cfa90eb - Browse repository at this point
Copy the full SHA cfa90ebView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3a61470 - Browse repository at this point
Copy the full SHA 3a61470View commit details -
Created new package for stubs generation functions, created test file…
… (w/o tests), fixed a bug where creating directories for stubs would cause an exception
Configuration menu - View commit details
-
Copy full SHA for 87d8886 - Browse repository at this point
Copy the full SHA 87d8886View commit details -
Added test cases for files, directories, classes, functions and attri…
…butes that have the same name as the source package
Configuration menu - View commit details
-
Copy full SHA for 3d8aee4 - Browse repository at this point
Copy the full SHA 3d8aee4View commit details -
Merge remote-tracking branch 'origin/fixes-path_lengths-module_id' in…
…to fixes-path_lengths-module_id
Configuration menu - View commit details
-
Copy full SHA for 7201cda - Browse repository at this point
Copy the full SHA 7201cdaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f4dd64 - Browse repository at this point
Copy the full SHA 7f4dd64View commit details -
Configuration menu - View commit details
-
Copy full SHA for e5b023f - Browse repository at this point
Copy the full SHA e5b023fView commit details
Commits on Nov 5, 2023
-
Configuration menu - View commit details
-
Copy full SHA for cbf2efa - Browse repository at this point
Copy the full SHA cbf2efaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5ad4b69 - Browse repository at this point
Copy the full SHA 5ad4b69View commit details
Commits on Nov 6, 2023
-
Configuration menu - View commit details
-
Copy full SHA for cf745d8 - Browse repository at this point
Copy the full SHA cf745d8View commit details -
Configuration menu - View commit details
-
Copy full SHA for e433458 - Browse repository at this point
Copy the full SHA e433458View commit details -
Configuration menu - View commit details
-
Copy full SHA for 082b1b9 - Browse repository at this point
Copy the full SHA 082b1b9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 291e13c - Browse repository at this point
Copy the full SHA 291e13cView commit details
Commits on Nov 8, 2023
-
Added a TODO for stubs if a class has multiple inheritances, empty en…
…um or class body are removed, added static modifier for class attributes, adjusted todo messages for stubs, added () for class constructors
Configuration menu - View commit details
-
Copy full SHA for 3872ee0 - Browse repository at this point
Copy the full SHA 3872ee0View commit details -
Added handling for methods with @classmethod decorator and adjusted t…
…est snapshots
Configuration menu - View commit details
-
Copy full SHA for 7c902f5 - Browse repository at this point
Copy the full SHA 7c902f5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 37efa81 - Browse repository at this point
Copy the full SHA 37efa81View commit details
Commits on Nov 10, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 3f008d4 - Browse repository at this point
Copy the full SHA 3f008d4View commit details
Commits on Nov 13, 2023
-
Merge branch 'main' into stubs_generation
# Conflicts: # src/safeds_stubgen/api_analyzer/_ast_visitor.py
Configuration menu - View commit details
-
Copy full SHA for 3321666 - Browse repository at this point
Copy the full SHA 3321666View commit details -
Attributes, Parameter and Enum instances will be converted to camelCa…
…se for Safe-DS stubs and will also be checked for keyword and escaped if necessary. Function names will also be converted to camelCase. Added unit test for the _convert_snake_to_camel_case function
Configuration menu - View commit details
-
Copy full SHA for 852767f - Browse repository at this point
Copy the full SHA 852767fView commit details -
Configuration menu - View commit details
-
Copy full SHA for ef587b6 - Browse repository at this point
Copy the full SHA ef587b6View commit details -
Configuration menu - View commit details
-
Copy full SHA for d04c4f7 - Browse repository at this point
Copy the full SHA d04c4f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 541fd4d - Browse repository at this point
Copy the full SHA 541fd4dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 79fd8a2 - Browse repository at this point
Copy the full SHA 79fd8a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1cda792 - Browse repository at this point
Copy the full SHA 1cda792View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9ec9516 - Browse repository at this point
Copy the full SHA 9ec9516View commit details -
Configuration menu - View commit details
-
Copy full SHA for 507e3f0 - Browse repository at this point
Copy the full SHA 507e3f0View commit details -
api_analyzer: Fixed a bug where lists with multiple types would not b…
…e correctly parsed
Configuration menu - View commit details
-
Copy full SHA for 912b6ca - Browse repository at this point
Copy the full SHA 912b6caView commit details
Commits on Nov 14, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 35f0dd1 - Browse repository at this point
Copy the full SHA 35f0dd1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 164a416 - Browse repository at this point
Copy the full SHA 164a416View commit details
Commits on Nov 17, 2023
-
Removed automatic trailing whitespace trimming for .ambr (test snapsh…
…ot) files; refactoring _generate_stubs.py; replaced _files.py with Path.glob
Configuration menu - View commit details
-
Copy full SHA for c2f34fc - Browse repository at this point
Copy the full SHA c2f34fcView commit details -
Configuration menu - View commit details
-
Copy full SHA for bc188d4 - Browse repository at this point
Copy the full SHA bc188d4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 804f86a - Browse repository at this point
Copy the full SHA 804f86aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6cd1892 - Browse repository at this point
Copy the full SHA 6cd1892View commit details
Commits on Nov 18, 2023
-
Configuration menu - View commit details
-
Copy full SHA for d29d3d4 - Browse repository at this point
Copy the full SHA d29d3d4View commit details -
Configuration menu - View commit details
-
Copy full SHA for b6a7051 - Browse repository at this point
Copy the full SHA b6a7051View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b0e74e - Browse repository at this point
Copy the full SHA 6b0e74eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 46e75fe - Browse repository at this point
Copy the full SHA 46e75feView commit details -
Configuration menu - View commit details
-
Copy full SHA for fa6c5ab - Browse repository at this point
Copy the full SHA fa6c5abView commit details
Commits on Nov 20, 2023
-
Issue #34: Added TODOs for the stub generator if parameters, attribut…
…es or results have no type information.
Configuration menu - View commit details
-
Copy full SHA for 9eb19f5 - Browse repository at this point
Copy the full SHA 9eb19f5View commit details -
Issue #35 & #36 added variance parsing api_analyzer; added variance a…
…nd constraints to stubs generator
Configuration menu - View commit details
-
Copy full SHA for 69d421f - Browse repository at this point
Copy the full SHA 69d421fView commit details
Commits on Nov 21, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 477a386 - Browse repository at this point
Copy the full SHA 477a386View commit details -
Big overhaul of the tests: Removed redundant test data files and merg…
…ed test data packages. Added some new tests and removed redundant tests.
Configuration menu - View commit details
-
Copy full SHA for f1bf09f - Browse repository at this point
Copy the full SHA f1bf09fView commit details -
Configuration menu - View commit details
-
Copy full SHA for fb2256b - Browse repository at this point
Copy the full SHA fb2256bView commit details
Commits on Nov 22, 2023
-
Configuration menu - View commit details
-
Copy full SHA for d0dac2b - Browse repository at this point
Copy the full SHA d0dac2bView commit details
Commits on Nov 24, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 7085ee0 - Browse repository at this point
Copy the full SHA 7085ee0View commit details -
Stubs generator: Added @pythonModule annotation for package informati…
…on, class names will also be converted to camelCase and be checked for keywords, abstract classes won't have inheritance information, add @pure annotation for functions, fixed bugs and adjusted tests
Configuration menu - View commit details
-
Copy full SHA for b7a7730 - Browse repository at this point
Copy the full SHA b7a7730View commit details
Commits on Nov 27, 2023
-
AST Visitor: Parameter can have callables as type, fixed representati…
…on for multiple result types, added better type inference for results & added qname field for NamedTypes
Configuration menu - View commit details
-
Copy full SHA for 6466dfb - Browse repository at this point
Copy the full SHA 6466dfbView commit details -
Added handling for final type attributes and UpperCamelCase stub name…
…s for classes. Adjusted test snapshots and added tests
Configuration menu - View commit details
-
Copy full SHA for 4aea41e - Browse repository at this point
Copy the full SHA 4aea41eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4bff2cb - Browse repository at this point
Copy the full SHA 4bff2cbView commit details -
Fixed a bug where attributes with call expressions as type hint would…
… get "Any" as type
Configuration menu - View commit details
-
Copy full SHA for 8b44fe6 - Browse repository at this point
Copy the full SHA 8b44fe6View commit details -
fixed a test snapshot bug where return types would be unsorted and mi…
…xed up with every test run
Configuration menu - View commit details
-
Copy full SHA for efaab1f - Browse repository at this point
Copy the full SHA efaab1fView commit details
Commits on Nov 29, 2023
-
Configuration menu - View commit details
-
Copy full SHA for f448d1e - Browse repository at this point
Copy the full SHA f448d1eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 75df41e - Browse repository at this point
Copy the full SHA 75df41eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 684d40a - Browse repository at this point
Copy the full SHA 684d40aView commit details -
API-Analyzer: Better handling for Any types and illegal list and set …
…types; Stubs-Generator: fixed string literal types
Configuration menu - View commit details
-
Copy full SHA for d6b8bf7 - Browse repository at this point
Copy the full SHA d6b8bf7View commit details -
Configuration menu - View commit details
-
Copy full SHA for e171213 - Browse repository at this point
Copy the full SHA e171213View commit details -
Configuration menu - View commit details
-
Copy full SHA for 006f98b - Browse repository at this point
Copy the full SHA 006f98bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5bd771d - Browse repository at this point
Copy the full SHA 5bd771dView commit details -
Issue #39: The snake_case to camelCase converter can be toggled with …
…the argument -ci.
Configuration menu - View commit details
-
Copy full SHA for 852d48f - Browse repository at this point
Copy the full SHA 852d48fView commit details
Commits on Nov 30, 2023
-
Configuration menu - View commit details
-
Copy full SHA for f0ffa79 - Browse repository at this point
Copy the full SHA f0ffa79View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b29c16 - Browse repository at this point
Copy the full SHA 6b29c16View commit details -
Configuration menu - View commit details
-
Copy full SHA for 757b667 - Browse repository at this point
Copy the full SHA 757b667View commit details -
Configuration menu - View commit details
-
Copy full SHA for b654b68 - Browse repository at this point
Copy the full SHA b654b68View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a2b3cf - Browse repository at this point
Copy the full SHA 0a2b3cfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 509fb30 - Browse repository at this point
Copy the full SHA 509fb30View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7e7eb94 - Browse repository at this point
Copy the full SHA 7e7eb94View commit details -
Configuration menu - View commit details
-
Copy full SHA for e5b5b1a - Browse repository at this point
Copy the full SHA e5b5b1aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 794020d - Browse repository at this point
Copy the full SHA 794020dView commit details -
Changed test data directory and file names, since the GitHub test run…
…ner has problems with directories and files beginning with "test" but without actual test functions.
Configuration menu - View commit details
-
Copy full SHA for 5f8bfc7 - Browse repository at this point
Copy the full SHA 5f8bfc7View commit details -
Changed test data directory and file names, since the GitHub test run…
…ner has problems with directories and files beginning with "test" but without actual test functions.
Configuration menu - View commit details
-
Copy full SHA for 71090e4 - Browse repository at this point
Copy the full SHA 71090e4View commit details -
Configuration menu - View commit details
-
Copy full SHA for c680399 - Browse repository at this point
Copy the full SHA c680399View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6a57205 - Browse repository at this point
Copy the full SHA 6a57205View commit details -
Configuration menu - View commit details
-
Copy full SHA for d7bd3b9 - Browse repository at this point
Copy the full SHA d7bd3b9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8a66557 - Browse repository at this point
Copy the full SHA 8a66557View commit details -
Configuration menu - View commit details
-
Copy full SHA for 876cb95 - Browse repository at this point
Copy the full SHA 876cb95View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7053942 - Browse repository at this point
Copy the full SHA 7053942View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3435a54 - Browse repository at this point
Copy the full SHA 3435a54View commit details -
Configuration menu - View commit details
-
Copy full SHA for b9d8fa2 - Browse repository at this point
Copy the full SHA b9d8fa2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 944c863 - Browse repository at this point
Copy the full SHA 944c863View commit details -
Configuration menu - View commit details
-
Copy full SHA for e78a3a5 - Browse repository at this point
Copy the full SHA e78a3a5View commit details -
Merge remote-tracking branch 'origin/stubs_generation' into stubs_gen…
…eration # Conflicts: # src/safeds_stubgen/stubs_generator/_generate_stubs.py
Configuration menu - View commit details
-
Copy full SHA for f3604f1 - Browse repository at this point
Copy the full SHA f3604f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for bd4a5ff - Browse repository at this point
Copy the full SHA bd4a5ffView commit details -
Configuration menu - View commit details
-
Copy full SHA for df1a986 - Browse repository at this point
Copy the full SHA df1a986View commit details -
Configuration menu - View commit details
-
Copy full SHA for 64e26a2 - Browse repository at this point
Copy the full SHA 64e26a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 93bc3cc - Browse repository at this point
Copy the full SHA 93bc3ccView commit details
Commits on Dec 1, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 6de83ce - Browse repository at this point
Copy the full SHA 6de83ceView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2be7ef4 - Browse repository at this point
Copy the full SHA 2be7ef4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 599dbad - Browse repository at this point
Copy the full SHA 599dbadView commit details
Commits on Dec 4, 2023
-
[Refactoring] Renamed Variance class to TypeParameter and removed fro…
…m_string method from NamedType Class
Configuration menu - View commit details
-
Copy full SHA for cb9d9d9 - Browse repository at this point
Copy the full SHA cb9d9d9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3609a29 - Browse repository at this point
Copy the full SHA 3609a29View commit details -
[Refactoring] Removed the is_abstract constructor field from the Clas…
…s "Class" in _api.py and added the property method is_abstract. Fixed a test.
Configuration menu - View commit details
-
Copy full SHA for 09c2586 - Browse repository at this point
Copy the full SHA 09c2586View commit details -
[Refactoring] Removed the default_is_none constructor field from the …
…Class "Parameter" in _api.py
Configuration menu - View commit details
-
Copy full SHA for 077f192 - Browse repository at this point
Copy the full SHA 077f192View commit details -
Configuration menu - View commit details
-
Copy full SHA for d058b83 - Browse repository at this point
Copy the full SHA d058b83View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1afef9f - Browse repository at this point
Copy the full SHA 1afef9fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 01864b8 - Browse repository at this point
Copy the full SHA 01864b8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 566e929 - Browse repository at this point
Copy the full SHA 566e929View commit details -
Configuration menu - View commit details
-
Copy full SHA for d7ff691 - Browse repository at this point
Copy the full SHA d7ff691View commit details
Commits on Dec 5, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 032027c - Browse repository at this point
Copy the full SHA 032027cView commit details -
LiteralTypes are joined for stubs
if a union has multiple literal types.
Configuration menu - View commit details
-
Copy full SHA for 77c4be8 - Browse repository at this point
Copy the full SHA 77c4be8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2fe4bb8 - Browse repository at this point
Copy the full SHA 2fe4bb8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8dcb2e2 - Browse repository at this point
Copy the full SHA 8dcb2e2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 779e87c - Browse repository at this point
Copy the full SHA 779e87cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 09fb9cd - Browse repository at this point
Copy the full SHA 09fb9cdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 936a557 - Browse repository at this point
Copy the full SHA 936a557View commit details
Commits on Dec 6, 2023
-
fixing a bug where None default values would not correctly be parsed,…
… refactoring and adding more test cases
Configuration menu - View commit details
-
Copy full SHA for 2df5093 - Browse repository at this point
Copy the full SHA 2df5093View commit details -
Configuration menu - View commit details
-
Copy full SHA for 63c7d03 - Browse repository at this point
Copy the full SHA 63c7d03View commit details -
Configuration menu - View commit details
-
Copy full SHA for 64ad07f - Browse repository at this point
Copy the full SHA 64ad07fView commit details -
Configuration menu - View commit details
-
Copy full SHA for a08450d - Browse repository at this point
Copy the full SHA a08450dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0c26c80 - Browse repository at this point
Copy the full SHA 0c26c80View commit details -
Merge remote-tracking branch 'origin/stubs_generation' into stubs_gen…
…eration # Conflicts: # src/safeds_stubgen/api_analyzer/_mypy_helpers.py
Configuration menu - View commit details
-
Copy full SHA for 20282b0 - Browse repository at this point
Copy the full SHA 20282b0View commit details