Skip to content

refactor: Introduce _read_list_files_in_directory() helper#92

Closed
bdrung wants to merge 1 commit intocanonical:mainfrom
bdrung:read-list-files
Closed

refactor: Introduce _read_list_files_in_directory() helper#92
bdrung wants to merge 1 commit intocanonical:mainfrom
bdrung:read-list-files

Conversation

@bdrung
Copy link
Member

@bdrung bdrung commented Jan 23, 2023

Avoid code duplication in Report.check_ignored by factoring out the list files reading into _read_list_files_in_directory.

@bdrung bdrung requested a review from schopin-pro January 23, 2023 12:50
@codecov
Copy link

codecov bot commented Jan 23, 2023

Codecov Report

Merging #92 (619c885) into main (b95e189) will increase coverage by 0.01%.
The diff coverage is 94.73%.

@@            Coverage Diff             @@
##             main      #92      +/-   ##
==========================================
+ Coverage   80.75%   80.76%   +0.01%     
==========================================
  Files          84       84              
  Lines       17742    17736       -6     
==========================================
- Hits        14328    14325       -3     
+ Misses       3414     3411       -3     
Impacted Files Coverage Δ
apport/report.py 83.83% <94.73%> (+0.20%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Avoid code duplication in `Report.check_ignored` by factoring out the
list files reading into `_read_list_files_in_directory`.

Signed-off-by: Benjamin Drung <[email protected]>
@schopin-pro
Copy link
Contributor

Closing as this was already merged as part of #58

@bdrung bdrung deleted the read-list-files branch January 27, 2023 17:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants