diff --git a/Makefile b/Makefile index b9b25fe..e9e663d 100644 --- a/Makefile +++ b/Makefile @@ -19,4 +19,12 @@ ch13: python scripts/sim_stroop.py python scripts/ch13_stroop_within.py --save-plots python scripts/sim_fitness_2x2.py - python scripts/ch13_fitness_mixed.py --save-plots \ No newline at end of file + python scripts/ch13_fitness_mixed.py --save-plots + +.PHONY: lint format test +lint: + ruff check . +format: + black . +test: + pytest -q || true diff --git a/requirements-dev.txt b/requirements-dev.txt new file mode 100644 index 0000000..63baba7 --- /dev/null +++ b/requirements-dev.txt @@ -0,0 +1,3 @@ +ruff>=0.6 +black>=24.8 +pytest>=8.3