Skip to content

Commit

Permalink
updated pre-commit hooks to 1.1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
fchastanet committed Nov 12, 2023
1 parent 7425c9c commit 292ef3a
Show file tree
Hide file tree
Showing 7 changed files with 30 additions and 11 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/lint-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ on: # yamllint disable-line rule:truthy
jobs:
linters:
runs-on: ubuntu-22.04
strategy:
fail-fast: true
steps:
- uses: actions/checkout@v3

Expand Down
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ repos:
stages: [commit]

- repo: https://github.com/fchastanet/bash-tools-framework
rev: 1.1.3
rev: 1.1.4
hooks:
- id: fixShebangExecutionBit
- id: frameworkLinter
Expand Down Expand Up @@ -100,7 +100,7 @@ repos:
stages: [push]

- repo: https://github.com/fchastanet/bash-tools-framework
rev: 1.1.3
rev: 1.1.4
hooks:
- id: runUnitTests
- id: plantuml
Expand Down
21 changes: 21 additions & 0 deletions .v8rrc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# - Level of verbose logging. 0 is standard, higher numbers are more verbose
# - overridden by passing --verbose / -v
# - default = 0
verbose: 0

# - Remove cached HTTP responses older than cacheTtl seconds old.
# Specifying 0 clears and disables cache completely
# - overridden by passing --cache-ttl
# - default = 600
cacheTtl: 86400

customCatalog:
schemas:
- name: prettier
description: prettier
fileMatch: ['.prettierrc.yaml']
location: https://json.schemastore.org/prettierrc.json
- name: megalinter
description: megalinter
fileMatch: ['.mega-linter*.yml']
location: https://raw.githubusercontent.com/megalinter/megalinter/main/megalinter/descriptors/schemas/megalinter-configuration.jsonschema.json
2 changes: 1 addition & 1 deletion bin/dbImportProfile
Original file line number Diff line number Diff line change
Expand Up @@ -2028,7 +2028,7 @@ run() {
else
excludedTablesCount=$((excludedTablesCount + 1))
fi
echo " grep -v '^${tableName}$' | # table size ${tableSize}MB"
echo " grep -v '^${tableName}$' | # table size ${tableSize}MB"
done < <(echo "${tableList}")
echo "cat"
tablesCount="$(echo "${tableList}" | wc -l)"
Expand Down
2 changes: 1 addition & 1 deletion src/_binaries/DbImport/dbImportProfile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ run() {
else
excludedTablesCount=$((excludedTablesCount + 1))
fi
echo " grep -v '^${tableName}$' | # table size ${tableSize}MB"
echo " grep -v '^${tableName}$' | # table size ${tableSize}MB"
done < <(echo "${tableList}")
echo "cat"
tablesCount="$(echo "${tableList}" | wc -l)"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# cat represents the whole list of tables
cat |
grep -v '^table1$' | # table size 29MB
grep -v '^table2$' | # table size 10MB
grep -v '^table1$' | # table size 29MB
grep -v '^table2$' | # table size 10MB
# grep -v '^table3$' | # table size 4MB
cat
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# cat represents the whole list of tables
cat |
grep -v '^table1$' | # table size 29MB
# grep -v '^table2$' | # table size 10MB
# grep -v '^table3$' | # table size 4MB
grep -v '^table1$' | # table size 29MB
# grep -v '^table2$' | # table size 10MB
# grep -v '^table3$' | # table size 4MB
cat

0 comments on commit 292ef3a

Please sign in to comment.