Skip to content

Commit

Permalink
Update ci.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
AAriam committed Nov 17, 2024
1 parent cf2eadd commit 644be9d
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions template/.control/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,12 +94,18 @@ tool:
- id: mixed-line-ending
# https://github.com/pre-commit/pre-commit-hooks#mixed-line-ending
stages: [ pre-commit, manual ]
args: [ --fix, lf ]
args: [ --fix, auto ]
verbose: true
- id: no-commit-to-branch
# https://github.com/pre-commit/pre-commit-hooks#no-commit-to-branch
stages: [ pre-commit ]
args: [ --branch, '${{ branch.main.name }}$', --pattern, '${{ branch.release.name }}$.*' ]
args:
- --branch
- '${{ branch.main.name }}$'
- --pattern
- '${{ branch.release.name }}$.*'
- --pattern
- '${{ branch.pre.name }}$.*'
verbose: true
- id: pretty-format-json
# https://github.com/pre-commit/pre-commit-hooks?tab=readme-ov-file#pretty-format-json
Expand Down Expand Up @@ -204,9 +210,9 @@ tool:
name: Mypy
import_name: mypy
pip:
spec: mypy[reports] == 1.11.2
spec: mypy[reports] == 1.13.0
conda:
spec: mypy = 1.11.2
spec: mypy = 1.13.0
channel: conda-forge
url:
docs: https://mypy.readthedocs.io/
Expand Down

0 comments on commit 644be9d

Please sign in to comment.