Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Xavier/flake8 #705

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open

Xavier/flake8 #705

wants to merge 9 commits into from

Conversation

XavierDELPIERRE
Copy link

Mise à la conformité vers flake8 et ajout d'un fichier de configuration .flake8 pour ignorer E501 (longueur de ligne) ,W503 (Opérateur en début de ligne)

Aucun comportement ne devrait être modifié

Copy link
Member

@jilljenn jilljenn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@@ -1,3 +1,5 @@
from mangaki.celery import app as celery_app

default_app_config = 'mangaki.apps.MangakiConfig'

__all__ = ["celery_app", ]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Est-ce qu'on avait besoin de ça @RaitoBezarius ?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah oui il semblerait que oui mais c'est étonnant que ce soit flake8 qui le remarque.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

flake8 remarque que une librairie a été importé sans être utilisé, ici dans un init donc j'ai regardé comment importer une librairie dynamiquement après il reste quelques infractions pour flake8 mais là ça risquerait de toucher à du code que je connais pas sans en connaitre les conséquences.

@jilljenn
Copy link
Member

@RaitoBezarius Do you understand why we don't have CircleCI here?

@XavierDELPIERRE
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants