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

fix flak8 flagged errors

Abierto
#43 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Python
Estrellas
5
Forks
12
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

Ejecuta `flake8 --ignore=E501,E126,E127 arrowhead_client/ examples/` tal como se muestra en el fallo de GitHub Actions. Inspecciona los imports y el espaciado indicados en `arrowhead_client/client/client_async.py`, `client_core.py`, `client_sync.py` y `arrowhead_client/constants.py`. Se considera terminado cuando el comando finaliza sin los errores F401 y E302 indicados.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
python
Área
tooling
Tipo de issue
Refactorización
Dificultad
2/5
Tiempo estimado
1-3 horas
Estado de actividad
Estancado
Claridad
Bien especificado
Aptitud para principiantes
48/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.