File: use-python3-in-justfile

package info (click to toggle)
python-django-tasks-db 0.12.0-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 344 kB
  • sloc: python: 2,227; sh: 5; makefile: 4
file content (62 lines) | stat: -rw-r--r-- 2,375 bytes parent folder | download
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
From: Jakob Haufe <sur5r@debian.org>
Date: Wed, 11 Mar 2026 22:56:39 +0100
Subject: use-python3-in-justfile
Forwarded: not-needed

---
 justfile | 28 ++++++++++++++--------------
 1 file changed, 14 insertions(+), 14 deletions(-)

diff --git a/justfile b/justfile
index 3a0b785..42a611a 100644
--- a/justfile
+++ b/justfile
@@ -3,34 +3,34 @@
   just --list
 
 test *ARGS:
-    python -m manage check
-    python -m manage makemigrations --dry-run --check --noinput
-    python -m coverage run --source=django_tasks_db -m manage test --shuffle --noinput {{ ARGS }}
-    python -m coverage report
-    python -m coverage html
+    python3 -m manage check
+    python3 -m manage makemigrations --dry-run --check --noinput
+    python3 -m coverage run --source=django_tasks_db -m manage test --shuffle --noinput {{ ARGS }}
+    python3 -m coverage report
+    python3 -m coverage html
 
 test-fast *ARGS:
-    python -m manage test --shuffle --noinput --settings tests.settings_fast {{ ARGS }}
+    python3 -m manage test --shuffle --noinput --settings tests.settings_fast {{ ARGS }}
 
 format:
-    python -m ruff check django_tasks_db tests --fix
-    python -m ruff format django_tasks_db tests
+    python3 -m ruff check django_tasks_db tests --fix
+    python3 -m ruff format django_tasks_db tests
 
 lint:
-    python -m ruff check django_tasks_db tests
-    python -m ruff format django_tasks_db tests --check
-    python -m mypy django_tasks_db tests
+    python3 -m ruff check django_tasks_db tests
+    python3 -m ruff format django_tasks_db tests --check
+    python3 -m mypy django_tasks_db tests
 
 start-dbs:
     docker-compose up -d
 
 test-sqlite *ARGS:
-    python -m manage test --shuffle --noinput {{ ARGS }}
+    python3 -m manage test --shuffle --noinput {{ ARGS }}
 
 test-postgres *ARGS:
-    DATABASE_URL=postgres://postgres:postgres@localhost:15432/postgres python -m manage test --shuffle --noinput {{ ARGS }}
+    DATABASE_URL=postgres://postgres:postgres@localhost:15432/postgres python3 -m manage test --shuffle --noinput {{ ARGS }}
 
 test-mysql *ARGS:
-    DATABASE_URL=mysql://root:django@127.0.0.1:13306/django python -m manage test --shuffle --noinput {{ ARGS }}
+    DATABASE_URL=mysql://root:django@127.0.0.1:13306/django python3 -m manage test --shuffle --noinput {{ ARGS }}
 
 test-dbs *ARGS: start-dbs test-postgres test-mysql test-sqlite