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

[Bot] pre-commit autoupdate #674

Merged
merged 7 commits into from
Sep 3, 2024
Merged

[Bot] pre-commit autoupdate #674

merged 7 commits into from
Sep 3, 2024

Conversation

updates:
- [github.com/astral-sh/ruff-pre-commit: v0.5.6 → v0.6.3](astral-sh/ruff-pre-commit@v0.5.6...v0.6.3)
- [github.com/pre-commit/mirrors-mypy: v1.10.1 → v1.11.2](pre-commit/mirrors-mypy@v1.10.1...v1.11.2)
- [github.com/errata-ai/vale: v3.7.0 → v3.7.1](errata-ai/vale@v3.7.0...v3.7.1)
@github-actions github-actions bot added the Vizro-AI 🤖 Issue/PR that addresses Vizro-AI package label Sep 2, 2024
Copy link
Contributor

@huong-li-nguyen huong-li-nguyen left a comment

Choose a reason for hiding this comment

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

@maxschulz-COL @lingyielia - could you finish this PR off?

I've reverted the mypy version, because we cannot update as long as we don't use Pydantic V2. With the latest version of ruff, lots of linting errors are raised from the notebooks inside vizro-ai.

I think some of them you can probably safely ignore (prints), others might be worth implementing (docstrings / line length). So either push a change to ignore certain rules or fix the linting errors :)

@huong-li-nguyen huong-li-nguyen changed the title [pre-commit.ci] pre-commit autoupdate [Bot] pre-commit autoupdate Sep 3, 2024
Copy link
Contributor

@maxschulz-COL maxschulz-COL left a comment

Choose a reason for hiding this comment

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

I assume the dashboard changes are purely stylistic? In which case happy to merge

@huong-li-nguyen huong-li-nguyen self-requested a review September 3, 2024 14:43
Copy link
Contributor

@huong-li-nguyen huong-li-nguyen left a comment

Choose a reason for hiding this comment

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

@lingyielia - I am sure it's possible, but could you check if one can ignore certain rules in ruff per files?

Because, essentially you don't want to add an ignore in each line, but rather ignore that rule for all notebooks inside vizro-ai. For example the print rule. If not easy to implement, then happy to merge as is 👍

Copy link
Contributor

@huong-li-nguyen huong-li-nguyen left a comment

Choose a reason for hiding this comment

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

Looks a lot cleaner now! 🚀 Thanks!!

@lingyielia lingyielia merged commit c945af8 into main Sep 3, 2024
39 checks passed
@lingyielia lingyielia deleted the pre-commit-ci-update-config branch September 3, 2024 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Vizro-AI 🤖 Issue/PR that addresses Vizro-AI package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants