You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm thinking about mandatory tests covering new / modified features - I like your idea about measuring coverage. Although I don't think we should aim for 100%, but it'll be quite nice to increase coverage with each PR.
You right, expecting 100% for any code metrics (even code coverage) must not be a goal in itself and contributions that make it very slightly lower are not problematic
We should inform contributors that an entry in https://github.com/k-bx/python-semver/blob/master/CHANGELOG should be added when submitting a PR.
Changelog entries, having both issue number and PR number, It's a good way to encourage them to first open an issue describing the problem where discussion can take place and only after this, submit a pull request.
I'm not sure if this requirement would be useful. For example, I haven't thought about that in my PRs. IMHO, changelog entries should be separate from features.
Shouldn't this be the task of the "release manager" (=the person who creates the release)? That person maybe has a better overview and can guarantee also some consistency.
Activity
ppkt commentedon May 15, 2018
I'm thinking about mandatory tests covering new / modified features - I like your idea about measuring coverage. Although I don't think we should aim for 100%, but it'll be quite nice to increase coverage with each PR.
s-celles commentedon May 16, 2018
https://coverage.readthedocs.io/en/coverage-4.5.1/ can help
Online services such as
https://coveralls.io/ or https://codecov.io/ also
https://landscape.io/ have nice code metrics
You right, expecting 100% for any code metrics (even code coverage) must not be a goal in itself and contributions that make it very slightly lower are not problematic
s-celles commentedon May 16, 2018
We should inform contributors that an entry in https://github.com/k-bx/python-semver/blob/master/CHANGELOG should be added when submitting a PR.
Changelog entries, having both issue number and PR number, It's a good way to encourage them to first open an issue describing the problem where discussion can take place and only after this, submit a pull request.
tomschr commentedon Sep 30, 2019
I'm not sure if this requirement would be useful. For example, I haven't thought about that in my PRs. IMHO, changelog entries should be separate from features.
Shouldn't this be the task of the "release manager" (=the person who creates the release)? That person maybe has a better overview and can guarantee also some consistency.
Fix python-semver#85: Improve contribution section
Fix python-semver#85: Improve contribution section
Fix python-semver#85: Improve contribution section
Fix python-semver#85: Improve contribution section
Fix #85: Improve contribution section (#147)