We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Problem: Pyvista supports to change meshes inplace, which triggers the PD002 rule for pandas.
Ruff Version: ruff 0.1.12
Dependencies:
Config:
line-length = 100 ignore = [ "F722", "G004", ] select = [ "E","F","W","N","D","I","G","T","PT","RET","PTH","FIX","PD","RUF","YTT","BLE","B","A","EXE","SLF","PIE", ]
"""Nothing.""" from pyvista import examples def main(): """Nothing.""" mesh = examples.download_crater_topo() mesh.rotate_z(45, inplace=True) mesh.plot() if __name__ == "__main__": main()
The text was updated successfully, but these errors were encountered:
We can, at the very least, curate a list of methods that should be eligible to trigger this.
Sorry, something went wrong.
Limit inplace diagnostics to methods that accept inplace (#9495)
fee64b5
## Summary This should reduce false positives like #9491, by ignoring methods that are clearly not on a DataFrame. Closes #9491.
charliermarsh
Successfully merging a pull request may close this issue.
Problem:
Pyvista supports to change meshes inplace, which triggers the PD002 rule for pandas.
Ruff Version: ruff 0.1.12
Dependencies:
Config:
The text was updated successfully, but these errors were encountered: