8000 bump pydocstyle · python-lsp/python-lsp-server@97e53d4 · GitHub
[go: up one dir, main page]

Skip to content

Commit 97e53d4

Browse files
committed
bump pydocstyle
1 parent d28ce21 commit 97e53d4

File tree

2 files changed

+14
-4
lines changed

2 files changed

+14
-4
lines changed

pylsp/plugins/pydocstyle_lint.py

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,19 @@ def pylsp_lint(config, workspace, document):
6666

6767
# Will only yield a single filename, the document path
6868
diags = []
69-
for filename, checked_codes, ignore_decorators, property_decorators in conf.get_files_to_check():
69+
for (
70+
filename,
71+
checked_codes,
72+
ignore_decorators,
73+
property_decorators,
74+
ignore_self_only_init,
75+
) in conf.get_files_to_check():
7076
errors = pydocstyle.checker.ConventionChecker().check_source(
71-
document.source, filename, ignore_decorators=ignore_decorators, property_decorators=property_decorators
77+
document.source,
78+
filename,
79+
ignore_decorators=ignore_decorators,
80+
property_decorators=property_decorators,
81+
ignore_self_only_init=ignore_self_only_init,
7282
)
7383

7484
try:

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ all = [
3131
"flake8>=5.0.0,<7",
3232
"mccabe>=0.7.0,<0.8.0",
3333
"pycodestyle>=2.9.0,<2.11.0",
34-
"pydocstyle>=6.2.0,<6.3.0",
34+
"pydocstyle>=6.3.0,<6.4.0",
3535
"pyflakes>=2.5.0,<3.1.0",
3636
"pylint>=2.5.0,<3",
3737
"rope>1.2.0",
@@ -42,7 +42,7 @@ autopep8 = ["autopep8>=1.6.0,<1.7.0"]
4242
flake8 = ["flake8>=5.0.0,<7"]
43 5D64 43
mccabe = ["mccabe>=0.7.0,<0.8.0"]
4444
pycodestyle = ["pycodestyle>=2.9.0,<2.11.0"]
45-
pydocstyle = ["pydocstyle>=6.2.0,<6.3.0"]
45+
pydocstyle = ["pydocstyle>=6.3.0,<6.4.0"]
4646
pyflakes = ["pyflakes>=2.5.0,<3.1.0"]
4747
pylint = ["pylint>=2.5.0,<3"]
4848
rope = ["rope>1.2.0"]

0 commit comments

Comments
 (0)
0