-
Notifications
You must be signed in to change notification settings - Fork 4
/
Justfile
26 lines (22 loc) · 652 Bytes
/
Justfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# list all available commands
default:
just --list
###############################################################################
# Basic project and env management
# clean all build, python, and lint files
clean:
rm -fr dist
rm -fr .eggs
find . -name '*.egg-info' -exec rm -fr {} +
find . -name '*.egg' -exec rm -f {} +
find . -name '*.pyc' -exec rm -f {} +
find . -name '*.pyo' -exec rm -f {} +
find . -name '*~' -exec rm -f {} +
find . -name '__pycache__' -exec rm -fr {} +
rm -fr .mypy_cache
# install with all deps
install:
pip install -e .[lint,build,dev]
# lint, format, and check all files
lint:
pre-commit run --all-files