Commit graph

12 commits

Author SHA1 Message Date
Mike
fafe528ea5 feat(models): add database constraints to Value model 2025-02-24 18:26:28 -08:00
Mike
a95f2a1c33 style(lint): apply ruff formatting rules with defined target-version 2025-02-13 07:40:43 -08:00
Mike
8f18d5e7e2 fix(attribute): restore backward compatibility for invalid slugs
Replace ValidationError with a warning when creating Attributes with invalid slugs. This change allows existing code to continue functioning while alerting users to potential issues.
2024-09-01 21:26:45 -07:00
Mike
b5b576aca5 refactor: apply ruff linter rules and standardize code style
Replace flake8 with ruff and apply consistent linting rules across the entire codebase. Update type annotations, quotation marks, and other style-related changes to comply with the new standards.
2024-09-01 14:57:47 -07:00
pre-commit-ci[bot]
41fa7ddc5c [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-08-31 21:20:36 -07:00
Mike
27d3887604 feat(attribute): add slug validation for Python identifier compliance
Implement custom validation for Attribute model's slug field to ensure it's a valid Python identifier. Add corresponding test case.
2024-08-31 21:20:36 -07:00
Christian Clauss
0b683ef3d5 Fix typos with codespell --ignore-words-list=unkown --skip="*.po" -w 2024-01-10 21:06:29 +01:00
Jacob Fredericksen
ee3f5662de fix: use typing.Tuple for annotations 2023-12-06 17:53:36 -05:00
Jacob Fredericksen
289e86e03f fix: use typing.Tuple for annotations 2023-12-06 13:43:02 -05:00
Jacob Fredericksen
08086b00c6 fix: use typing.Tuple for annotations 2023-12-05 11:47:28 -05:00
Jacob Fredericksen
1cdc2c4a41 refactor: cleanup 2023-11-30 13:11:59 -05:00
Jacob Fredericksen
7153bedce0 refactor: split model modules 2023-11-30 13:05:20 -05:00