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

[pre-commit.ci] pre-commit autoupdate #11885

Closed
wants to merge 2 commits into from

Conversation

pre-commit-ci[bot]
Copy link
Contributor

@pre-commit-ci pre-commit-ci bot commented Jan 29, 2024

Comment on lines +2112 to +2114
msg = msg = (
"Defining 'pytest_plugins' in a non-top-level conftest is no longer supported"
)
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
msg = msg = (
"Defining 'pytest_plugins' in a non-top-level conftest is no longer supported"
)
msg = (
"Defining 'pytest_plugins' in a non-top-level conftest is no longer supported"
)

@nicoddemus
Copy link
Member

Unfortunately black and reorder-python-imports are no longer compatible, and from the looks of it probably will not be compatible anytime soon:

asottile/reorder-python-imports#367
asottile/reorder-python-imports#366
psf/black#4175

I'm trying out ruff in a few repos:

pytest-dev/pytest-mock#406
pytest-dev/execnet#239

nicoddemus added a commit to nicoddemus/pytest that referenced this pull request Jan 30, 2024
Unfortunately black and reorder-python-imports are no longer compatible, and from the looks of it probably will not be compatible anytime soon:

asottile/reorder-python-imports#367
asottile/reorder-python-imports#366
psf/black#4175

This replaces `reorder-python-imports` by `isort` configured in a way to yield roughtly the same results.

Closes pytest-dev#11885
@Pierre-Sassoulas Pierre-Sassoulas deleted the pre-commit-ci-update-config branch January 31, 2024 12:57
Pierre-Sassoulas added a commit to Pierre-Sassoulas/pytest that referenced this pull request Jan 31, 2024
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.

2 participants