Skip to content

Commit 54aeb62

Browse files
Fix linter: rename _FULLY_CONSTRAINED to lowercase
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 0ee7893 commit 54aeb62

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

morphe/adapters/inventor/adapter.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1401,10 +1401,8 @@ def get_solver_status(self) -> tuple[SolverStatus, int]:
14011401
return (SolverStatus.DIRTY, -1)
14021402

14031403
try:
1404-
# kConstraintStatusFullyConstrained = 51713
1405-
# kConstraintStatusUnderConstrained = 51714
1406-
# kConstraintStatusOverConstrained = 51715
1407-
_FULLY_CONSTRAINED = 51713
1404+
# Inventor ConstraintStatus enum values
1405+
fully_constrained = 51713 # kConstraintStatusFullyConstrained
14081406

14091407
all_constrained = True
14101408
has_entities = False
@@ -1421,7 +1419,7 @@ def get_solver_status(self) -> tuple[SolverStatus, int]:
14211419
has_entities = True
14221420
try:
14231421
status_val = entity.ConstraintStatus
1424-
if status_val != _FULLY_CONSTRAINED:
1422+
if status_val != fully_constrained:
14251423
all_constrained = False
14261424
except Exception:
14271425
all_constrained = False

0 commit comments

Comments
 (0)