ansible-dev-environment icon indicating copy to clipboard operation
ansible-dev-environment copied to clipboard

Move pydoclint to flake8

Open cidrblock opened this issue 1 year ago • 0 comments

Unfortunately it appears the only way to get pydoclint feedback within VsCode is to use it as a flake8 plugin.

  • Move the pydoclint config to .flake8
  • Replace the pydoclint precommit config w/ flake8
  • Add the falke8 extension and cofiguration

This is only untill ruff has full doc string support

Additionally, ruff`s docstyle was set to match pydoclint which fixed 4 little issues

(it also appears ruff may implement pydoclint instead of ruff, no decision yet https://github.com/astral-sh/ruff/issues/458#issuecomment-2122773827 so I think we're headed in a good direction)

cidrblock avatar May 23 '24 01:05 cidrblock