test commit #8
Annotations
10 errors and 1 warning
|
ruff (UP031):
src/sample.py#L16
src/sample.py:16:25: UP031 Use format specifiers instead of percent format
help: Replace with format specifiers
|
|
ruff (F841):
src/sample.py#L13
src/sample.py:13:9: F841 Local variable `is_adult` is assigned to but never used
help: Remove assignment to unused variable `is_adult`
|
|
ruff (SIM108):
src/sample.py#L10
src/sample.py:10:5: SIM108 Use ternary operator `is_adult = True if age >= 18 else False` instead of `if`-`else`-block
help: Replace `if`-`else`-block with `is_adult = True if age >= 18 else False`
|
|
ruff (F841):
src/sample.py#L7
src/sample.py:7:5: F841 Local variable `unused_variable` is assigned to but never used
help: Remove assignment to unused variable `unused_variable`
|
|
ruff (E202):
src/sample.py#L6
src/sample.py:6:35: E202 Whitespace before ')'
help: Remove whitespace before ')'
|
|
ruff (E231):
src/sample.py#L6
src/sample.py:6:31: E231 Missing whitespace after `,`
help: Add missing whitespace
|
|
ruff (E201):
src/sample.py#L6
src/sample.py:6:26: E201 Whitespace after '('
help: Remove whitespace before '('
|
|
ruff (E302):
src/sample.py#L6
src/sample.py:6:1: E302 Expected 2 blank lines, found 1
help: Add missing blank line(s)
|
|
ruff (F401):
src/sample.py#L4
src/sample.py:4:8: F401 `os` imported but unused
help: Remove unused import: `os`
|
|
ruff (F401):
src/sample.py#L3
src/sample.py:3:8: F401 `sys` imported but unused
help: Remove unused import: `sys`
|
|
ruff
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, astral-sh/ruff-action@v3. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|