Skip to content

Commit

Permalink
maintenance of build tooling
Browse files Browse the repository at this point in the history
  • Loading branch information
pierreaubert committed Jul 17, 2024
1 parent cbb75f6 commit f21ed59
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
exclude: '^docs'
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v4.6.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
Expand All @@ -13,19 +13,19 @@ repos:
- id: fix-encoding-pragma
- id: requirements-txt-fixer
- repo: https://github.com/psf/black
rev: 24.3.0
rev: 24.4.2
hooks:
- id: black
- repo: https://github.com/PyCQA/flake8
rev: 7.0.0
rev: 7.1.0
hooks:
- id: flake8
- repo: https://github.com/pre-commit/mirrors-csslint
rev: v1.0.5
hooks:
- id: csslint
- repo: https://github.com/pre-commit/mirrors-eslint
rev: 'v9.2.0' # Use the sha / tag you want to point at
rev: 'v9.7.0' # Use the sha / tag you want to point at
hooks:
- id: eslint
additional_dependencies:
Expand All @@ -39,6 +39,6 @@ repos:
types_or: [javascript]
- repo: https://github.com/charliermarsh/ruff-pre-commit
# Ruff version.
rev: 'v0.3.4'
rev: 'v0.5.2'
hooks:
- id: ruff
2 changes: 1 addition & 1 deletion scripts/update_prod_ch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ fi

# copy
echo "Sync starts:"
for target in "$TARGET2" "$TARGET3" "$TARGET4"; do
for target in "$TARGET1" "$TARGET3" "$TARGET4"; do
rsync -avrz --exclude '*.png' --delete ./docs/* "$target"
rsync -arvz --include '*.png' --delete ./docs/pictures/* "$target/pictures"
rsync -arvz --include '*.png' --delete ./docs/help_pictures/* "$target/help_pictures"
Expand Down

0 comments on commit f21ed59

Please sign in to comment.