-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
45 lines (34 loc) · 838 Bytes
/
Makefile
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# -- poetry --
poetry-install:
poetry install --remove-untracked
# -- code --
lint:
black --check .
mypy .
flake8 .
DJANGO_ENV=build python src/manage.py makemigrations --dry-run --check
xenon --max-absolute A \
--max-modules A \
--max-average A \
--exclude src/apps/core/graphql/fields/query_connection.py \
src
poetry check
pip check
# safety check --bare --full-report -i 39462
polint -i location,unsorted src/locale
dennis-cmd lint --errorsonly src/locale
test:
pytest
# -- django --
make-messages:
python src/manage.py makemessages -l en --no-location
compile-messages:
python src/manage.py compilemessages
# -- pre-commit --
pre-commit:
pre-commit
pre-commit-install:
pre-commit install
pre-commit install --hook-type commit-msg
pre-commit-update:
pre-commit autoupdate