Skip to content

Commit 7505323

Browse files
committed
feat: add mise configuration
1 parent 940dbc7 commit 7505323

3 files changed

Lines changed: 57 additions & 0 deletions

File tree

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,7 @@ wheels/
88

99
# Virtual environments
1010
.venv
11+
12+
# IDE configuration
13+
.idea/
14+
.vscode/

mise.lock

Lines changed: 15 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

mise.toml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
[hooks]
2+
enter = ["{{ mise_bin }} install", "uv sync", "prek install --install-hooks"]
3+
4+
[[watch_files]]
5+
patterns = ["pyproject.toml", "uv.lock"]
6+
run = "uv sync"
7+
8+
[env]
9+
_.python.venv = { path = ".venv", create = true }
10+
11+
[tools]
12+
prek = "latest"
13+
python = "3.13"
14+
uv = "latest"
15+
16+
[tasks]
17+
lint = "uv run ruff check --fix --force-exclude {{ config_root }}"
18+
format = "uv run ruff format --force-exclude {{ config_root }}"
19+
sync = "uv sync"
20+
21+
[settings]
22+
gpg_verify = true
23+
auto_install = true
24+
experimental = true
25+
lockfile = true
26+
27+
[settings.status]
28+
missing_tools = "always"
29+
30+
[settings.pipx]
31+
uvx = true
32+
33+
[settings.python]
34+
# Disabled until fixed: https://github.com/jdx/mise/discussions/7252
35+
# uv_venv_auto = true
36+
37+
# Installs pip that is being used by JetBrains IDEs to resolve the dependencies
38+
uv_venv_create_args = ['--seed']

0 commit comments

Comments
 (0)