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

Cleanup #1211

Merged
merged 5 commits into from
Nov 13, 2023
Merged

Cleanup #1211

merged 5 commits into from
Nov 13, 2023

Conversation

daveisfera
Copy link
Contributor

No description provided.

@jlaine
Copy link
Member

jlaine commented Nov 1, 2023

Can you please set aside the changes to "scratchpad" I think I'll just drop that directory. For the rest of the style changes, could we enforce this in CI please?

@daveisfera
Copy link
Contributor Author

Done and I added the ruff check, but it will fail until the scratchpad stuff is removed and some other remaining issues are cleaned up

@jlaine
Copy link
Member

jlaine commented Nov 3, 2023

Instead of depending on yet another third-party action, could you please just add ruff to:

That way it will get run as part of our "style" job, and we can explicitly state which directories to lint and adjust ruff configuration in pyproject.toml if needed.

Also can we flesh out the commit messages a bit, as they are extremely terse and don't include any motivation for the changes. For instance why the change to AVError?

@jlaine
Copy link
Member

jlaine commented Nov 3, 2023

EDIT: in fact running ruff seems to be beside the point, it's not picking up any additional issues. Since this PR is focusing on Cython code, it should do only that.

@WyattBlue
Copy link
Member

I removed all the unrelated changes, so it's good to go.

@WyattBlue WyattBlue merged commit 040cb50 into PyAV-Org:main Nov 13, 2023
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants