Skip to content

Created factorial.py #11371

Created factorial.py

Created factorial.py #11371

Triggered via pull request October 19, 2024 06:59
Status Failure
Total duration 12s
Artifacts

ruff.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors
Ruff (INP001): recursion/factorial.py#L1
recursion/factorial.py:1:1: INP001 File `recursion/factorial.py` is part of an implicit namespace package. Add an `__init__.py`.
Ruff (PLR1714): recursion/factorial.py#L2
recursion/factorial.py:2:8: PLR1714 Consider merging multiple comparisons: `n in (0, 1)`. Use a `set` if the elements are hashable.
Ruff (W293): recursion/factorial.py#L6
recursion/factorial.py:6:1: W293 Blank line contains whitespace
ruff
Process completed with exit code 1.