Skip to content

Commit

Permalink
Merge branch 'main' into pg_listener
Browse files Browse the repository at this point in the history
  • Loading branch information
mkanoor authored Feb 6, 2024
2 parents 36ca881 + 0967bac commit fdbad51
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 11 deletions.
27 changes: 20 additions & 7 deletions .github/workflows/linters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,29 @@ jobs:
black:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: psf/black@stable
- name: Checkout the repository
uses: actions/checkout@v4

- name: Run black
uses: psf/black@stable
isort:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: isort/[email protected]
- name: Checkout the repository
uses: actions/checkout@v4

- name: Run isort
uses: isort/[email protected]
flake8:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: pip install flake8
- run: flake8
- name: Checkout the repository
uses: actions/checkout@v4

- name: Install flake8
run: |
python3 -m pip install -U pip
python3 -m pip install -U flake8
- name: Run flake8
run: flake8
9 changes: 5 additions & 4 deletions extensions/eda/plugins/event_filter/insert_hosts_to_meta.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,11 @@
Example:
-------
- ansible.eda.insert_hosts_to_meta
host_path: app.target
path_separator: .
host_separator: ;
filters:
- ansible.eda.insert_hosts_to_meta:
host_path: "app.target"
path_separator: "."
host_separator: ";"
"""

Expand Down
1 change: 1 addition & 0 deletions extensions/eda/plugins/event_source/tick.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
delay: 5
"""

import asyncio
import itertools
from typing import Any
Expand Down
1 change: 1 addition & 0 deletions tests/unit/event_source/test_generic.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
""" Tests for generic source plugin """

import asyncio

import pytest
Expand Down

0 comments on commit fdbad51

Please sign in to comment.