devel: Fix autopep8 and pylint installations on macOS

This commit is contained in:
Jannik Beyerstedt 2026-03-20 12:17:39 +01:00
parent b3fb9d8289
commit 3a4f5d2d3a

View file

@ -54,9 +54,16 @@
code --install-extension ms-vscode.cmake-tools
# VS Code - Python Development Tools
- name: Devel - Python - Install python dev packages
- name: Devel - Python - Install python dev packages (macOS)
tags: lang_python
when: user_lang_python
when: user_lang_python and (override_os_family is defined) | ternary(override_os_family,ansible_facts['os_family']) == "Darwin"
ansible.builtin.homebrew:
name:
- autopep8
- pylint
- name: Devel - Python - Install python dev packages (non macOS)
tags: lang_python
when: user_lang_python and not (override_os_family is defined) | ternary(override_os_family,ansible_facts['os_family']) == "Darwin"
ansible.builtin.pip:
name:
- autopep8