/ Makefile
Makefile
 1  # SPDX-FileCopyrightText: 2023 Jeff Epler <jepler@gmail.com>
 2  #
 3  # SPDX-License-Identifier: MIT
 4  
 5  .PHONY: mypy
 6  mypy: venv/bin/mypy
 7  	venv/bin/mypy
 8  
 9  # Update CONTRIBUTING.md if these commands change
10  venv/bin/mypy:
11  	python -mvenv venv
12  	venv/bin/pip install -r requirements.txt 'mypy!=1.7.0'
13  
14  .PHONY: clean
15  clean:
16  	rm -rf venv