@@ -52,7 +52,7 @@ optional-dependencies.dev = [
5252 " prek==0.3.0" ,
5353 " pydocstringformatter==0.7.5" ,
5454 " pylint[spelling]==4.0.4" ,
55- " pyproject-fmt==2.14.0 " ,
55+ " pyproject-fmt==2.14.2 " ,
5656 " pyrefly==0.51.1" ,
5757 " pyright==1.1.408" ,
5858 " pyroma==5.0.1" ,
@@ -61,6 +61,10 @@ optional-dependencies.dev = [
6161 " pytest-regressions==2.9.1" ,
6262 " ruff==0.15.0" ,
6363 " setuptools-scm==9.2.2" ,
64+ # We add shellcheck-py not only for shell scripts and shell code blocks,
65+ # but also because having it installed means that ``actionlint-py`` will
66+ # use it to lint shell commands in GitHub workflow files.
67+ " shellcheck-py==0.11.0.1" ,
6468 " shfmt-py==3.12.0.2" ,
6569 " sphinx==9.1.0" ,
6670 " sphinx-click==6.2.0" ,
@@ -75,10 +79,6 @@ optional-dependencies.dev = [
7579 " vulture==2.14" ,
7680 " vws-python-mock==2025.3.10.1" ,
7781 " vws-test-fixtures==2023.3.5" ,
78- # We add shellcheck-py not only for shell scripts and shell code blocks,
79- # but also because having it installed means that ``actionlint-py`` will
80- # use it to lint shell commands in GitHub workflow files.
81- " shellcheck-py==0.11.0.1" ,
8282 " yamlfix==1.19.1" ,
8383 " zizmor==1.22.0" ,
8484]
@@ -112,31 +112,31 @@ lint.select = [
112112 " ALL" ,
113113]
114114lint.ignore = [
115- # Allow 'assert' as we use it for tests and type narrowing.
116- " S101" ,
117- # Allow backslashes in a docstring.
118- # See https://click.palletsprojects.com/en/8.0.x/documentation/#preventing-rewrapping.
119- " D301" ,
115+ # Ruff warns that this conflicts with the formatter.
116+ " COM812" ,
120117 # Allow our chosen docstring line-style - pydocstringformatter handles formatting
121118 # but doesn't enforce D205 (blank line after summary) or D212 (summary on first line).
122119 " D205" ,
123- # Ignore 'too-many-*' errors as they seem to get in the way more than
124- # helping.
125- " PLR0913" ,
120+ " D212" ,
121+ # Allow backslashes in a docstring.
122+ # See https://click.palletsprojects.com/en/8.0.x/documentation/#preventing-rewrapping.
123+ " D301" ,
126124 # Let the formatter handle line lengths, and ignore the errors.
127125 " E501" ,
128126 # Ruff warns that this conflicts with the formatter.
129- " COM812" ,
130- # Ruff warns that this conflicts with the formatter.
131127 " ISC001" ,
132- " D212" ,
128+ # Ignore 'too-many-*' errors as they seem to get in the way more than
129+ # helping.
130+ " PLR0913" ,
131+ # Allow 'assert' as we use it for tests and type narrowing.
132+ " S101" ,
133133]
134134lint.per-file-ignores."doccmd_*.py" = [
135- # Allow asserts in docs.
136- " S101" ,
137135 # Allow our chosen docstring line-style - pydocstringformatter handles
138136 # formatting but docstrings in docs may not match this style.
139137 " D200" ,
138+ # Allow asserts in docs.
139+ " S101" ,
140140]
141141lint.per-file-ignores."tests/test_*.py" = [
142142 # Do not require tests to have a one-line summary.
0 commit comments