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

Lint model/revenus #1139

Merged
merged 3 commits into from
Oct 4, 2018
Merged

Lint model/revenus #1139

merged 3 commits into from
Oct 4, 2018

Conversation

bonjourmauko
Copy link
Member

@bonjourmauko bonjourmauko commented Oct 3, 2018

Relates to #1057
Relates to #1060
Child of #372


  • Amélioration technique
  • Zones impactées : openfisca_france/model/revenus/**/*.
  • Détails :
    • Corrige et uniformise le style des fichiers

Quelques conseils à prendre en compte :

@bonjourmauko bonjourmauko requested a review from a team October 3, 2018 09:02
@bonjourmauko bonjourmauko force-pushed the auto-lint-files branch 2 times, most recently from 653dcb3 to 884525e Compare October 3, 2018 09:10
@fpagnoux fpagnoux changed the title Linte openfisca_france/model/revenus/**/* Lint openfisca_france/model/revenus/**/* Oct 3, 2018
@fpagnoux fpagnoux changed the title Lint openfisca_france/model/revenus/**/* Lintopenfisca_france/model/revenus/**/* Oct 3, 2018
setup.py Outdated
'flake8 == 3.4.1',
'flake8 >= 3.5.0, < 3.6.0',
'autopep8 >= 1.4.0, < 1.5.0',
'pycodestyle < 2.4.0',
Copy link
Member

Choose a reason for hiding this comment

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

pycodestyle est déjà une dépendance de flake8, pourquoi préciser la version explicitement, alors que l'on ne l'utilise pas directement?

Copy link
Member Author

Choose a reason for hiding this comment

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

Parce que si t'installes fait :

pip install pycodestyle 

et après

make install

la version ne sera pas downgradée. Et flake8 est incompatible avec > 2.5.0

@bonjourmauko bonjourmauko force-pushed the auto-lint-files branch 2 times, most recently from afcf61d to 93422ea Compare October 4, 2018 15:02
@bonjourmauko bonjourmauko assigned Morendil and bonjourmauko and unassigned Morendil Oct 4, 2018
@bonjourmauko bonjourmauko changed the title Lintopenfisca_france/model/revenus/**/* Lint openfisca_france/model/revenus/**/* Oct 4, 2018
@bonjourmauko bonjourmauko merged commit c16f545 into master Oct 4, 2018
@bonjourmauko bonjourmauko deleted the auto-lint-files branch October 4, 2018 22:42
@bonjourmauko bonjourmauko changed the title Lint openfisca_france/model/revenus/**/* Lint model/revenus Oct 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants