mirror of
https://codeberg.org/ProgramSnail/config.git
synced 2025-12-30 19:28:15 +00:00
python, fixes
This commit is contained in:
parent
76ce2b944b
commit
7ccd53b236
5 changed files with 28 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
21
roles/dev/tasks/python.yml
Normal file
21
roles/dev/tasks/python.yml
Normal 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
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue