-
Notifications
You must be signed in to change notification settings - Fork 77
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
Improve quality check and contributing guide #3430
Conversation
Merci ! |
Peut-être mentionner plus explicitement que tout nouveau développement doit être couvert par des tests, et qu'une PR ne doit pas faire baisser la couverture de test pour être acceptée ? |
j'ai mis tout çà dans le fichier de doc, mais peut etre faut il etre plus insistant ou plus clair ? |
Passing run #5362 ↗︎
Details:
This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. |
Codecov ReportBase: 98.26% // Head: 98.26% // No change to project coverage 👍
Additional details and impacted files@@ Coverage Diff @@
## master #3430 +/- ##
=======================================
Coverage 98.26% 98.26%
=======================================
Files 291 291
Lines 20869 20869
=======================================
Hits 20506 20506
Misses 363 363 Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
|
||
echo "run Flake8..." | ||
|
||
dockercompose run -T --rm web flake8 geotrek |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about checking changed files only?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we don't check changed files, we check all files as actually
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice 👍
Comme suggeré par Célia, un pointeur vers la section Contribution de la doc dans le readme serait pertinent je pense.
La norme est surtout d'avoir un fichier CONTRIBUTING.md à la racine du dépôt : https://docs.github.com/fr/communities/setting-up-your-project-for-healthy-contributions/setting-guidelines-for-repository-contributors#adding-a-contributing-file Quitte à ce que celui-ci ne contienne qu'un lien vers la rubrique de contribution dans la doc officielle. OK, pour les tests, j'avais pas vu cette ligne "Unit-tests total coverage is above or at least equal with previous commits. Patch coverage is 100% on new lines.", donc en effet c'est assez clair. |
ok je vais voir pour mettre çà dans docs/CONTRIBUTING.rst pour qu'il soit à la fois dans la doc et qui remonte sur le dépot comme il faut |
Better split dev dependencies
17be266
to
6b30c63
Compare
6b30c63
to
ca05ea1
Compare
je vais le faire, mais je vais d'abord attendre que la doc soit publiée pour avoir le lien (apres le merge / release) |
docs/CONTRIBUTING.rst
file included in doc.next: