| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 531ee05 commit 153d373
4 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -33,7 +33,8 @@ jobs: | |||
| 33 | 33 | - uses: actions/setup-python@v4 | |
| 34 | 34 | with: | |
| 35 | 35 | python-version: "3.10" | |
| 36 | - - run: pip install --upgrade -r requirements.txt -r requirements-lint.txt pre-commit | ||
| 36 | + - name: Install pre-commit | ||
| 37 | + run: pip install -r requirements-precommit.txt | ||
| 37 | 38 | - name: Run pre-commit install | |
| 38 | 39 | run: pre-commit install | |
| 39 | 40 | - name: pre-commit run all-files | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -44,3 +44,7 @@ repos: | |||
| 44 | 44 | - id: rst-backticks | |
| 45 | 45 | - id: rst-directive-colons | |
| 46 | 46 | - id: rst-inline-touching-normal | |
| 47 | + - repo: https://github.com/maxbrunet/pre-commit-renovate | ||
| 48 | + rev: 32.201.2 | ||
| 49 | + hooks: | ||
| 50 | + - id: renovate-config-validator | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -4,39 +4,31 @@ | |||
| 4 | 4 | ":enablePreCommit", | |
| 5 | 5 | "schedule:weekly" | |
| 6 | 6 | ], | |
| 7 | - "ignoreDeps": ["relekang/python-semantic-release"], | ||
| 8 | - "pip_requirements": { | ||
| 9 | - "fileMatch": ["^requirements(-[\\w]*)?\\.txt$"] | ||
| 10 | - }, | ||
| 11 | 7 | "regexManagers": [ | |
| 12 | 8 | { | |
| 13 | - "fileMatch": ["^tests\\/functional\\/fixtures\\/.env$"], | ||
| 14 | - "matchStrings": ["GITLAB_TAG=(?<currentValue>.*?)\n"], | ||
| 9 | + "fileMatch": [ | ||
| 10 | + "^tests\\/functional\\/fixtures\\/.env$" | ||
| 11 | + ], | ||
| 12 | + "matchStrings": [ | ||
| 13 | + "GITLAB_TAG=(?<currentValue>.*?)\n" | ||
| 14 | + ], | ||
| 15 | 15 | "depNameTemplate": "gitlab/gitlab-ce", | |
| 16 | 16 | "datasourceTemplate": "docker", | |
| 17 | 17 | "versioningTemplate": "loose" | |
| 18 | - }, | ||
| 19 | - { | ||
| 20 | - "fileMatch": ["^.pre-commit-config.yaml$"], | ||
| 21 | - "matchStrings": ["- (?<depName>.*?)==(?<currentValue>.*?)\n"], | ||
| 22 | - "datasourceTemplate": "pypi", | ||
| 23 | - "versioningTemplate": "pep440" | ||
| 24 | 18 | } | |
| 25 | 19 | ], | |
| 26 | 20 | "packageRules": [ | |
| 27 | 21 | { | |
| 28 | - "packagePatterns": ["^gitlab\/gitlab-.+$"], | ||
| 22 | + "packagePatterns": [ | ||
| 23 | + "^gitlab\/gitlab-.+$" | ||
| 24 | + ], | ||
| 29 | 25 | "automerge": true | |
| 30 | 26 | }, | |
| 31 | 27 | { | |
| 32 | - "matchPackagePrefixes": ["types-"], | ||
| 28 | + "matchPackagePrefixes": [ | ||
| 29 | + "types-" | ||
| 30 | + ], | ||
| 33 | 31 | "groupName": "typing dependencies" | |
| 34 | - }, | ||
| 35 | - { | ||
| 36 | - "matchPackagePatterns": ["(^|/)black$"], | ||
| 37 | - "versioning": "pep440", | ||
| 38 | - "ignoreUnstable": false, | ||
| 39 | - "groupName": "black" | ||
| 40 | - } | ||
| 32 | + } | ||
| 41 | 33 | ] | |
| 42 | 34 | } | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1 @@ | |||
| 1 | + pre-commit==2.20.0 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments