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

linters: don't list dynamic linker as missing library #3989

Merged

Conversation

cmatsuoka
Copy link
Contributor

When creating library linker warnings, don't consider the dynamic linker when checking for missing libraries.

Signed-off-by: Claudio Matsuoka claudio.matsuoka@canonical.com

  • Have you followed the guidelines for contributing?
  • Have you signed the CLA?
  • Have you successfully run make lint?
  • Have you successfully run pytest tests/unit?

When creating library linker warnings, don't consider the dynamic
linker when checking for missing libraries.

Signed-off-by: Claudio Matsuoka <claudio.matsuoka@canonical.com>
snapcraft/linters/library_linter.py Outdated Show resolved Hide resolved
@mr-cal mr-cal enabled auto-merge (squash) November 23, 2022 17:46
@codecov-commenter
Copy link

Codecov Report

Merging #3989 (b830f63) into hotfix/7.2 (06ca484) will decrease coverage by 0.05%.
The diff coverage is 70.00%.

❗ Current head b830f63 differs from pull request most recent head fe37065. Consider uploading reports for the commit fe37065 to get more accurate results

@@              Coverage Diff               @@
##           hotfix/7.2    #3989      +/-   ##
==============================================
- Coverage       91.04%   90.99%   -0.06%     
==============================================
  Files              56       56              
  Lines            4078     4088      +10     
==============================================
+ Hits             3713     3720       +7     
- Misses            365      368       +3     
Impacted Files Coverage Δ
snapcraft/linters/library_linter.py 87.23% <70.00%> (-4.66%) ⬇️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@mr-cal mr-cal merged commit 97ce08c into canonical:hotfix/7.2 Nov 23, 2022
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.

3 participants