Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

Commit

Permalink
Fix just script to use pyright instead of mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
abhabongse committed Apr 4, 2024
1 parent a81df1a commit d525dae
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,23 +21,19 @@ export-python-packages:
# |__/

# Run tests against source files
check: ruff mypy pytest
check: ruff pyright pytest

# Format code using ruff
format:
ruff check --fix && ruff format

# Check code with ruff
ruff:
ruff check

# Watch for code changes and run check with ruff
ruff-watch:
ruff check --watch

# Format code
ruff-format:
ruff check --fix && ruff format

# Type checking on all Python source files
mypy:
mypy src
pyright:
pyright

# Run pytest against source files
pytest +ARGS='-v':
Expand Down

0 comments on commit d525dae

Please sign in to comment.