#[pyo3::pymodule]
triggers missing documentation for a module lint
#4063
Labels
#[pyo3::pymodule]
triggers missing documentation for a module lint
#4063
Bug Description
I'm using roughly this code:
This causes a lint error:
This lint error is confusing, because i didn't define a rust module (i defined a function) and that function has a docstring.
Steps to Reproduce
git clone https://github.com/konstin/pep440-rs cd pep440-rs git checkout fbabd0e8fdbabb6b310ad2e5b119d9a031b34bd4 cargo clippy --all-features
Backtrace
Your operating system and version
ubuntu 22.04
Your Python version (
python --version
)Python 3.12.1
Your Rust version (
rustc --version
)rustc 1.77.1 (7cf61ebde 2024-03-27)
Your PyO3 version
0.21.1
How did you install python? Did you use a virtualenv?
pyenv, yes.
Additional Info
No response
The text was updated successfully, but these errors were encountered: