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

Fix bug in PackageNaming for kotlin scripts #863

Merged
merged 4 commits into from
Apr 29, 2021

Conversation

petertrr
Copy link
Member

What's done:

  • Changed logic
  • Updated smoke tests

This pull request closes #861

### What's done:
* Changed logic
* Updated smoke tests
@petertrr petertrr requested a review from orchestr7 April 29, 2021 10:03
### What's done:
* Changed logic
* Updated smoke tests
@codecov
Copy link

codecov bot commented Apr 29, 2021

Codecov Report

Merging #863 (e0c829a) into master (4c9ebf8) will decrease coverage by 0.01%.
The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #863      +/-   ##
============================================
- Coverage     81.07%   81.06%   -0.02%     
+ Complexity     2287     2286       -1     
============================================
  Files           100      100              
  Lines          5855     5857       +2     
  Branches       1813     1814       +1     
============================================
+ Hits           4747     4748       +1     
  Misses          286      286              
- Partials        822      823       +1     
Flag Coverage Δ Complexity Δ
unittests 81.06% <100.00%> (-0.02%) 2286.00 <0.00> (-1.00)

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

Impacted Files Coverage Δ Complexity Δ
...qfn/diktat/ruleset/rules/chapter1/PackageNaming.kt 91.11% <100.00%> (-0.94%) 35.00 <0.00> (-1.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 4c9ebf8...e0c829a. Read the comment docs.

@@ -0,0 +1,19 @@

Copy link
Member

Choose a reason for hiding this comment

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

discussed, need to add test for kts with package name

Copy link
Member Author

Choose a reason for hiding this comment

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

Added

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, sorry for this bug
image

@petertrr petertrr merged commit 4c82083 into master Apr 29, 2021
@petertrr petertrr deleted the bugfix/package-name-in-scripts#861 branch April 29, 2021 12:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants