Skip to content

Commit

Permalink
build: pre-commit updates
Browse files Browse the repository at this point in the history
  • Loading branch information
makkus committed Dec 18, 2024
1 parent 8aa22f1 commit fbd6f0c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ jobs:
name: conda-pkgs
path: build-dir/
- name: release conda package
run: kiara build conda publish --user dharpa --channel dharpa --token {% raw %}${{ secrets.ANACONDA_PUSH_TOKEN }} build-dir{% endraw %}
run: kiara build conda publish --user dharpa --channel main --token {% raw %}${{ secrets.ANACONDA_PUSH_TOKEN }} build-dir{% endraw %}

merge_tag_to_main:
name: merge current tag to main branch
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,14 @@ default_language_version:
repos:

- repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook
rev: 'v9.15.0'
rev: 'v9.20.0'
hooks:
- id: commitlint
stages: [commit-msg]
additional_dependencies: ['@commitlint/config-conventional']

- repo: https://github.com/psf/black
rev: 24.3.0
hooks:
- id: black

- repo: https://github.com/pre-commit/mirrors-mypy
rev: 'v1.9.0' # Use the sha / tag you want to point at
rev: 'v1.13.0' # Use the sha / tag you want to point at
hooks:
- id: mypy
files: "^src/"
Expand All @@ -26,21 +21,15 @@ repos:

- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.4.1
rev: v0.8.3
hooks:
# Run the linter.
- id: ruff
args: [ --fix ]
# Run the formatter.
#- id: ruff-format

- repo: https://github.com/Kludex/no-optional
rev: 0.4.0
hooks:
- id: no_optional
# - id: ruff-format

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: 'v4.5.0'
rev: 'v4.6.0'
hooks:
- id: trailing-whitespace
exclude: 'setup.cfg'
Expand Down

0 comments on commit fbd6f0c

Please sign in to comment.