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

fix flak8 flagged errors

オープン
#43 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
5
フォーク
12
PR マージ指標
30日以内にマージされた PR はありません

説明

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.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

GitHub Actions の失敗に示されているとおり、`flake8 --ignore=E501,E126,E127 arrowhead_client/ examples/` を実行します。`arrowhead_client/client/client_async.py`、`client_core.py`、`client_sync.py`、`arrowhead_client/constants.py` にある報告された import と空白を確認します。コマンドが一覧にある F401 および E302 エラーなしで完了すれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
python
領域
tooling
issue の種類
リファクタリング
難易度
2/5
見積もり時間
1〜3時間
活発さ
停滞
明瞭さ
明確に書かれている
初心者へのやさしさ
48/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。