Skip to content

Conversation

JasonGrace2282
Copy link
Member

@JasonGrace2282 JasonGrace2282 commented May 22, 2024

Adds ruff linting and replaces isort in pre-commit ci

Only change I'm not sure of is in manim/mobject/opengl/opengl_mobject.py because there are two invert methods defined. I deleted the one without the self.assemble_family, but I'm not sure if that is the correct behavior (it's the current behavior).

@JasonGrace2282 JasonGrace2282 requested review from Viicos and behackl May 22, 2024 16:33
Copy link
Member

@Viicos Viicos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry had some pending comments

Copy link
Member

@Viicos Viicos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great!

@Viicos
Copy link
Member

Viicos commented May 31, 2024

Only change I'm not sure of is in manim/mobject/opengl/opengl_mobject.py because there are two invert methods defined. I deleted the one without the self.assemble_family, but I'm not sure if that is the correct behavior (it's the current behavior).

Unfortunate, but let's keep it this way. Keeping the last method was the best path :)

@JasonGrace2282 JasonGrace2282 enabled auto-merge (squash) May 31, 2024 18:20
@JasonGrace2282 JasonGrace2282 disabled auto-merge May 31, 2024 18:38
@JasonGrace2282 JasonGrace2282 merged commit 252aac3 into ManimCommunity:main Jun 4, 2024
@JasonGrace2282 JasonGrace2282 deleted the lint-ruff branch June 4, 2024 03:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants