From 516d7674be2a9e619b13a550ac611c82d413bccc Mon Sep 17 00:00:00 2001 From: Madison Swain-Bowden Date: Thu, 29 Sep 2022 16:19:58 -0700 Subject: [PATCH] Add dependabot config (#740) * Rename requirements.txt to requirements_tooling.txt * Add dependabot config * Correct comment Co-authored-by: rwidom Co-authored-by: rwidom --- .github/dependabot.yml | 22 ++++++++++++++++++++++ justfile | 2 +- requirements.txt | 5 ----- requirements_tooling.txt | 6 ++++++ 4 files changed, 29 insertions(+), 6 deletions(-) create mode 100644 .github/dependabot.yml delete mode 100644 requirements.txt create mode 100644 requirements_tooling.txt diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 000000000..e195b86a3 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,22 @@ +################################# +# Dependabot Configuration File # +################################# + +# current Github-native version of Dependabot +version: 2 + +updates: + # Enable version updates for Python libraries in `requirements_dev.txt` + # These can be updated more frequently than those in `requirements_prod.txt` since + # they are not pinned by the Airflow constraints file. + - package-ecosystem: pip + directory: / + # Check for updates once a month + schedule: + interval: monthly + labels: + - "💻 aspect: code" + - "🧰 goal: internal improvement" + - "🟩 priority: low" + - "🐍 tech: python" + - dependencies diff --git a/justfile b/justfile index a8d45c709..dc26436aa 100644 --- a/justfile +++ b/justfile @@ -33,7 +33,7 @@ check-py-version: # Install dependencies into the current environment install: check-py-version - pip install -r requirements.txt -r requirements_dev.txt + pip install -r requirements_tooling.txt -r requirements_dev.txt pre-commit install # Create the .env file from the template diff --git a/requirements.txt b/requirements.txt deleted file mode 100644 index a57a4d2ac..000000000 --- a/requirements.txt +++ /dev/null @@ -1,5 +0,0 @@ -# for local dev tooling only -black==22.3.0 -flake8==3.9.2 -isort==5.9.3 -pre-commit==2.14.0 diff --git a/requirements_tooling.txt b/requirements_tooling.txt new file mode 100644 index 000000000..8f2382bab --- /dev/null +++ b/requirements_tooling.txt @@ -0,0 +1,6 @@ +# For local dev tooling only, this is separate from requirements_dev.txt because these +# libraries are not needed within the built docker container in any environment. +black==22.3.0 +flake8==3.9.2 +isort==5.9.3 +pre-commit==2.14.0