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

adding readme section about style guides #1391

Merged
merged 2 commits into from
Jun 24, 2019
Merged

adding readme section about style guides #1391

merged 2 commits into from
Jun 24, 2019

Conversation

lbergelson
Copy link
Member

Adding a statement about code style to the readme.

@codecov-io
Copy link

codecov-io commented Jun 21, 2019

Codecov Report

Merging #1391 into master will increase coverage by 0.212%.
The diff coverage is n/a.

@@               Coverage Diff               @@
##              master     #1391       +/-   ##
===============================================
+ Coverage     68.017%   68.229%   +0.212%     
- Complexity      8361      8654      +293     
===============================================
  Files            571       571               
  Lines          33877     34424      +547     
  Branches        5662      5872      +210     
===============================================
+ Hits           23042     23487      +445     
- Misses          8645      8714       +69     
- Partials        2190      2223       +33
Impacted Files Coverage Δ Complexity Δ
...main/java/htsjdk/variant/vcf/AbstractVCFCodec.java 76.218% <0%> (+0.573%) 100% <0%> (+2%) ⬆️
...dk/variant/variantcontext/GenotypeLikelihoods.java 85.827% <0%> (+0.856%) 92% <0%> (+18%) ⬆️
...va/htsjdk/tribble/TribbleIndexedFeatureReader.java 71.978% <0%> (+1.648%) 26% <0%> (ø) ⬇️
.../htsjdk/variant/variantcontext/VariantContext.java 80.545% <0%> (+2.831%) 443% <0%> (+197%) ⬆️
...n/java/htsjdk/variant/variantcontext/Genotype.java 62.917% <0%> (+3.881%) 125% <0%> (+45%) ⬆️
...java/htsjdk/variant/variantcontext/CommonInfo.java 53.939% <0%> (+6.076%) 68% <0%> (+21%) ⬆️
src/main/java/htsjdk/variant/vcf/VCFUtils.java 50.532% <0%> (+6.087%) 26% <0%> (+9%) ⬆️
...htsjdk/samtools/util/nio/DeleteOnExitPathHook.java 89.474% <0%> (+10.526%) 4% <0%> (+1%) ⬆️

README.md Outdated
@@ -88,6 +88,10 @@ To create a project in IntelliJ IDE for htsjdk do the following:

From time to time if dependencies change in htsjdk you may need to refresh the project from the `View -> Gradle` menu.

### Code style
Style guides files are included for Intellij and Eclipse. These are a variation of the [Google Java Style](https://google.github.io/styleguide/javaguide.html) with 4 space indentation.
This style is suggested for new code but not rigidly checked. We allow for contributors to deviate from the style when it improves clarity or to match surrounding code. Existing code does not necessarily conform to this and does not need to be modified to do so.
Copy link
Contributor

Choose a reason for hiding this comment

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

Existing code does not necessarily conform to this and does not need to be modified to do so.

How about

Existing code does not necessarily conform to this and does not need to be modified to do so, but users are encouraged to correct the formatting of code that they modify.

Copy link
Member Author

Choose a reason for hiding this comment

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

👍

@lbergelson lbergelson merged commit ea1db70 into master Jun 24, 2019
@lbergelson lbergelson deleted the lb_readme_style branch June 24, 2019 20:04
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.

3 participants