From 34264f6ca5d49e2e773a9a4f0e7e491450ce839b Mon Sep 17 00:00:00 2001 From: Drew Bednar Date: Sun, 18 Sep 2022 09:03:19 -0400 Subject: [PATCH] Additional dependencies and invoke helper --- requirements.in | 3 ++- requirements.txt | 10 ++++++++++ tasks.py | 6 +++--- 3 files changed, 15 insertions(+), 4 deletions(-) diff --git a/requirements.in b/requirements.in index 2dec9c0..1a7bae4 100644 --- a/requirements.in +++ b/requirements.in @@ -1 +1,2 @@ -dramatiq[all] +dramatiq[all]==1.13.0 +requests==4.3.4 diff --git a/requirements.txt b/requirements.txt index 797095a..65d3905 100644 --- a/requirements.txt +++ b/requirements.txt @@ -6,6 +6,10 @@ # async-timeout==4.0.2 # via redis +certifi==2022.9.14 + # via requests +charset-normalizer==2.1.1 + # via requests deprecated==1.2.13 # via redis dramatiq[all]==1.13.0 @@ -16,6 +20,8 @@ gevent==21.12.0 # watchdog-gevent greenlet==1.1.3 # via gevent +idna==3.4 + # via requests packaging==21.3 # via redis pika==1.3.0 @@ -28,6 +34,10 @@ pyparsing==3.0.9 # via packaging redis==4.3.4 # via dramatiq +requests==2.28.1 + # via -r requirements.in +urllib3==1.26.12 + # via requests watchdog==2.1.9 # via # dramatiq diff --git a/tasks.py b/tasks.py index 0e66859..f2bc15c 100644 --- a/tasks.py +++ b/tasks.py @@ -13,9 +13,9 @@ def start_app(docs=False, extra=""): @task -def non_sense(): - """A non-sense command.""" - print("This is non-sense") +def fix_eof(c): + """Fixes any missing newlines for end of files.""" + c.run("pre-commit run end-of-file-fixer --all-files") @task