Skip to content

Commit

Permalink
Update mise tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
hipek8 committed Dec 19, 2024
1 parent fd5b528 commit 8e8ba15
Show file tree
Hide file tree
Showing 4 changed files with 3,000 additions and 3 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ debian/ralph-core/*
# other
.python-version
tags
*.lock
.*.swp
.*.swo
.envrc
Expand Down
10 changes: 9 additions & 1 deletion mise.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,27 @@ docker-compose = "latest"
node = "11.7.0"
uv = "latest"

[tasks.venv]
run = [
"uv venv",
"source .venv/bin/activate"
]

[tasks.install]
run = [
"uv pip sync requirements/dev.txt",
"uv pip install -e ."
]
description = "Install requirements and entrypoints"
alias = "deps"

[tasks.up]
run = "docker-cli-plugin-docker-compose -f docker/docker-compose-dev.yml up -d"
description = "Start required containers"

[tasks.manage]
run = "dev_ralph"
description = "dev_ralph [...]"

[tasks.init]
depends = ["install", "up"]
Expand All @@ -47,7 +55,7 @@ description = "Bootstrap new local ralph installation"
[tasks.server]
depends = ['up']
run = "dev_ralph runserver"
alias = "s"
alias = ["s", "default"]
description = "Run local server"

[tasks.requirements]
Expand Down
2 changes: 1 addition & 1 deletion mypy.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[mypy]
python_version = 3.6
python_version = 3.8
ignore_missing_imports = True

Loading

0 comments on commit 8e8ba15

Please sign in to comment.