python, fixes

This commit is contained in:
ProgramSnail 2025-12-27 18:03:01 +03:00
parent 76ce2b944b
commit 7ccd53b236
5 changed files with 28 additions and 3 deletions

View file

@ -1,5 +1,5 @@
# is done at the main
# - name: Install build comon deps
# - name: Install build common deps
# ansible.builtin.import_tasks: build.yml
- name: Installing tools for cpp dev

View file

@ -53,6 +53,10 @@
ansible.builtin.import_tasks: clojure.yml
when: "'clojure' in tools"
- name: Python development environment
ansible.builtin.import_tasks: python.yml
when: "'python' in tools"
# TODO
- name: Arend proof assistant development environment
ansible.builtin.import_tasks: arend.yml

View file

@ -0,0 +1,21 @@
- name: Installing tools for python dev
become: true
ansible.builtin.dnf5:
name:
- python
- pip
- pipx
- uv
state: latest
- name: Install ty typechecker
ansible.builtin.command:
cmd: "uv tool install ty@latest"
changed_when: false
- name: Install ruff lineter
ansible.builtin.command:
cmd: "uv tool install ruff@latest"
changed_when: false