Adrien and GitHub
f41934a0e2
Use ruff instead of black+isort ( #644 )
...
* Use ruff
* Update .gitignore
* Format code
* Use Ruff on generated code
* Update pre-commit hook
* Wrong commit
* Remove wrong imports
* Update hook
* Format code
* Target Python 3.8
* Reformat
* Pin ruff version
2025-01-03 01:59:43 +00:00
Adrien and GitHub
ed7eefac6f
Remove tests of unsupported Python versions ( #642 )
2024-11-13 08:40:46 +00:00
Adrien and GitHub
1741a126b3
Add all kinds of comments ( #632 )
...
* Add all kinds of comments
* Format
* Fix get_comment
* Improve test
* Lint
2024-11-07 03:11:53 +00:00
Adrien and GitHub
1a23f09c16
Define __all__ ( #625 )
...
* Define __all__
* Use tuple instead of list
* Add test
2024-11-07 03:11:45 +00:00
Adrien and GitHub
335eee7537
Remove MessageCompiler.annotation ( #634 )
2024-10-24 13:09:43 +01:00
Adrien and GitHub
a99be78fe4
Remove FieldCompiler.mutable ( #628 )
2024-10-24 13:09:10 +01:00
Adrien and GitHub
849c12fe88
Use strict undefined ( #633 )
2024-10-24 13:06:58 +01:00
Adrien and GitHub
c621ef8a8d
Fix documentation ( #630 )
...
* Fix missing documentation
* Add test
* Add test
* Format
* Reformat
2024-10-22 19:52:11 +01:00
Adrien and GitHub
6a3bbe3f25
Fix import loop with Pydantic ( #624 )
2024-10-15 15:33:37 +01:00
Adrien and GitHub
c2bcd31fe3
Remove error when no fields are set in oneof ( #612 )
2024-10-05 13:13:44 +01:00
Adrien and GitHub
c9dfe9ab1f
Remove unused compiler functions ( #619 )
2024-10-05 13:10:22 +01:00
1161803069
Fix placeholder deep copy ( #611 )
...
* Fix placeholder deep copy
* Add annotations, __repr__ and __slots__
Co-authored-by: James Hilton-Balfe <gobot1234yt@gmail.com >
* Fix annotation
* Fix typing
---------
Co-authored-by: James Hilton-Balfe <gobot1234yt@gmail.com >
2024-09-18 12:56:51 +01:00
Adrien and GitHub
8d25c96cea
Simplify code: delete py_input_message ( #614 )
2024-09-17 16:05:35 +01:00
Adrien and GitHub
8fdcb381b7
Prevent users from creating messages with wrong parameters when pydantic is used ( #615 )
2024-09-12 18:34:47 +01:00
Adrien and GitHub
efaef5095c
Fix badge URL ( #602 )
...
The badge always shows the build as failing, even if it is actually successful.
This issue has been reported on https://github.com/actions/starter-workflows/issues/1525 , and the fix suggested on https://github.com/actions/starter-workflows/issues/1525#issuecomment-1763431305 works.
2024-08-31 15:49:14 +01:00
4e9a17c227
Add warnings when calling deprecated method ( #596 )
...
* Add test
* To run the workflow
* Fix import
* Format
* Add warning
* Fix indentation
* Test deprecated method
* More test
* Format
* Add import if needed
---------
Co-authored-by: Adrien Vannson <adrien.vannson@gardacp.com >
2024-08-14 21:33:43 +01:00