Skip to content

refactor: extract content ID logic to reduce complexity

f93c25b
Select commit
Loading
Failed to load commit list.
Open

🧹 Refactor build_ncch_args_contentid to reduce nesting #240

refactor: extract content ID logic to reduce complexity
f93c25b
Select commit
Loading
Failed to load commit list.
Codacy Production / Codacy Static Code Analysis required action Mar 17, 2026 in 0s

4 new issues (0 max.) of at least severity.

Codacy Here is an overview of what got changed by this pull request:

Issues
======
- Added 4
           

Complexity increasing per file
==============================
- Cachyos/Scripts/WIP/emu/test_decryptor_contentid.py  5
         

Clones added
============
- Cachyos/Scripts/WIP/emu/test_decryptor_contentid.py  1
         

See the complete overview on Codacy

Annotations

Check warning on line 15 in Cachyos/Scripts/WIP/emu/test_decryptor_contentid.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

Cachyos/Scripts/WIP/emu/test_decryptor_contentid.py#L15

Item "None" of "Loader | None" has no attribute "exec_module". (union-attr)

Check notice on line 26 in Cachyos/Scripts/WIP/emu/test_decryptor_contentid.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

Cachyos/Scripts/WIP/emu/test_decryptor_contentid.py#L26

Method name "test_extract_content_ids_no_file" doesn't conform to '[a-z_][a-z0-9_]{2,30}$' pattern

Check notice on line 29 in Cachyos/Scripts/WIP/emu/test_decryptor_contentid.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

Cachyos/Scripts/WIP/emu/test_decryptor_contentid.py#L29

Method name "test_extract_content_ids_valid_file" doesn't conform to '[a-z_][a-z0-9_]{2,30}$' pattern

Check notice on line 66 in Cachyos/Scripts/WIP/emu/test_decryptor_contentid.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

Cachyos/Scripts/WIP/emu/test_decryptor_contentid.py#L66

expected 2 blank lines after class or function definition, found 1 (E305)