Skip to content

Commit

Permalink
chore: update all pipx installation with renovate (serious-scaffold#456)
Browse files Browse the repository at this point in the history
Co-authored-by: huxuan-assistant[bot] <163485190+huxuan-assistant[bot]@users.noreply.github.com>
Co-authored-by: Renovate GitHub Bot <[email protected]>
  • Loading branch information
3 people authored Apr 7, 2024
1 parent f53735b commit e22e59a
Show file tree
Hide file tree
Showing 12 changed files with 36 additions and 20 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
run: |
git config --global user.name github-actions
git config --global user.email [email protected]
- run: pipx install copier
- run: pipx install copier==9.2.0
- run: make consistency
- run: git diff
- run: git status --porcelain
Expand Down
2 changes: 1 addition & 1 deletion .gitlab/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ consistency:
script:
- git config --global user.name gitlab-ci
- git config --global user.email [email protected]
- pipx install copier
- pipx install copier==9.2.0
- make consistency
- git diff
- git status --porcelain
Expand Down
12 changes: 10 additions & 2 deletions .renovaterc.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,16 @@
"customType": "regex",
"datasourceTemplate": "pypi",
"fileMatch": [
"^\\.devcontainer\\/Dockerfile$",
"^template\\/\\.devcontainer/Dockerfile\\.jinja$"
"^README\\.md$",
"^\\.devcontainer/Dockerfile$",
"^\\.github/workflows/.+\\.yml$",
"^\\.gitlab/workflows/.+\\.yml$",
"^docs/.+\\.md$",
"^includes/sample\\.jinja$",
"^template/.*\\.github.*/workflows/.+\\.yml(\\.jinja)?$",
"^template/.*\\.gitlab.*/workflows/.+\\.yml(\\.jinja)?$",
"^template/\\.devcontainer/Dockerfile\\.jinja$",
"^template/docs/.+\\.md(\\.jinja)?$"
],
"matchStrings": [
"pipx install (?<depName>.*?)==(?<currentValue>.*?)[;\n]"
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,11 @@ Certain system-level Python applications are needed and it is recommended to use

```bash
# Copier: Template rendering for projects.
pipx install copier
pipx install copier==9.2.0
# PDM: A modern Python package and dependency manager supporting the latest PEP standards.
pipx install pdm
pipx install pdm==2.13.2
# Pre-commit: Automates Git hooks for code quality checks.
pipx install pre-commit
pipx install pre-commit==3.7.0
```

## 🚀 Quickstart
Expand Down
4 changes: 2 additions & 2 deletions docs/dev/dev-env.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ Using `pipx` for management is recommended and you can find pipx's installation

```bash
# PDM: A modern Python package and dependency manager supporting the latest PEP standards.
pipx install pdm
pipx install pdm==2.13.2
# Pre-commit: Automates Git hooks for code quality checks.
pipx install pre-commit
pipx install pre-commit==3.7.0
```

## Setup
Expand Down
2 changes: 1 addition & 1 deletion docs/dev/proj.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Using `pipx` for management is recommended and you can find pipx's installation

```bash
# Copier: Template rendering for projects.
pipx install copier
pipx install copier==9.2.0
```

## Project Initialization
Expand Down
6 changes: 3 additions & 3 deletions includes/sample.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ Certain system-level Python applications are needed and it is recommended to use

```bash
# Copier: Template rendering for projects.
pipx install copier
pipx install copier==9.2.0
# PDM: A modern Python package and dependency manager supporting the latest PEP standards.
pipx install pdm
pipx install pdm==2.13.2
# Pre-commit: Automates Git hooks for code quality checks.
pipx install pre-commit
pipx install pre-commit==3.7.0
```

## 🚀 Quickstart
Expand Down
12 changes: 10 additions & 2 deletions template/.renovaterc.json.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,17 @@
"customType": "regex",
"datasourceTemplate": "pypi",
"fileMatch": [
"^\\.devcontainer\\/Dockerfile$"
"^README\\.md$",
"^\\.devcontainer/Dockerfile$",
"^\\.github/workflows/.+\\.yml$",
"^\\.gitlab/workflows/.+\\.yml$",
"^docs/.+\\.md$"
[%- if project_name == "Serious Scaffold Python" %],
"^template\\/\\.devcontainer/Dockerfile\\.jinja$"
"^includes/sample\\.jinja$",
"^template/.*\\.github.*/workflows/.+\\.yml(\\.jinja)?$",
"^template/.*\\.gitlab.*/workflows/.+\\.yml(\\.jinja)?$",
"^template/\\.devcontainer/Dockerfile\\.jinja$",
"^template/docs/.+\\.md(\\.jinja)?$"
[%- endif %]
],
"matchStrings": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
run: |
git config --global user.name github-actions
git config --global user.email [email protected]
- run: pipx install copier
- run: pipx install copier==9.2.0
- run: make consistency
- run: git diff
- run: git status --porcelain
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ consistency:
script:
- git config --global user.name gitlab-ci
- git config --global user.email [email protected]
- pipx install copier
- pipx install copier==9.2.0
- make consistency
- git diff
- git status --porcelain
Expand Down
4 changes: 2 additions & 2 deletions template/docs/dev/dev-env.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ Using `pipx` for management is recommended and you can find pipx's installation

```bash
# PDM: A modern Python package and dependency manager supporting the latest PEP standards.
pipx install pdm
pipx install pdm==2.13.2
# Pre-commit: Automates Git hooks for code quality checks.
pipx install pre-commit
pipx install pre-commit==3.7.0
```

## Setup
Expand Down
2 changes: 1 addition & 1 deletion template/docs/dev/proj.md.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Using `pipx` for management is recommended and you can find pipx's installation

```bash
# Copier: Template rendering for projects.
pipx install copier
pipx install copier==9.2.0
```

## Project Initialization
Expand Down

0 comments on commit e22e59a

Please sign in to comment.