klen / pylama

Code audit tool for python.
MIT License
1.05k stars 99 forks source link

Pydocstyle release 6.2.0 breaks pylama #232

Open cjkirk09 opened 1 year ago

cjkirk09 commented 1 year ago

With the release of pydocstyle 6.2.0, they changed the method signature of PyDocChecker().check_source to have an additional parameter https://github.com/PyCQA/pydocstyle/pull/546/files#diff-8036a1f043bf5856770399b0a1b5b13e7fc59cd1fc2e6bc2d8ca93f49a5d3406R134

def check_source(
    self,
    source,
    filename,
    ignore_decorators=None,
    property_decorators=None,
    ignore_inline_noqa=False,
)

So now it is passing in the ignore_inline_noqa value to the property_decorators param in pylama_pycodestyle.py

for err in PyDocChecker().check_source(
    ctx.source,
    ctx.filename,
    params.get("ignore_decorators"),
    params.get("ignore_inline_noqa", False),
):
ddnomad commented 1 year ago

Any updates on this one?

monasticus commented 1 year ago

When this fix is going to be published?