Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update versions #90

Merged
merged 2 commits into from
Jun 29, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
steps:
- uses: actions/checkout@v3

- uses: actions/setup-python@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,10 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-python@v3
- uses: pre-commit/action@v2.0.3
- uses: actions/setup-python@v4
with:
python-version: "3.x"
- uses: pre-commit/action@v3.0.0
with:
extra_args: --hook-stage manual --all-files
- name: Run PyLint
Expand All @@ -45,7 +47,7 @@ jobs:
with:
fetch-depth: 0

- uses: actions/setup-python@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

Expand Down
10 changes: 6 additions & 4 deletions {{cookiecutter.project_name}}/.github/workflows/ci-trampolim.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,10 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-python@v3
- uses: pre-commit/action@v2.0.3
- uses: actions/setup-python@v4
with:
python-version: "3.x"
- uses: pre-commit/action@v3.0.0
with:
extra_args: --hook-stage manual --all-files
- name: Run PyLint
Expand All @@ -48,7 +50,7 @@ jobs:
with:
fetch-depth: 0

- uses: actions/setup-python@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

Expand All @@ -71,7 +73,7 @@ jobs:
- name: Build sdist and wheel
run: pipx run build

- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
with:
path: dist

Expand Down
8 changes: 5 additions & 3 deletions {{cookiecutter.project_name}}/.github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,10 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-python@v3
- uses: pre-commit/action@v2.0.3
- uses: actions/setup-python@v4
with:
python-version: "3.x"
- uses: pre-commit/action@v3.0.0
with:
extra_args: --hook-stage manual --all-files
- name: Run PyLint
Expand All @@ -48,7 +50,7 @@ jobs:
with:
fetch-depth: 0

- uses: actions/setup-python@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
with:
fetch-depth: 0

- uses: pypa/cibuildwheel@v2.5.0
- uses: pypa/cibuildwheel@v2.7.0

- name: Upload wheels
uses: actions/upload-artifact@v3
Expand Down
14 changes: 7 additions & 7 deletions {{cookiecutter.project_name}}/.pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/psf/black
rev: 22.3.0
rev: 22.6.0
hooks:
- id: black-jupyter

Expand Down Expand Up @@ -32,7 +32,7 @@ repos:
- id: rst-inline-touching-normal

- repo: https://github.com/pre-commit/mirrors-prettier
rev: "v2.6.2"
rev: "v2.7.1"
hooks:
- id: prettier
types_or: [yaml, markdown, html, css, scss, javascript, json]
Expand All @@ -51,7 +51,7 @@ repos:
args: ["-a", "from __future__ import annotations"] # Python 3.7+

- repo: https://github.com/asottile/pyupgrade
rev: v2.32.0
rev: v2.34.0
hooks:
- id: pyupgrade
args: ["--py37-plus"]
Expand All @@ -65,18 +65,18 @@ repos:

{%- endif %}

{%- if cookiecutter.project_type == "pybind11" or cookiecutter.project_type == "skbuild" %}
{%- if cookiecutter.project_type == "pybind11" or cookiecutter.project_type == "skbuild" %}

- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v14.0.1
rev: v14.0.6
hooks:
- id: clang-format
types_or: [c++, c, cuda]

{%- endif %}

- repo: https://github.com/hadialqattan/pycln
rev: v1.3.2
rev: v1.3.5
hooks:
- id: pycln
additional_dependencies: [click<8.1]
Expand All @@ -100,7 +100,7 @@ repos:
additional_dependencies: *flake8_dependencies

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.950
rev: v0.961
hooks:
- id: mypy
files: src
Expand Down