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

refactor: Fix CodeQL errors and warnings #252

Merged
merged 39 commits into from
Feb 20, 2024

fix(cli): Add missing `add_argument` method to RootConfigParsingManager

389789c
Select commit
Loading
Failed to load commit list.
Merged

refactor: Fix CodeQL errors and warnings #252

fix(cli): Add missing `add_argument` method to RootConfigParsingManager
389789c
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch succeeded Feb 20, 2024 in 1s

57.54% of diff hit (target 66.67%)

View this Pull Request on Codecov

57.54% of diff hit (target 66.67%)

Annotations

Check warning on line 418 in src/powerapi/cli/generator.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/powerapi/cli/generator.py#L418

Added line #L418 was not covered by tests

Check warning on line 51 in src/powerapi/cli/parsing_manager.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/powerapi/cli/parsing_manager.py#L51

Added line #L51 was not covered by tests

Check warning on line 268 in src/powerapi/database/csvdb.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/powerapi/database/csvdb.py#L268

Added line #L268 was not covered by tests

Check warning on line 272 in src/powerapi/database/csvdb.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/powerapi/database/csvdb.py#L272

Added line #L272 was not covered by tests

Check warning on line 275 in src/powerapi/database/csvdb.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/powerapi/database/csvdb.py#L275

Added line #L275 was not covered by tests

Check warning on line 278 in src/powerapi/database/csvdb.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/powerapi/database/csvdb.py#L277-L278

Added lines #L277 - L278 were not covered by tests

Check warning on line 285 in src/powerapi/database/csvdb.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/powerapi/database/csvdb.py#L281-L285

Added lines #L281 - L285 were not covered by tests

Check warning on line 288 in src/powerapi/database/csvdb.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/powerapi/database/csvdb.py#L288

Added line #L288 was not covered by tests

Check warning on line 292 in src/powerapi/database/csvdb.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/powerapi/database/csvdb.py#L290-L292

Added lines #L290 - L292 were not covered by tests

Check warning on line 295 in src/powerapi/database/csvdb.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/powerapi/database/csvdb.py#L294-L295

Added lines #L294 - L295 were not covered by tests

Check warning on line 75 in src/powerapi/database/file_db.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/powerapi/database/file_db.py#L74-L75

Added lines #L74 - L75 were not covered by tests

Check warning on line 78 in src/powerapi/database/file_db.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/powerapi/database/file_db.py#L77-L78

Added lines #L77 - L78 were not covered by tests

Check warning on line 82 in src/powerapi/database/file_db.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/powerapi/database/file_db.py#L80-L82

Added lines #L80 - L82 were not covered by tests

Check warning on line 84 in src/powerapi/database/file_db.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/powerapi/database/file_db.py#L84

Added line #L84 was not covered by tests

Check warning on line 86 in src/powerapi/database/file_db.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/powerapi/database/file_db.py#L86

Added line #L86 was not covered by tests

Check warning on line 138 in src/powerapi/database/file_db.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/powerapi/database/file_db.py#L137-L138

Added lines #L137 - L138 were not covered by tests

Check warning on line 88 in src/powerapi/database/virtiofs_db.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/powerapi/database/virtiofs_db.py#L88

Added line #L88 was not covered by tests

Check warning on line 93 in src/powerapi/database/virtiofs_db.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/powerapi/database/virtiofs_db.py#L92-L93

Added lines #L92 - L93 were not covered by tests

Check warning on line 66 in src/powerapi/dispatch_rule/procfs_dispatch_rule.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/powerapi/dispatch_rule/procfs_dispatch_rule.py#L66

Added line #L66 was not covered by tests

Check warning on line 71 in src/powerapi/dispatch_rule/procfs_dispatch_rule.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/powerapi/dispatch_rule/procfs_dispatch_rule.py#L71

Added line #L71 was not covered by tests

Check warning on line 43 in src/powerapi/dispatch_rule/simple_dispatch_rule.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/powerapi/dispatch_rule/simple_dispatch_rule.py#L43

Added line #L43 was not covered by tests

Check warning on line 67 in src/powerapi/processor/pre/libvirt/libvirt_pre_processor_handlers.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/powerapi/processor/pre/libvirt/libvirt_pre_processor_handlers.py#L67

Added line #L67 was not covered by tests

Check warning on line 82 in src/powerapi/pusher/simple/simple_pusher_handlers.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/powerapi/pusher/simple/simple_pusher_handlers.py#L82

Added line #L82 was not covered by tests

Check warning on line 62 in src/powerapi/report/control_report.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/powerapi/report/control_report.py#L61-L62

Added lines #L61 - L62 were not covered by tests

Check warning on line 64 in src/powerapi/report/control_report.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/powerapi/report/control_report.py#L64

Added line #L64 was not covered by tests