You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/features/optional.md
+13Lines changed: 13 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,11 +10,24 @@ Scaffolds a [Typer](https://typer.tiangolo.com/) CLI application with:
10
10
- CLI module with a sample command
11
11
- Customizable CLI name via the `cli_name` variable
12
12
13
+
/// tab | make
14
+
13
15
```bash
14
16
# Install CLI globally after generation
15
17
make setup-cli
16
18
```
17
19
20
+
///
21
+
22
+
/// tab | mise
23
+
24
+
```bash
25
+
# Install CLI globally after generation
26
+
mise run setup:cli
27
+
```
28
+
29
+
///
30
+
18
31
## Strict Typing (`with_strict_typing`)
19
32
20
33
Enables strict type checking and adds a `py.typed` marker file for [PEP 561](https://peps.python.org/pep-0561/) compliance. This signals to downstream consumers that your package ships inline type information.
Copy file name to clipboardExpand all lines: docs/features/quality-tools.md
+42-1Lines changed: 42 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,8 @@ The template sets up a comprehensive code quality pipeline that runs automatical
6
6
7
7
[Ruff](https://github.com/astral-sh/ruff) handles both **formatting** and **linting** in a single, fast tool.
8
8
9
+
/// tab | make
10
+
9
11
```bash
10
12
# Auto-format code
11
13
make format
@@ -14,16 +16,42 @@ make format
14
16
make check-quality
15
17
```
16
18
19
+
///
20
+
21
+
/// tab | mise
22
+
23
+
```bash
24
+
# Auto-format code
25
+
mise run format
26
+
27
+
# Check formatting and lint rules
28
+
mise run check:quality
29
+
```
30
+
31
+
///
32
+
17
33
Ruff is configured in `pyproject.toml` with sensible defaults. It replaces Black, isort, flake8, and many other tools.
18
34
19
35
## Mypy
20
36
21
37
[Mypy](https://github.com/python/mypy) performs static type checking.
22
38
39
+
/// tab | make
40
+
23
41
```bash
24
42
make check-types
25
43
```
26
44
45
+
///
46
+
47
+
/// tab | mise
48
+
49
+
```bash
50
+
mise run check:types
51
+
```
52
+
53
+
///
54
+
27
55
Configuration lives in `pyproject.toml`. If you enable the `with_strict_typing` option during generation, a `py.typed` marker file is included for PEP 561 compliance.
Copy file name to clipboardExpand all lines: docs/features/task-runner.md
+41-23Lines changed: 41 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,30 +10,48 @@ make <task>
10
10
mise run <task>
11
11
```
12
12
13
+
> [!TIP]
14
+
> Prefer `mise run` over `make` when running tasks directly:
15
+
>
16
+
> -**Auto-completion**: Run `make mise-setup-completions` to install shell completions for mise, giving you tab-completion for all tasks.
17
+
> -**Flags & arguments**: mise tasks can accept flags and positional arguments (e.g. `mise run docker-build --dev`, `mise run test -- -k test_foo`), which is not possible through `make`.
0 commit comments