Skip to content

Commit 4cada00

Browse files
committed
chore: Adjust linting rules
Add rules to detect lines exceeding max length, missing docstrings, etc. See diff and ruff rules for more details.
1 parent d6db7e5 commit 4cada00

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

  • src/artifacts-helper/codespaces_artifacts_helper_keyring

src/artifacts-helper/codespaces_artifacts_helper_keyring/pyproject.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,12 @@ line-length = 88
5252
indent-width = 4
5353

5454
[tool.ruff.lint]
55-
extend-select = ["E4", "E7", "E9", "F", "B", "I", "W", "Q"]
55+
extend-select = ["B", "C4", "D", "E", "F", "I", "W", "Q"]
5656

5757
[tool.ruff.lint.pydocstyle]
5858
convention = "google"
5959

6060
[tool.ruff.lint.per-file-ignores]
6161
"__init__.py" = ["F401"]
62-
"**/{tests,docs,tools}/*" = ["E402"]
62+
"noxfile.py" = ["D1"]
63+
"**/{tests,docs,tools}/*" = ["D1", "E402"]

0 commit comments

Comments
 (0)