Add governance artifacts package with validation, manifest tooling, tests, and CI workflow#64
377 new issues (0 max.) of at least severity.
Here is an overview of what got changed by this pull request:
Issues
======
- Added 377
Complexity increasing per file
==============================
- artifacts/build_manifest.py 15
- artifacts/check_all.py 14
- artifacts/manifest_utils.py 21
- artifacts/validate_artifacts.py 58
- unit_tests/test_artifacts_validation.py 47
Clones added
============
- unit_tests/test_artifacts_validation.py 17
See the complete overview on Codacy
Annotations
Check notice on line 20 in artifacts/build_manifest.py
codacy-production / Codacy Static Code Analysis
artifacts/build_manifest.py#L20
Missing function or method docstring
Check notice on line 24 in artifacts/build_manifest.py
codacy-production / Codacy Static Code Analysis
artifacts/build_manifest.py#L24
Missing function or method docstring
Check notice on line 35 in artifacts/build_manifest.py
codacy-production / Codacy Static Code Analysis
artifacts/build_manifest.py#L35
Missing function or method docstring
Check notice on line 42 in artifacts/build_manifest.py
codacy-production / Codacy Static Code Analysis
artifacts/build_manifest.py#L42
Missing function or method docstring
Check notice on line 49 in artifacts/build_manifest.py
codacy-production / Codacy Static Code Analysis
artifacts/build_manifest.py#L49
Method run_cli has 28 lines of code (limit is 20)
Check notice on line 49 in artifacts/build_manifest.py
codacy-production / Codacy Static Code Analysis
artifacts/build_manifest.py#L49
Method run_cli has a cyclomatic complexity of 8 (limit is 5)
Check notice on line 49 in artifacts/build_manifest.py
codacy-production / Codacy Static Code Analysis
artifacts/build_manifest.py#L49
Missing function or method docstring
Check warning on line 49 in artifacts/build_manifest.py
codacy-production / Codacy Static Code Analysis
artifacts/build_manifest.py#L49
Too many return statements (7/6)
Check notice on line 62 in artifacts/build_manifest.py
codacy-production / Codacy Static Code Analysis
artifacts/build_manifest.py#L62
Line too long (132/120)
Check notice on line 65 in artifacts/build_manifest.py
codacy-production / Codacy Static Code Analysis
artifacts/build_manifest.py#L65
Line too long (138/120)
Check notice on line 68 in artifacts/build_manifest.py
codacy-production / Codacy Static Code Analysis
artifacts/build_manifest.py#L68
Line too long (126/120)
Check notice on line 81 in artifacts/build_manifest.py
codacy-production / Codacy Static Code Analysis
artifacts/build_manifest.py#L81
Missing function or method docstring
Check notice on line 18 in artifacts/check_all.py
codacy-production / Codacy Static Code Analysis
artifacts/check_all.py#L18
Missing function or method docstring
Check notice on line 24 in artifacts/check_all.py
codacy-production / Codacy Static Code Analysis
artifacts/check_all.py#L24
Method run_all has 21 lines of code (limit is 20)
Check notice on line 24 in artifacts/check_all.py
codacy-production / Codacy Static Code Analysis
artifacts/check_all.py#L24
Method run_all has a cyclomatic complexity of 6 (limit is 5)
Check notice on line 24 in artifacts/check_all.py
codacy-production / Codacy Static Code Analysis
artifacts/check_all.py#L24
Missing function or method docstring
Check notice on line 25 in artifacts/check_all.py
codacy-production / Codacy Static Code Analysis
artifacts/check_all.py#L25
Import outside toplevel (pathlib.Path)
Check notice on line 29 in artifacts/check_all.py
codacy-production / Codacy Static Code Analysis
artifacts/check_all.py#L29
Line too long (124/120)
Check notice on line 51 in artifacts/check_all.py
codacy-production / Codacy Static Code Analysis
artifacts/check_all.py#L51
Method run_cli has a cyclomatic complexity of 6 (limit is 5)
Check notice on line 51 in artifacts/check_all.py
codacy-production / Codacy Static Code Analysis
artifacts/check_all.py#L51
Missing function or method docstring
Check notice on line 13 in artifacts/manifest_utils.py
codacy-production / Codacy Static Code Analysis
artifacts/manifest_utils.py#L13
Method load_manifest_targets_from_dir has 31 lines of code (limit is 20)
Check failure on line 13 in artifacts/manifest_utils.py
codacy-production / Codacy Static Code Analysis
artifacts/manifest_utils.py#L13
Method load_manifest_targets_from_dir has a cyclomatic complexity of 17 (limit is 12)
Check notice on line 13 in artifacts/manifest_utils.py
codacy-production / Codacy Static Code Analysis
artifacts/manifest_utils.py#L13
Missing function or method docstring
Check notice on line 46 in artifacts/manifest_utils.py
codacy-production / Codacy Static Code Analysis
artifacts/manifest_utils.py#L46
Missing function or method docstring
Check notice on line 47 in artifacts/manifest_utils.py
codacy-production / Codacy Static Code Analysis
artifacts/manifest_utils.py#L47
Variable name "h" doesn't conform to '[a-z_][a-z0-9_]{2,30}$' pattern