pycodestyle was archived and suggested switching to ruff, which integrates various linters. This PR removes pycodestlye, pydocstyle, and pylint and adds ruff in github action workflow. New lint errors in existing python files are also fixed.
Note: We could selectively disable some unnecessarily strict lint rules as we further develop this project. To disable lint rules for all python files, add corresponding codes to ignore under [tool.ruff.lint] in pyproject.toml. To disable lint rules for test files only, add corresponding codes to "**/test/**/*.py" under [tool.ruff.lint.extend-per-file-ignores].
pycodestyle was archived and suggested switching to ruff, which integrates various linters. This PR removes
pycodestlye
,pydocstyle
, andpylint
and addsruff
in github action workflow. New lint errors in existing python files are also fixed.Note: We could selectively disable some unnecessarily strict lint rules as we further develop this project. To disable lint rules for all python files, add corresponding codes to
ignore
under[tool.ruff.lint]
inpyproject.toml
. To disable lint rules for test files only, add corresponding codes to"**/test/**/*.py"
under[tool.ruff.lint.extend-per-file-ignores]
.