Skip to content

Commit

Permalink
create new python script for sending webhooks in a directory
Browse files Browse the repository at this point in the history
created a simple python script which iterates over a directory and
sends a post request to the specified url with the completed
document id and any client data that came with the original
request.
  • Loading branch information
KPostOffice committed Jul 7, 2022
1 parent c363c96 commit 965c892
Show file tree
Hide file tree
Showing 5 changed files with 244 additions and 187 deletions.
9 changes: 5 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
repos:
- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.1.13
rev: v1.2.0
hooks:
- id: remove-tabs

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.1.0
rev: v4.3.0
hooks:
- id: trailing-whitespace
- id: check-merge-conflict
Expand All @@ -28,15 +28,16 @@ repos:
- id: pydocstyle

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.1.0
rev: v4.3.0
additional-dependencies: ["toml"]
hooks:
- id: check-toml
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace

- repo: https://github.com/psf/black
rev: 22.1.0
rev: 22.3.0
hooks:
- id: black

Expand Down
1 change: 1 addition & 0 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ pyyaml = "*"
thoth-messaging = "*"
thoth-storages = "*"
ogr = "*"
kubernetes = "*"

[dev-packages]
pytest = "*"
Expand Down
Loading

0 comments on commit 965c892

Please sign in to comment.