diff --git a/justfile b/justfile new file mode 100644 index 0000000..5c956db --- /dev/null +++ b/justfile @@ -0,0 +1,22 @@ +default: black isort + +# Format with black formatter +black: + black blueprintcompiler/ + +# Sort imports using isort +isort: + isort blueprintcompiler/ --profile black + + +# Run all tests +test: mypy unittest + +# Check typings with mypy +mypy: + mypy --python-version=3.9 blueprintcompiler/ + +# Test code with unittest +unittest: + python3 -m unittest +