-
Notifications
You must be signed in to change notification settings - Fork 39
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
Kotlin version #730
Kotlin version #730
Conversation
### What's done: Added parameter
Codecov Report
@@ Coverage Diff @@
## master #730 +/- ##
============================================
- Coverage 79.97% 79.96% -0.02%
Complexity 1967 1967
============================================
Files 94 94
Lines 5054 5066 +12
Branches 1620 1623 +3
============================================
+ Hits 4042 4051 +9
+ Misses 245 241 -4
- Partials 767 774 +7
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
diktat-common/src/main/kotlin/org/cqfn/diktat/common/config/rules/RulesConfigReader.kt
Outdated
Show resolved
Hide resolved
### What's done: Added default value
### What's done: Fixed after review
diktat-common/src/main/kotlin/org/cqfn/diktat/common/config/rules/RulesConfigReader.kt
Outdated
Show resolved
Hide resolved
### What's done: Fixed after review
### What's done: Fixed after review
diktat-common/src/main/kotlin/org/cqfn/diktat/common/config/rules/RulesConfigReader.kt
Outdated
Show resolved
Hide resolved
### What's done: Fixed after review
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.
Looks good; we have merged rule about inline classes into master, please try to use your mechanism to enable that rules for kotlin >= 1.3 and add corresponding tests.
### What's done: Fixed after review
### What's done: Fixed according our code-style
### What's done: Fixed according our code-style
# Conflicts: # diktat-analysis.yml # diktat-common/src/main/kotlin/org/cqfn/diktat/common/config/rules/RulesConfigReader.kt # diktat-rules/src/main/resources/diktat-analysis-huawei.yml # diktat-rules/src/main/resources/diktat-analysis.yml
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 should also check that we read value from config correctly, in some test where we read yaml. Smoke test or RulesConfigYamlTest.
...at-rules/src/main/kotlin/org/cqfn/diktat/ruleset/rules/chapter6/classes/InlineClassesRule.kt
Outdated
Show resolved
Hide resolved
...at-rules/src/main/kotlin/org/cqfn/diktat/ruleset/rules/chapter6/classes/InlineClassesRule.kt
Outdated
Show resolved
Hide resolved
### What's done: Fixed after review, added more tests
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.
almost there
diktat-common/src/main/kotlin/org/cqfn/diktat/common/config/rules/RulesConfigReader.kt
Show resolved
Hide resolved
diktat-common/src/main/kotlin/org/cqfn/diktat/common/config/rules/RulesConfigReader.kt
Outdated
Show resolved
Hide resolved
### What's done: Fixed after review
diktat-rules/src/test/kotlin/org/cqfn/diktat/ruleset/utils/RulesConfigYamlTest.kt
Outdated
Show resolved
Hide resolved
diktat-rules/src/test/kotlin/org/cqfn/diktat/ruleset/utils/RulesConfigYamlTest.kt
Outdated
Show resolved
Hide resolved
# Conflicts: # diktat-rules/src/main/kotlin/org/cqfn/diktat/ruleset/constants/Warnings.kt
### What's done: Fixed bugs accordign our code-style
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.
Please add tests to ConfigReaderTest
and it'll be done.
diktat-rules/src/test/kotlin/org/cqfn/diktat/ruleset/utils/RulesConfigYamlTest.kt
Outdated
Show resolved
Hide resolved
diktat-rules/src/test/kotlin/org/cqfn/diktat/ruleset/utils/RulesConfigYamlTest.kt
Show resolved
Hide resolved
diktat-common/src/main/kotlin/org/cqfn/diktat/common/config/rules/RulesConfigReader.kt
Outdated
Show resolved
Hide resolved
diktat-rules/src/test/kotlin/org/cqfn/diktat/ruleset/utils/RulesConfigYamlTest.kt
Show resolved
Hide resolved
### What's done: Fixed after review
### What's done: Fixed according our code-style
What's done:
Added parameter
closes #728