hc99's picture
Add files using upload-large-folder tool
ff88fc5 verified
raw
history blame
785 Bytes
install:
@echo "--- ๐Ÿš€ Installing project dependencies ---"
pip install -e ".[dev]"
install-for-tests:
@echo "--- ๐Ÿš€ Installing project dependencies for test ---"
@echo "This ensures that the project is not installed in editable mode"
pip install ".[dev]"
lint:
@echo "--- ๐Ÿงน Running linters ---"
ruff format . # running ruff formatting
ruff check . --fix # running ruff linting
lint-check:
@echo "--- ๐Ÿงน Check is project is linted ---"
# Required for CI to work, otherwise it will just pass
ruff format . --check # running ruff formatting
ruff check **/*.py # running ruff linting
test:
@echo "--- ๐Ÿงช Running tests ---"
pytest -n auto --durations=5
pr:
@echo "--- ๐Ÿš€ Running requirements for a PR ---"
make lint
make test