Skip to content

Commit

Permalink
Added underscore to ignore new pydocstyle item (#428)
Browse files Browse the repository at this point in the history
* Added underscore to ignore new item

Signed-off-by: Crola1702 <cristobal.arroyo@ekumenlabs.com>
  • Loading branch information
Crola1702 committed Jan 3, 2023
1 parent 898bfbf commit ae431ed
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ament_pep257/ament_pep257/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,8 @@ def generate_pep257_report(paths, excludes, ignore, select, convention, add_igno
report = []

files_dict = {}
for filename, checked_codes, ignore_decorators in files_to_check:
# Unpack 3 values for pydocstyle <= 6.1.1 and 4 values for pydocstyle >= 6.2.0
for filename, checked_codes, ignore_decorators, *_ in files_to_check:
if _filename_in_excludes(filename, excludes):
continue
files_dict[filename] = {
Expand Down

0 comments on commit ae431ed

Please sign in to comment.