Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve ignore when walking files #2194

Merged
merged 1 commit into from Sep 8, 2020
Merged

Improve ignore when walking files #2194

merged 1 commit into from Sep 8, 2020

Conversation

pombredanne
Copy link
Member

This is a small optimization to avoid making function calls when we
do not ignore anything.

Signed-off-by: Philippe Ombredanne pombredanne@nexb.com

This is a small optimization to avoid making function calls when we
do not ignore anything.

Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
@codecov
Copy link

codecov bot commented Sep 1, 2020

Codecov Report

Merging #2194 into develop will decrease coverage by 0.01%.
The diff coverage is 71.42%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #2194      +/-   ##
===========================================
- Coverage    78.62%   78.60%   -0.02%     
===========================================
  Files          131      131              
  Lines        16809    16809              
===========================================
- Hits         13216    13213       -3     
- Misses        3593     3596       +3     
Impacted Files Coverage Δ
src/commoncode/fileutils.py 83.12% <71.42%> (+0.30%) ⬆️
src/packagedcode/build.py 74.44% <0.00%> (-5.56%) ⬇️
src/scancode/api.py 94.90% <0.00%> (ø)
src/licensedcode/match.py 78.55% <0.00%> (+0.12%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b564c32...3619937. Read the comment docs.

@pombredanne pombredanne merged commit 3d98ee6 into develop Sep 8, 2020
@pombredanne pombredanne deleted the improve-ignore branch September 24, 2020 08:19
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.

None yet

1 participant