Python
found issues in 4 files
Annotations
Check warning on line 1 in code-issue-examples/python/consistency.py
github-actions / Codety scanner - Python
code-issue-examples/python/consistency.py#L1
[convention] [missing-module-docstring] Missing module docstring
Check warning on line 1 in code-issue-examples/python/consistency.py
github-actions / Codety scanner - Python
code-issue-examples/python/consistency.py#L1
[error] [import-error] Unable to import 'torch'
Check warning on line 2 in code-issue-examples/python/consistency.py
github-actions / Codety scanner - Python
code-issue-examples/python/consistency.py#L2
[convention] [wrong-import-order] standard import "typing.Optional" should be placed before third party import "torch"
Check warning on line 1 in code-issue-examples/python/bad-python-code.py
github-actions / Codety scanner - Python
code-issue-examples/python/bad-python-code.py#L1
[convention] [missing-module-docstring] Missing module docstring
Check warning on line 1 in code-issue-examples/python/bad-python-code.py
github-actions / Codety scanner - Python
code-issue-examples/python/bad-python-code.py#L1
[convention] [invalid-name] Module name "bad-python-code" doesn't conform to snake_case naming style
Check warning on line 1 in code-issue-examples/python/bad-python-code.py
github-actions / Codety scanner - Python
code-issue-examples/python/bad-python-code.py#L1
[convention] [invalid-name] Constant name "b3" doesn't conform to UPPER_CASE naming style
Check warning on line 2 in code-issue-examples/python/bad-python-code.py
github-actions / Codety scanner - Python
code-issue-examples/python/bad-python-code.py#L2
[error] [undefined-variable] Undefined variable 'a2'
github-actions / Codety scanner - Python
analyzer-pylint/src/test/resources/pylint/code-smell-examples/consistency.py#L1
[convention] [missing-module-docstring] Missing module docstring
github-actions / Codety scanner - Python
analyzer-pylint/src/test/resources/pylint/code-smell-examples/consistency.py#L1
[error] [import-error] Unable to import 'torch'
github-actions / Codety scanner - Python
analyzer-pylint/src/test/resources/pylint/code-smell-examples/consistency.py#L2
[convention] [wrong-import-order] standard import "typing.Optional" should be placed before third party import "torch"
Check warning on line 1 in analyzer-pylint/src/test/resources/pylint/code-smell-examples/test1.py
github-actions / Codety scanner - Python
analyzer-pylint/src/test/resources/pylint/code-smell-examples/test1.py#L1
[convention] [missing-module-docstring] Missing module docstring
Check warning on line 1 in analyzer-pylint/src/test/resources/pylint/code-smell-examples/test1.py
github-actions / Codety scanner - Python
analyzer-pylint/src/test/resources/pylint/code-smell-examples/test1.py#L1
[convention] [invalid-name] Constant name "b3" doesn't conform to UPPER_CASE naming style
Check warning on line 2 in analyzer-pylint/src/test/resources/pylint/code-smell-examples/test1.py
github-actions / Codety scanner - Python
analyzer-pylint/src/test/resources/pylint/code-smell-examples/test1.py#L2
[error] [undefined-variable] Undefined variable 'a2'
Check warning on line 1 in analyzer-pylint/src/test/resources/pylint/code-smell-examples/test1.py
github-actions / Codety scanner - Python
analyzer-pylint/src/test/resources/pylint/code-smell-examples/test1.py#L1
[refactor] [duplicate-code] Similar lines in 2 files==consistency:[46:72]==consistency:[46:72] if src_weights is None: ...