Replies: 1 comment 1 reply
-
|
With your example code in a file called ruff check --select D102 example.py \
--config 'lint.pydocstyle.ignore-decorators = ["example.A.deco"]'so it looks like you were on the right track with |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'd like to ignore docstring linting requirements on the lines indicated below (ruff Playground):
I've tried several combinations of setting
lint.pydocstyle.ignore-decoratorsbelow, but none of them work:["A.deco", "library.Class", "builtins.A.deco", "__main__.A.deco", "__main__.deco"]Replacing
__main__.with a fully-qualified module name in a real project doesn't work either.Beta Was this translation helpful? Give feedback.
All reactions