Skip to content

Commit

Permalink
Fix ruff fomart not returning error in github action
Browse files Browse the repository at this point in the history
  • Loading branch information
Spacerulerwill committed Jan 10, 2025
1 parent b5a5f08 commit a9f847f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ruff.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
pip install .
- name: Format
run: |
ruff format .
ruff format . --check
- name: Lint
run: |
ruff check .
3 changes: 3 additions & 0 deletions puzzles/Y2020/D1/p1.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
from typing import Any





def puzzle(input: str) -> Any:
numbers = [int(num) for num in input.splitlines()]
seen = set()
Expand Down

0 comments on commit a9f847f

Please sign in to comment.