diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index 55f99c9..0000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,11 +0,0 @@ -# To get started with Dependabot version updates, you'll need to specify which -# package ecosystems to update and where the package manifests are located. -# Please see the documentation for all configuration options: -# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates - -version: 2 -updates: - - package-ecosystem: "pip" # See documentation for possible values - directory: "/" # Location of package manifests - schedule: - interval: "monthly" diff --git a/.github/renovate.json b/.github/renovate.json new file mode 100644 index 0000000..d8c880b --- /dev/null +++ b/.github/renovate.json @@ -0,0 +1,37 @@ +{ + "extends": [ + "config:base" + ], + "labels": [ + "dependencies" + ], + "pip_requirements": { + "fileMatch": [ + "^requirements.*\\.txt$" + ], + "groupName": "all dependencies", + "groupSlug": "all", + "packageRules": [ + { + "groupName": "all dependencies", + "groupSlug": "all", + "matchPackagePatterns": [ + "*" + ] + } + ] + }, + "prCreation": "not-pending", + "prHourlyLimit": 2, + "pre-commit": { + "schedule": [ + "after 10am and before 4pm every 3 months on the first day of the month" + ], + "stabilityDays": 10 + }, + "schedule": [ + "after 7am and before 4pm every monday" + ], + "stabilityDays": 2, + "timezone": "Europe/London" +} diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 0b21e90..ff95f92 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -12,6 +12,7 @@ rev: v2.0.0 hooks: - id: check-ast + - id: check-json - id: check-yaml - id: flake8 args: ['--max-line-length=88', '--select=E401,E711,E712,E713,E714,E721,E722,E901,F401,F402,F403,F405,F631,F632,F633,F811,F812,F821,F822,F841,F901,W191,W291,W292,W293,W602,W603,W604,W605,W606']