Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ jobs:
run: pip install -r requirements.txt

- name: Lint with black
run: black --check tests/
run: black --check modpods.py tests/

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not "black ."? To apply across the whole repo?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated to black --check . in commit 2de4ca8. Also fixed the two additional files that needed reformatting (spring-cart-interactive.py) and the F403 star import in __init__.py.


- name: Lint with ruff
run: ruff check tests/
run: ruff check modpods.py tests/

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not "ruff check ."?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated to ruff check . in commit 2de4ca8. Fixed the ruff violations in spring-cart-interactive.py (import sorting, trailing whitespace, unused variable) and added # noqa: F403 to the intentional star import in __init__.py.


- name: Type-check with mypy
run: mypy tests/ modpods.py --ignore-missing-imports
Expand Down
Loading