mendevi.testing.coding_styleΒΆ

Executes analyser of code quality.

Functions

run_ruff(args)

Run Ruff with given arguments, return True if no lint errors.

test_linting()

Run Ruff (replaces mccabe, pycodestyle, pydocstyle, pyflakes, pylint).

Details

mendevi.testing.coding_style.run_ruff(args: list[str]) bool[source]

Run Ruff with given arguments, return True if no lint errors.

mendevi.testing.coding_style.test_linting() None[source]

Run Ruff (replaces mccabe, pycodestyle, pydocstyle, pyflakes, pylint).