Skip to content

Commit

Permalink
Update linting (#90)
Browse files Browse the repository at this point in the history
* update

* update

* update tests and fix ci

* update lint

* update readme

* update requirements

* update linting
  • Loading branch information
sean-m-sullivan committed Mar 13, 2023
1 parent 0b649c1 commit 3f4378a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
Empty file added changelogs/fragments/.gitkeep
Empty file.
4 changes: 4 additions & 0 deletions changelogs/fragments/changed_when_lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
minor_changes:
- Added changed_when false to built in commands that gather information.
...
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,14 @@
- not venv_migrate_show_diff_with_default
- __venv_migrate_virtualenvs | length > 1
register: __venv_migrate_freeze_results
changed_when: false # only gathering information

- name: Gather pip freeze output from all venvs including the default venv
ansible.builtin.command: "{{ item }}/bin/pip freeze"
loop: "{{ __venv_migrate_virtualenvs }}"
when: venv_migrate_show_diff_with_default | bool
register: __venv_migrate_freeze_results_default
changed_when: false # only gathering information

- name: Gather results from pip_freeze based on conditions
ansible.builtin.set_fact:
Expand Down

0 comments on commit 3f4378a

Please sign in to comment.