Conversation
|
Sider has detected 1 warning on analyzing the commit adb1935.
If the errors persist even after retrying, the following actions may resolve them:
If you still have problems, feel free to ask us via chat. 💬 You can turn off such notifications if unnecessary. |
| @@ -0,0 +1,25 @@ | |||
| def matrix_2_2_input(): | |||
| cmd = int(input(''' | |||
There was a problem hiding this comment.
[Pylint] Bad indentation. Found 1 spaces, expected 4 (view)
Details
| Rule | Severity | Message-id | Module | Obj |
|---|---|---|---|---|
bad-indentation |
warning |
W0311 | matrix | - |
You can close this issue if no need to fix it. Learn more.
| cmd = int(input(''' | ||
| Enter 1 for 2 X 2 Matrix | ||
| >>> ''')) | ||
| if cmd == 1: |
There was a problem hiding this comment.
[Pylint] Bad indentation. Found 1 spaces, expected 4 (view)
Details
| Rule | Severity | Message-id | Module | Obj |
|---|---|---|---|---|
bad-indentation |
warning |
W0311 | matrix | - |
You can close this issue if no need to fix it. Learn more.
| Enter 1 for 2 X 2 Matrix | ||
| >>> ''')) | ||
| if cmd == 1: | ||
| n11 = float(input("Enter the element of the 1st column and 1st row of the 1st matrix: ")) |
There was a problem hiding this comment.
[Pylint] Bad indentation. Found 2 spaces, expected 8 (view)
Details
| Rule | Severity | Message-id | Module | Obj |
|---|---|---|---|---|
bad-indentation |
warning |
W0311 | matrix | - |
You can close this issue if no need to fix it. Learn more.
| >>> ''')) | ||
| if cmd == 1: | ||
| n11 = float(input("Enter the element of the 1st column and 1st row of the 1st matrix: ")) | ||
| n12 = float(input("Enter the element of the 2nd column and the 1st row of the 1st matrix: ")) |
There was a problem hiding this comment.
[Pylint] Bad indentation. Found 2 spaces, expected 8 (view)
Details
| Rule | Severity | Message-id | Module | Obj |
|---|---|---|---|---|
bad-indentation |
warning |
W0311 | matrix | - |
You can close this issue if no need to fix it. Learn more.
| if cmd == 1: | ||
| n11 = float(input("Enter the element of the 1st column and 1st row of the 1st matrix: ")) | ||
| n12 = float(input("Enter the element of the 2nd column and the 1st row of the 1st matrix: ")) | ||
| n21 = float(input("Enter the element of the 1st column and 2nd row of the 1st matrix: ")) |
There was a problem hiding this comment.
[Pylint] Bad indentation. Found 2 spaces, expected 8 (view)
Details
| Rule | Severity | Message-id | Module | Obj |
|---|---|---|---|---|
bad-indentation |
warning |
W0311 | matrix | - |
You can close this issue if no need to fix it. Learn more.
| @@ -0,0 +1,25 @@ | |||
| def matrix_2_2_input(): | |||
There was a problem hiding this comment.
[Pylint] Missing module docstring (view)
Details
| Rule | Severity | Message-id | Module | Obj |
|---|---|---|---|---|
missing-module-docstring |
convention |
C0114 | matrix | - |
You can close this issue if no need to fix it. Learn more.
| print("Invalid Request") | ||
|
|
||
| def matrix_2_2_calculate(): | ||
| X = [[n11, n12], [n21, n22]] |
There was a problem hiding this comment.
[Pylint] Undefined variable 'n11' (view)
Details
| Rule | Severity | Message-id | Module | Obj |
|---|---|---|---|---|
undefined-variable |
error |
E0602 | matrix | matrix_2_2_calculate |
You can close this issue if no need to fix it. Learn more.
| print("Invalid Request") | ||
|
|
||
| def matrix_2_2_calculate(): | ||
| X = [[n11, n12], [n21, n22]] |
There was a problem hiding this comment.
[Pylint] Undefined variable 'n12' (view)
Details
| Rule | Severity | Message-id | Module | Obj |
|---|---|---|---|---|
undefined-variable |
error |
E0602 | matrix | matrix_2_2_calculate |
You can close this issue if no need to fix it. Learn more.
| print("Invalid Request") | ||
|
|
||
| def matrix_2_2_calculate(): | ||
| X = [[n11, n12], [n21, n22]] |
There was a problem hiding this comment.
[Pylint] Undefined variable 'n21' (view)
Details
| Rule | Severity | Message-id | Module | Obj |
|---|---|---|---|---|
undefined-variable |
error |
E0602 | matrix | matrix_2_2_calculate |
You can close this issue if no need to fix it. Learn more.
| print("Invalid Request") | ||
|
|
||
| def matrix_2_2_calculate(): | ||
| X = [[n11, n12], [n21, n22]] |
There was a problem hiding this comment.
[Pylint] Undefined variable 'n22' (view)
Details
| Rule | Severity | Message-id | Module | Obj |
|---|---|---|---|---|
undefined-variable |
error |
E0602 | matrix | matrix_2_2_calculate |
You can close this issue if no need to fix it. Learn more.
Checklist
PR Information
If you have anwer Python File for the above question, please answer the next question. If not, leave the next one blank and continue on to the next question.
Python File Sections Changes
Information About PR
What is the issue about?
Are there any linking issues or PRs?