Skip to content

Add P2P file sharing algorithm in Python #15144

Add P2P file sharing algorithm in Python

Add P2P file sharing algorithm in Python #15144

Triggered via pull request October 10, 2025 05:58
Status Failure
Total duration 15s
Artifacts

ruff.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Ruff (E501): peer2peer_file_sharing/peer.py#L5
peer2peer_file_sharing/peer.py:5:89: E501 Line too long (101 > 88)
Ruff (INP001): peer2peer_file_sharing/peer.py#L1
peer2peer_file_sharing/peer.py:1:1: INP001 File `peer2peer_file_sharing/peer.py` is part of an implicit namespace package. Add an `__init__.py`.
Ruff (BLE001): peer2peer_file_sharing/crypto/rsa_crypto.py#L72
peer2peer_file_sharing/crypto/rsa_crypto.py:72:12: BLE001 Do not catch blind exception: `Exception`
Ruff (I001): peer2peer_file_sharing/crypto/rsa_crypto.py#L1
peer2peer_file_sharing/crypto/rsa_crypto.py:1:1: I001 Import block is un-sorted or un-formatted
Ruff (INP001): peer2peer_file_sharing/crypto/rsa_crypto.py#L1
peer2peer_file_sharing/crypto/rsa_crypto.py:1:1: INP001 File `peer2peer_file_sharing/crypto/rsa_crypto.py` is part of an implicit namespace package. Add an `__init__.py`.
Ruff (EM102): peer2peer_file_sharing/crypto/aes_crypto.py#L45
peer2peer_file_sharing/crypto/aes_crypto.py:45:25: EM102 Exception must not use an f-string literal, assign to variable first
Ruff (BLE001): peer2peer_file_sharing/crypto/aes_crypto.py#L44
peer2peer_file_sharing/crypto/aes_crypto.py:44:12: BLE001 Do not catch blind exception: `Exception`
Ruff (BLE001): peer2peer_file_sharing/crypto/aes_crypto.py#L34
peer2peer_file_sharing/crypto/aes_crypto.py:34:16: BLE001 Do not catch blind exception: `Exception`
Ruff (I001): peer2peer_file_sharing/crypto/aes_crypto.py#L1
peer2peer_file_sharing/crypto/aes_crypto.py:1:1: I001 Import block is un-sorted or un-formatted
Ruff (INP001): peer2peer_file_sharing/crypto/aes_crypto.py#L1
peer2peer_file_sharing/crypto/aes_crypto.py:1:1: INP001 File `peer2peer_file_sharing/crypto/aes_crypto.py` is part of an implicit namespace package. Add an `__init__.py`.