arrowhead-f / arrowhead-f/client-library-python
fix flak8 flagged errors
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 5
- Forks
- 12
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Run `flake8 --ignore=E501,E126,E127 arrowhead_client/ examples/` as shown in the GitHub Actions failure. Inspect the reported imports and spacing in `arrowhead_client/client/client_async.py`, `client_core.py`, `client_sync.py`, and `arrowhead_client/constants.py`. Done means the command completes without the listed F401 and E302 errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- tooling
- Issue type
- Refactor
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 48/100