Qodana #1
240 new problems found by Qodana Community for Python
Community for Python
240 new problems were found
Inspection name | Severity | Problems |
---|---|---|
Incorrect type |
🔶 Warning | 9 |
Redeclared names without usages |
🔶 Warning | 4 |
Invalid TypedDict definition and usages |
🔶 Warning | 1 |
Unused local symbols |
◽️ Notice | 79 |
PEP 8 naming convention violation |
◽️ Notice | 56 |
PEP 8 coding style violation |
◽️ Notice | 31 |
Accessing a protected member of a class or a module |
◽️ Notice | 21 |
Redundant parentheses |
◽️ Notice | 17 |
Incorrect docstring |
◽️ Notice | 11 |
Unclear exception clauses |
◽️ Notice | 4 |
Method is not declared static |
◽️ Notice | 4 |
Shadowing built-in names |
◽️ Notice | 2 |
An instance attribute is defined outside init`` |
◽️ Notice | 1 |
💡 Qodana analysis was run in the pull request mode: only the changed files were checked
View the detailed Qodana report
To be able to view the detailed Qodana report, you can either:
- Register at Qodana Cloud and configure the action
- Use GitHub Code Scanning with Qodana
- Host Qodana report at GitHub Pages
- Inspect and use
qodana.sarif.json
(see the Qodana SARIF format for details)
To get *.log
files or any other Qodana artifacts, run the action with upload-result
option set to true
,
so that the action will upload the files as the job artifacts:
- name: 'Qodana Scan'
uses: JetBrains/[email protected]
with:
upload-result: true
Contact Qodana team
Contact us at [email protected]
- Or via our issue tracker: https://jb.gg/qodana-issue
- Or share your feedback: https://jb.gg/qodana-discussions
Details
This result was published with Qodana GitHub Action
Annotations
Check notice on line 108 in src/Physiological/PhysiologicalBase.py
github-actions / Qodana Community for Python
An instance attribute is defined outside `__init__`
Instance attribute ready defined outside __init__
Check notice on line 128 in src/Physiological/file_upload.py
github-actions / Qodana Community for Python
Unclear exception clauses
Too broad exception clause
Check notice on line 303 in src/Saliva/saliva_features.py
github-actions / Qodana Community for Python
Unclear exception clauses
Too broad exception clause
Check notice on line 142 in src/Saliva/saliva_features.py
github-actions / Qodana Community for Python
Unclear exception clauses
Too broad exception clause
Check notice on line 216 in src/Saliva/saliva_features.py
github-actions / Qodana Community for Python
Unclear exception clauses
Too broad exception clause
Check notice on line 335 in src/utils.py
github-actions / Qodana Community for Python
Incorrect docstring
Missing parameter file in docstring
Check notice on line 535 in src/utils.py
github-actions / Qodana Community for Python
Incorrect docstring
Unexpected parameter file_path in docstring
Check notice on line 429 in src/utils.py
github-actions / Qodana Community for Python
Incorrect docstring
Missing parameter file in docstring
Check notice on line 430 in src/utils.py
github-actions / Qodana Community for Python
Incorrect docstring
Missing parameter file_name in docstring
Check notice on line 518 in src/utils.py
github-actions / Qodana Community for Python
Incorrect docstring
Missing parameter file in docstring
Check notice on line 351 in src/utils.py
github-actions / Qodana Community for Python
Incorrect docstring
Unexpected parameter file_path in docstring
Check notice on line 614 in src/utils.py
github-actions / Qodana Community for Python
Incorrect docstring
Missing parameter file in docstring
Check notice on line 444 in src/utils.py
github-actions / Qodana Community for Python
Incorrect docstring
Unexpected parameter file_path in docstring
Check notice on line 618 in src/utils.py
github-actions / Qodana Community for Python
Incorrect docstring
Missing parameter file_name in docstring
Check notice on line 520 in src/utils.py
github-actions / Qodana Community for Python
Incorrect docstring
Missing parameter file_name in docstring
Check notice on line 624 in src/utils.py
github-actions / Qodana Community for Python
Incorrect docstring
Unexpected parameter file_path in docstring
Check notice on line 108 in src/Physiological/custom_components.py
github-actions / Qodana Community for Python
Method is not declared static
Method `remove_btn_click` may be 'static'
Check notice on line 64 in src/Psychological/setup_study.py
github-actions / Qodana Community for Python
Method is not declared static
Method `state_add_value` may be 'static'
Check notice on line 183 in src/Physiological/add_times.py
github-actions / Qodana Community for Python
Method is not declared static
Method `check_subject_condition_columns` may be 'static'
Check notice on line 106 in src/Psychological/setup_study.py
github-actions / Qodana Community for Python
Method is not declared static
Method `remove_phase` may be 'static'
Check notice on line 20 in main.py
github-actions / Qodana Community for Python
PEP 8 coding style violation
PEP 8: E402 module level import not at top of file
Check notice on line 5 in src/Sleep/SLEEP_CONSTANTS.py
github-actions / Qodana Community for Python
PEP 8 coding style violation
PEP 8: E501 line too long (161 \> 120 characters)
Check notice on line 6 in src/Sleep/SLEEP_CONSTANTS.py
github-actions / Qodana Community for Python
PEP 8 coding style violation
PEP 8: E501 line too long (184 \> 120 characters)
Check notice on line 202 in src/Psychological/setup_study.py
github-actions / Qodana Community for Python
PEP 8 coding style violation
PEP 8: E501 line too long (130 \> 120 characters)
Check notice on line 4 in main_ide.py
github-actions / Qodana Community for Python
PEP 8 coding style violation
PEP 8: E402 module level import not at top of file