Added renovate bot

This commit is contained in:
மனோஜ்குமார் பழனிச்சாமி 2022-04-20 11:48:24 +05:30
parent e4629a2730
commit f6376d867c
2 changed files with 85 additions and 1 deletions

View File

@ -11,7 +11,49 @@ repos:
rev: 'v0.942' rev: 'v0.942'
hooks: hooks:
- id: mypy - id: mypy
# stages: [push] pass_filenames: false # suppress the normal filename passing
files: ^freqtrade/ # filter the files down to a specific subdirectory
# pre-commit only supports running at the root of a repo since that's where
# git hooks run. but it also allows running arbitrary code so you can
# step outside of those bounds
# note that `bash` will reduce your portability slightly
verbose: true
entry: mypy freqtrade
additional_dependencies:
# Splitting dashes and items on separate lines is intentional,
# enables Renovate's pip_requirements manager to update this file.
-
types-cachetools==5.0.0
-
types-filelock==3.2.5
-
types-python-dateutil==2.8.10
-
types-requests==2.27.15
-
types-tabulate==0.8.6
-
types-urllib3==1.26.11
- id: mypy
pass_filenames: false
files: ^scripts/
entry: mypy scripts
additional_dependencies:
# Splitting dashes and items on separate lines is intentional,
# enables Renovate's pip_requirements manager to update this file.
-
types-cachetools==5.0.0
-
types-filelock==3.2.5
-
types-python-dateutil==2.8.10
-
types-requests==2.27.15
-
types-tabulate==0.8.6
-
types-urllib3==1.26.11
- repo: https://github.com/pycqa/isort - repo: https://github.com/pycqa/isort
rev: '5.10.1' rev: '5.10.1'

42
renovate.json Normal file
View File

@ -0,0 +1,42 @@
{
"extends": [
"config:base",
":prConcurrentLimit20",
":preserveSemverRanges"
],
"ignorePresets": [
":dependencyDashboard"
],
"semanticCommits": "enabled",
"commitMessageTopic": "{{depName}}",
"pip_requirements": {
"fileMatch": [
"(^|/)(requirements[\\w-]*\\.txt|\\.pre-commit-config\\.yaml)$"
]
},
"pre-commit": {
"enabled": true
},
"packageRules": [
{
"matchManagers": ["pre-commit"],
"commitMessageTopic": "{{depName}}",
"semanticCommitScope": "pre-commit"
},
{
"matchPackagePatterns": ["(^|/)mypy$"],
"groupName": "mypy",
"versioning": "pep440",
},
{
"matchPackagePatterns": ["(^|/)flake8$"],
"versioning": "pep440",
"groupName": "flake8"
},
{
"matchPackagePatterns": ["(^|/)isort$"],
"versioning": "pep440",
"groupName": "isort"
}
]
}