Skip to content

Commit

Permalink
Update pyproject.toml for poetry 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
elliotwutingfeng committed Jan 7, 2025
1 parent a41447d commit 9f4c0d8
Show file tree
Hide file tree
Showing 4 changed files with 109 additions and 31 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ ruff_format_check:
poetry run ruff format --check

install:
poetry lock --no-update
poetry install
poetry lock
poetry install --with dev

update:
poetry lock
poetry install
poetry lock --regenerate
poetry install --with dev

test: ruff_format_check ruff_check
poetry run pytest -vv --cov=./ --cov-report html -n auto
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ railrailrail finds fastest routes between any 2 stations on the Singapore MRT/LR
## Requirements

- Python 3.12+
- [Python Poetry](https://python-poetry.org)
- [Python Poetry](https://python-poetry.org) 2.0+
- GNU Make

Works natively on a POSIX/UNIX-like environment like Linux/macOS. Windows users should use the [Windows Subsystem for Linux](https://docs.microsoft.com/en-us/windows/wsl/install).
Expand Down
Loading

0 comments on commit 9f4c0d8

Please sign in to comment.