Commit Graph

24 Commits

Author SHA1 Message Date
Daniil Fajnberg 3f0e3db427
👷 Use own workflow for creating and publishing new releases 2023-04-26 17:04:12 +02:00
Daniil Fajnberg 862a517018
🚨 Set explicit `stacklevel` when warning about schema-wide `many` setting depending on initialization state.
This should help users see the exact line they wrote that triggered the warning.
2023-04-21 15:52:33 +02:00
Daniil Fajnberg 3c16b4ebd6
📌 Restrict main dependency `marshmallow>=3.12.0`;
pin all development dependencies to specific versions
2023-04-21 15:47:03 +02:00
Daniil Fajnberg 0e443f08b9
👷 Use own Python testing workflow from `reusable-workflows` repository 2023-04-21 15:14:37 +02:00
Daniil Fajnberg 2ca7ccde4a
🔨 Rework and refactor development scripts 2023-04-21 15:09:09 +02:00
Daniil Fajnberg a7caa876c4
🔧 Fix minor cosmetic issues in project config 2023-04-21 15:08:55 +02:00
Daniil Fajnberg da244e15ba
👷 Add Github CI workflow for unit testing and linting 2023-03-13 20:59:42 +01:00
Daniil Fajnberg 485aea005e
🔖 v1.0.0 2023-03-13 20:27:09 +01:00
Daniil Fajnberg d272864e44
👨‍💻 Explicitly (re-)export in the package `__init__.py` (including `marshmallow` exports) 2023-03-13 18:54:18 +01:00
Daniil Fajnberg 4dd1fbaf53
🔧 Store miscellaneous dev cache files in their own directory 2023-03-13 18:35:14 +01:00
Daniil Fajnberg 4878d550fe
♻️ Move the schema-wide `many` warning to `__setattr__` instead 2023-03-13 15:48:05 +01:00
Daniil Fajnberg 2a5e35b334
🏷️ Change the `many` type back to `bool` in the `__init__` method 2023-03-13 15:20:33 +01:00
Daniil Fajnberg fe5decad4f
🔧 Show more function signature details in documentation 2023-03-13 00:10:37 +01:00
Daniil Fajnberg 712f7fca7b
Overload `dump`/`dumps` methods to increase type safety;
issue a warning, when using the `many` parameter in `__init__`
2023-03-13 00:08:57 +01:00
Daniil Fajnberg 84fa2d2cd9
🚧 Expand generic utility mixin to handle up to 5 type arguments 2023-03-12 18:04:28 +01:00
Daniil Fajnberg 21c201b681
📝 Write and configure documentation 2023-03-11 16:33:06 +01:00
Daniil Fajnberg 72218fd2cb
Add `loads` method overloads to `GenericSchema` class 2023-03-11 16:23:25 +01:00
Daniil Fajnberg bff3c7ef52
Add main `GenericSchema` class 2023-03-11 16:23:25 +01:00
Daniil Fajnberg 127ba69d3b
🚨 Fix linter errors/warnings; adjust `ruff` configuration 2023-03-11 16:23:25 +01:00
Daniil Fajnberg 25cbe8de4b
Add `isort` and `ruff` as dev dependencies;
 remove `flake8` dependency (replaced by `ruff`);
change `lint.sh` script to use `isort`, `ruff`, and `black`
2023-03-11 16:23:25 +01:00
Daniil Fajnberg 601fee0bfc
🏷️ Add `py.typed` marker 2023-03-11 16:23:25 +01:00
Daniil Fajnberg 39e1ac3390
Overload `@post_load` decorator to retain the function type 2023-03-11 16:23:25 +01:00
Daniil Fajnberg 8fedd9d326
Implement simple generic mixin for saving a single type argument 2023-03-11 16:23:25 +01:00
Daniil Fajnberg 2dc46dc532
🎉 Initial commit 2023-03-11 16:23:21 +01:00