diff --git a/pyproject.toml b/pyproject.toml index 04a24f5..b2901aa 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -53,4 +53,11 @@ include = ["napalm_hpe_officeconnect*"] [tool.ruff] line-length = 100 -target-version = "py38" +target-version = "py310" + +[tool.ruff.lint] +select = ["E", "F", "I", "UP", "B"] + +[tool.ruff.lint.per-file-ignores] +# Recorded device output keeps its lines. +"tests/**" = ["E501"]