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

fix: license headers & lint & test #206

Merged
merged 1 commit into from
Jan 9, 2025
Merged

fix: license headers & lint & test #206

merged 1 commit into from
Jan 9, 2025

Conversation

yanksyoon
Copy link
Collaborator

Applicable spec: N/A

Overview

  • license header year update
  • refactor tests
  • lint fixes for tests
  • add trivy ignore

Rationale

Juju Events Changes

Module Changes

Library Changes

Checklist

Copy link
Contributor

github-actions bot commented Jan 9, 2025

Test coverage for 5c7ff6c

Name                Stmts   Miss Branch BrPart  Cover   Missing
---------------------------------------------------------------
src/actions.py         29      0      4      0   100%
src/agent.py          119      0     20      0   100%
src/auth_proxy.py      52      0      8      0   100%
src/charm.py           89      0     10      0   100%
src/cos.py             20      0      0      0   100%
src/ingress.py         16      0      4      0   100%
src/jenkins.py        377      0     50      0   100%
src/pebble.py          25      0      0      0   100%
src/state.py          109      0     16      0   100%
src/timerange.py       30      0      4      0   100%
---------------------------------------------------------------
TOTAL                 866      0    116      0   100%

Static code analysis report

Run started:2025-01-09 06:27:33.411248

Test results:
  No issues identified.

Code scanned:
  Total lines of code: 7614
  Total lines skipped (#nosec): 6
  Total potential issues skipped due to specifically being disabled (e.g., #nosec BXXX): 0

Run metrics:
  Total issues (by severity):
  	Undefined: 0
  	Low: 0
  	Medium: 0
  	High: 0
  Total issues (by confidence):
  	Undefined: 0
  	Low: 0
  	Medium: 0
  	High: 0
Files skipped (0):

@yanksyoon yanksyoon merged commit 6eef365 into main Jan 9, 2025
28 checks passed
@yanksyoon yanksyoon deleted the fix/lints branch January 9, 2025 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants