Skip to content
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

Representation defined by traits #979

Draft
wants to merge 73 commits into
base: develop
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
73 commits
Select commit Hold shift + click to select a range
5118c3c
Merge remote-tracking branch 'origin/develop' into feature/909-define…
antirotor Oct 8, 2024
b9774e4
:wrench: WIP on feature/909-define-basic-trait-type-using-dataclasses
antirotor Oct 8, 2024
88a4aa1
:recycle: tweak ruff linting
antirotor Oct 9, 2024
092325e
:art: implement `TraitsData`
antirotor Oct 9, 2024
3981a2e
:alembic: add tests
antirotor Oct 10, 2024
6d07307
:recycle: refactor `TraitsData` to `Representation`
antirotor Oct 10, 2024
43edcb8
:alembic: add dependencies necessary to run tests
antirotor Oct 10, 2024
e0a6e17
:recycle: add traits and refactor api
antirotor Oct 14, 2024
9b3e1ce
:alembic: fix tests
antirotor Oct 14, 2024
c0cf227
Merge remote-tracking branch 'origin/develop' into feature/909-define…
antirotor Oct 16, 2024
de4d5b9
Auto stash before merge of "feature/909-define-basic-trait-type-using…
antirotor Oct 16, 2024
03dcc37
:art: add some more traits
antirotor Oct 16, 2024
2b572ae
:art: introduce name and id for representation
antirotor Oct 16, 2024
4e0f9b4
:wrench: WIP on the integrator
antirotor Oct 17, 2024
a299f8e
:bug: fix test fixture
antirotor Oct 17, 2024
4bd5706
:recycle: make some properties optional
antirotor Oct 17, 2024
913a188
Merge branch 'feature/909-define-basic-trait-type-using-dataclasses' …
antirotor Oct 17, 2024
4b3469c
:wrench: adding project based test
antirotor Oct 21, 2024
664d839
:art: added id and name to representation
antirotor Oct 25, 2024
edefade
:art: added id and name to representation
antirotor Oct 25, 2024
37ebb8a
Merge remote-tracking branch 'origin/develop' into feature/909-define…
antirotor Oct 25, 2024
c559d5b
Merge remote-tracking branch 'origin/feature/909-define-basic-trait-t…
antirotor Oct 25, 2024
282edd9
Update client/ayon_core/pipeline/traits/time.py
antirotor Oct 31, 2024
8698c81
:burn: remove unnecessary init files
antirotor Nov 4, 2024
ba3497b
Merge remote-tracking branch 'origin/feature/909-define-basic-trait-t…
antirotor Nov 4, 2024
ba49b65
:fire: remove integrator from this branch
antirotor Nov 4, 2024
b0bd488
:recycle: add traits and docstrings
antirotor Nov 4, 2024
2b05c52
Merge branch 'develop' into feature/909-define-basic-trait-type-using…
antirotor Nov 4, 2024
fbeef7f
:dog: run ruff action only on changed files
antirotor Nov 5, 2024
eb04f24
Merge remote-tracking branch 'origin/feature/909-define-basic-trait-t…
antirotor Nov 5, 2024
9e7dac2
:recycle: switch ruff to official GH action
antirotor Nov 5, 2024
deae44d
:recycle: fix tests and trait version
antirotor Nov 6, 2024
4d31c5e
:fire: remove FrameRanged field aliases
antirotor Nov 6, 2024
b9e430e
:recycle: make fields optional, fps data type
antirotor Nov 8, 2024
db5d997
:art: add `get_versionless_id()` helper (and test)
antirotor Nov 8, 2024
e4377e8
:recycle: raise exception if trait not found instead of returning None
antirotor Nov 8, 2024
d228527
:art: add file locations
antirotor Nov 11, 2024
f589cb9
:recycle: change validations
antirotor Nov 12, 2024
b64e034
:recycle: refactor to remove circular imports
antirotor Nov 12, 2024
794160f
:dog: fix ruff issues
antirotor Nov 13, 2024
fc30b85
:dog: remove unused import
antirotor Nov 13, 2024
13e5642
:art: add get padding from files
antirotor Nov 22, 2024
dc26079
:bug: handle `ABCMeta.__issubclass__()` bug?
antirotor Nov 26, 2024
97fe8ac
:art: handle frame specs
antirotor Nov 26, 2024
32d82e4
:art: add persistent property to trait
antirotor Nov 29, 2024
60f10fe
:art: add dict-like behavior to Representation
antirotor Nov 29, 2024
265b181
:recycle: simplify equality check and validation
antirotor Nov 29, 2024
5e0509c
:art: enhance range validations
antirotor Nov 29, 2024
799b0bc
:alembic: split test to more files
antirotor Nov 29, 2024
90d8df8
:dog: add missing docstring
antirotor Nov 30, 2024
4948cdd
:art: FileLocations only with Sequence or Bundle
antirotor Nov 30, 2024
c9d4716
:art: add `UDIM` to `FileLocations` relationships
antirotor Nov 30, 2024
5c8d111
:dog: fix indent
antirotor Nov 30, 2024
cf3242b
:fire: revert the assumption that `FileLocations relates to `Bundles`
antirotor Nov 30, 2024
f416976
:recycle: expose trait validation error
antirotor Dec 1, 2024
595a354
:art: add helpers for getting files
antirotor Dec 1, 2024
cc543fb
:bug: return Path instead of FileLocation
antirotor Dec 1, 2024
cf195c4
:recycle: refactor to return `FileLocation` again
antirotor Dec 1, 2024
5748c15
:art: udims as a list
antirotor Dec 1, 2024
0d98ff4
:bug: compile regex
antirotor Dec 1, 2024
891a065
:art: add helper function
antirotor Dec 1, 2024
828c522
:bug: fix typo
antirotor Dec 3, 2024
e83541a
:art: add Variant trait
antirotor Dec 3, 2024
da95746
:memo: add readme for traits
antirotor Dec 4, 2024
718cad7
:bug: fix PGPSigned trait name
antirotor Dec 4, 2024
5ab0f82
:art: add traits addon interface
antirotor Dec 9, 2024
b51273a
:art: add original location traits and fix some typos
antirotor Dec 10, 2024
83dfd76
:bug: fix validation
antirotor Dec 10, 2024
6d9c73d
:bug: small fixes
antirotor Dec 11, 2024
b0238cb
:bug: fix regex named group for frame list
antirotor Dec 12, 2024
a08ed70
:recycle: fix mypy errors
antirotor Dec 20, 2024
5d31e66
merge develop
antirotor Dec 22, 2024
a4dbb31
:bug: fix mypy errors
antirotor Dec 22, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/pr_linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: chartboost/ruff-action@v1
- uses: astral-sh/ruff-action@v1
with:
changed-files: "true"
2 changes: 2 additions & 0 deletions client/ayon_core/addon/__init__.py
Original file line number Diff line number Diff line change
@@ -1,42 +1,44 @@
# -*- coding: utf-8 -*-

Check failure on line 1 in client/ayon_core/addon/__init__.py

View workflow job for this annotation

GitHub Actions / linting

Ruff (UP009)

client/ayon_core/addon/__init__.py:1:1: UP009 UTF-8 encoding declaration is unnecessary

Check failure on line 1 in client/ayon_core/addon/__init__.py

View workflow job for this annotation

GitHub Actions / linting

Ruff (D104)

client/ayon_core/addon/__init__.py:1:1: D104 Missing docstring in public package
from . import click_wrap
from .interfaces import (
IPluginPaths,
ITrayAddon,
ITrayAction,
ITrayService,
IHostAddon,
ITraits,
)

from .base import (
ProcessPreparationError,
ProcessContext,
AYONAddon,
AddonsManager,
load_addons,
)

from .utils import (
ensure_addons_are_process_context_ready,
ensure_addons_are_process_ready,
)


__all__ = (

Check failure on line 26 in client/ayon_core/addon/__init__.py

View workflow job for this annotation

GitHub Actions / linting

Ruff (I001)

client/ayon_core/addon/__init__.py:2:1: I001 Import block is un-sorted or un-formatted
"click_wrap",

"IPluginPaths",
"ITrayAddon",
"ITrayAction",
"ITrayService",
"IHostAddon",
"ITraits",

"ProcessPreparationError",
"ProcessContext",
"AYONAddon",
"AddonsManager",
"load_addons",

"ensure_addons_are_process_context_ready",
"ensure_addons_are_process_ready",
)

Check failure on line 44 in client/ayon_core/addon/__init__.py

View workflow job for this annotation

GitHub Actions / linting

Ruff (RUF022)

client/ayon_core/addon/__init__.py:26:11: RUF022 `__all__` is not sorted
Loading