Skip to content

Add shellcheck classes. (#53) #187

Add shellcheck classes. (#53)

Add shellcheck classes. (#53) #187

GitHub Actions / Codety scanner - Python required action Sep 8, 2024 in 0s

Python

found issues in 4 files

Annotations

Check warning on line 1 in analyzer-pylint/src/test/resources/pylint/code-smell-examples/consistency.py

See this annotation in the file changed.

@github-actions github-actions / Codety scanner - Python

analyzer-pylint/src/test/resources/pylint/code-smell-examples/consistency.py#L1

[convention] [missing-module-docstring]  Missing module docstring

Check warning on line 1 in analyzer-pylint/src/test/resources/pylint/code-smell-examples/consistency.py

See this annotation in the file changed.

@github-actions github-actions / Codety scanner - Python

analyzer-pylint/src/test/resources/pylint/code-smell-examples/consistency.py#L1

[error] [import-error]  Unable to import 'torch'

Check warning on line 2 in analyzer-pylint/src/test/resources/pylint/code-smell-examples/consistency.py

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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 code-issue-examples/python/consistency.py

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions github-actions / Codety scanner - Python

code-issue-examples/python/bad-python-code.py#L2

[error] [undefined-variable]  Undefined variable 'a2'

Check warning on line 1 in code-issue-examples/python/bad-python-code.py

See this annotation in the file changed.

@github-actions github-actions / Codety scanner - Python

code-issue-examples/python/bad-python-code.py#L1

[refactor] [duplicate-code]  Similar lines in 2 files==consistency:[46:72]==consistency:[46:72]    if src_weights is None:   ...