-
Notifications
You must be signed in to change notification settings - Fork 6
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
Merge from master #581
Merge from master #581
Conversation
Merge pull request #570 from iKostanOrg/master
Merge from master
Using config file /home/runner/work/codewars/codewars/.pylintrc ************* Module kyu_8.closest_elevator.closest_elevator kyu_8/closest_elevator/closest_elevator.py:24:0: C0305: Trailing newlines (trailing-newlines)
Issues to fix by upgrading dependencies: Upgrade [email protected] to [email protected] to fix ✗ Template Injection (new) [Medium Severity][https://security.snyk.io/vuln/SNYK-PYTHON-JINJA2-8548181] in [email protected] introduced by [email protected] and 2 other path(s) ✗ Improper Neutralization (new) [Medium Severity][https://security.snyk.io/vuln/SNYK-PYTHON-JINJA2-8548987] in [email protected] introduced by [email protected] and 2 other path(s)
Merge from master
90.41% (-0.39%) compared to 2f84a83
suggestion (code-quality): Convert for loop into list comprehension (list-comprehension)
Trailing newlines kyu_8/logical_calculator/ test_logical_calculator_error.py 62 self.assertEqual(str(calc_err.value), err)
Unnecessary parens after 'with' keyword kyu_8/logical_calculator/ test_logical_calculator_error.py 51 "</p>") 52 # pylint: enable=R0801 53 with (allure.step("Pass an array with invalid operator.")): 54 arr: list = [] 55 op: str = 'RO' # invalid operator
Unused print_log imported from utils.log_func kyu_8/logical_calculator/ test_logical_calculator_error.py 13 from utils.log_func import print_log
Merge pull request #575 from iKostanOrg/master
./kyu_7/complete_the_pattern_5_even_ladder/solution.py:8:1: E302 expected 2 blank lines, found 1 def pattern(n: int) -> str: ^ 1 E302 expected 2 blank lines, found 1
kyu_8/logical_calculator/test_logical_calculator_error.py:35 in public method `test_logical_calc_value_error`: D205: 1 blank line required between summary line and description (found 0) Multi-line docstrings consist of a summary line just like a one-line docstring, followed by a blank line, followed by a more elaborate description. The summary line may be used by automatic indexing tools; it is important that it fits on one line and is separated from the rest of the docstring by a blank line.
Merge from master
Merge pull request #577 from iKostanOrg/master
Merge from master
Merge pull request #579 from iKostanOrg/master
This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation. |
Reviewer's Guide by SourceryThis pull request introduces several improvements to the existing test suite by refactoring tests and adding more test cases. It also includes minor updates to documentation and code comments. Class diagram showing documentation improvementsclassDiagram
class BaseClass {
+docstring: str
}
class KyuModule {
+docstring: str
}
class TestModule {
+docstring: str
}
class FunctionModule {
+docstring: str
+improved_comments()
}
BaseClass <|-- KyuModule
KyuModule <|-- TestModule
KyuModule <|-- FunctionModule
note for KyuModule "Added/improved module docstrings"
note for FunctionModule "Enhanced function documentation"
note for TestModule "Updated test documentation"
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
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.
Hey @ikostan - I've reviewed your changes and they look great!
Here's what I looked at during the review
- 🟡 General issues: 1 issue found
- 🟢 Security: all looks good
- 🟢 Testing: all looks good
- 🟢 Complexity: all looks good
- 🟢 Documentation: all looks good
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
Summary by Sourcery
Add solution for "Closest elevator" kata and unit tests.
New Features:
Tests: