Skip to content

Refactoring `query_http_uri`

Codacy Production / Codacy Static Code Analysis required action Jan 23, 2024 in 0s

3 new issues (0 max.) of at least minor severity.

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

Issues
======
- Added 3
           

Complexity increasing per file
==============================
- src/tribler/core/utilities/aiohttp/tests/test_aiohttp_utils.py  3
- src/tribler/core/utilities/aiohttp/aiohttp_utils.py  6
- src/tribler/core/utilities/aiohttp/exceptions.py  1
         

Complexity decreasing per file
==============================
+ src/tribler/core/utilities/utilities.py  -1
         

See the complete overview on Codacy

Annotations

Check warning on line 6 in src/tribler/core/components/version_check/versioncheck_manager.py

See this annotation in the file changed.

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

src/tribler/core/components/version_check/versioncheck_manager.py#L6

Unused ClientResponse imported from aiohttp

Check notice on line 28 in src/tribler/core/utilities/aiohttp/aiohttp_utils.py

See this annotation in the file changed.

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

src/tribler/core/utilities/aiohttp/aiohttp_utils.py#L28

Unnecessary "else" after "return", remove the "else" and de-indent the code inside it

Check notice on line 1 in src/tribler/core/utilities/aiohttp/exceptions.py

See this annotation in the file changed.

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

src/tribler/core/utilities/aiohttp/exceptions.py#L1

Similar lines in 2 files