arrowhead-f / arrowhead-f/client-library-python

fix flak8 flagged errors

Đang mở
#43 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
5
Fork
12
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

the auto build process (3.8) in GitHub reported
Run flake8 --ignore=E501,E126,E127 arrowhead_client/ examples/
flake8 --ignore=E501,E1[2](https://github.com/arrowhead-f/client-library-python/actions/runs/8906906566/job/24518758592#step:5:2)6,E127 arrowhead_client/ examples/
shell: /usr/bin/bash -e {0}
env:
pythonLocation: /opt/hostedtoolcache/Python/[3](https://github.com/arrowhead-f/client-library-python/actions/runs/8906906566/job/24518758592#step:5:3).8.18/x64
LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.8.18/x6[4](https://github.com/arrowhead-f/client-library-python/actions/runs/8906906566/job/24518758592#step:5:4)/lib
arrowhead_client/client/client_async.py:8:1: F401 'arrowhead_client.provider.implementations.fastapi_provider.FastapiProvider' imported but unused
arrowhead_client/client/client_core.py:4:1: F401 'typing.Optional' imported but unused
arrowhead_client/client/client_sync.py:1:1: F401 'typing.Optional' imported but unused
arrowhead_client/client/client_sync.py:2:1: F401 'warnings' imported but unused
arrowhead_client/client/client_sync.py:12:1: E302 expected 2 blank lines, found 1
arrowhead_client/constants.py:[5](https://github.com/arrowhead-f/client-library-python/actions/runs/8906906566/job/24518758592#step:5:5)2:1: E302 expected 2 blank lines, found 1
Error: Process completed with exit code 1.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

Chạy `flake8 --ignore=E501,E126,E127 arrowhead_client/ examples/` như được nêu trong lỗi của GitHub Actions. Kiểm tra các import và khoảng trắng được báo cáo trong `arrowhead_client/client/client_async.py`, `client_core.py`, `client_sync.py` và `arrowhead_client/constants.py`. Hoàn thành khi lệnh chạy xong mà không có các lỗi F401 và E302 được liệt kê.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
python
Lĩnh vực
tooling
Loại issue
Tái cấu trúc
Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Đặc tả rõ ràng
Mức phù hợp với người mới
48/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.