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

fix flak8 flagged errors

Ouverte
#43 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Python
Étoiles
5
Forks
12
Métriques de merge des PR
Aucune PR mergée en 30 j

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.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

Exécutez `flake8 --ignore=E501,E126,E127 arrowhead_client/ examples/` comme indiqué dans l’échec de GitHub Actions. Inspectez les imports et l’espacement signalés dans `arrowhead_client/client/client_async.py`, `client_core.py`, `client_sync.py` et `arrowhead_client/constants.py`. C’est terminé lorsque la commande s’exécute sans les erreurs F401 et E302 listées.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
python
Domaine
tooling
Type d'issue
Refactorisation
Difficulté
2/5
Temps estimé
1-3 heures
Activité
À l'abandon
Clarté
Clairement spécifiée
Accessibilité débutants
48/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.