justfile
raw| 1 | default: black isort |
| 2 | |
| 3 | # Format with black formatter |
| 4 | black: |
| 5 | black ./ |
| 6 | |
| 7 | # Sort imports using isort |
| 8 | isort: |
| 9 | isort ./ --profile black |
| 10 | |
| 11 | |
| 12 | # Run all tests |
| 13 | test: mypy unittest |
| 14 | |
| 15 | # Check typings with mypy |
| 16 | mypy: |
| 17 | mypy --python-version=3.9 blueprintcompiler/ |
| 18 | |
| 19 | # Test code with unittest |
| 20 | unittest: |
| 21 | python3 -m unittest |
| 22 |