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

Added logic for parameters and supertypes lists to NewlinesRule #431

Merged
merged 10 commits into from
Oct 30, 2020

Conversation

petertrr
Copy link
Member

What's done:

  • Changed logic
  • Added tests
  • Updated code style guide

This pull request closes #420

Actions checklist

  • Implemented Rule, added Warnings
  • Added tests on checks
  • Added tests on fixers
  • Updated diktat-analysis.yml

@codecov
Copy link

codecov bot commented Oct 19, 2020

Codecov Report

Merging #431 into master will decrease coverage by 0.09%.
The diff coverage is 73.17%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #431      +/-   ##
============================================
- Coverage     81.97%   81.87%   -0.10%     
- Complexity     1464     1478      +14     
============================================
  Files            71       71              
  Lines          3689     3730      +41     
  Branches       1178     1195      +17     
============================================
+ Hits           3024     3054      +30     
- Misses          201      203       +2     
- Partials        464      473       +9     
Flag Coverage Δ Complexity Δ
#unittests 81.87% <73.17%> (-0.10%) 1478.00 <12.00> (+14.00) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ Complexity Δ
...rg/cqfn/diktat/ruleset/rules/files/NewlinesRule.kt 83.78% <73.17%> (-3.03%) 104.00 <12.00> (+14.00) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f3da291...2b6fa7a. Read the comment docs.

@petertrr petertrr requested a review from kentr0w October 22, 2020 07:46
Copy link
Member

@orchestr7 orchestr7 left a comment

Choose a reason for hiding this comment

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

lgtm

Copy link
Collaborator

@kentr0w kentr0w left a comment

Choose a reason for hiding this comment

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

Lgtm

@petertrr petertrr merged commit e273989 into master Oct 30, 2020
@petertrr petertrr deleted the feature/newlines-rule#420 branch October 30, 2020 15:24
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.

Long supertype list on the new line
3 participants