Skip to content

Commit 624a6a6

Browse files
committed
some proress
1 parent f936e1c commit 624a6a6

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

.pre-commit-config.yaml

+4-6
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,12 @@ repos:
66
- repo: local
77
hooks:
88
- id: merge-dicts
9-
- name: merge-dicts
10-
- entry: bash -c 'awk 1 dict dictionaries/*.txt > dict.txt'
11-
# from the example
12-
# - entry: bash -c 'lines=$(pylint api/ | wc -l) && (( lines > 10)) && exit 1'
13-
# - language: system
9+
name: merge-dicts
10+
entry: ./scripts/merge-dicts.sh
11+
language: script
1412
# This one requires package ``hunspell-es_es`` in Archlinux
1513
- repo: https://github.com/humitos/pospell
1614
rev: pre-commit
1715
hooks:
1816
- id: pospell
19-
args: ['--personal-dict', 'dict', '--modified', '--language', 'es_ES', '--language', 'es_AR']
17+
args: ['--personal-dict', 'dict.txt', '--modified', '--language', 'es_ES', '--language', 'es_AR']

library/unittest.mock-examples.po

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ msgstr ""
2626

2727
#: ../Doc/library/unittest.mock-examples.rst:27
2828
msgid "Using Mock"
29-
msgstr ""
29+
msgstr "Usando Mock"
3030

3131
#: ../Doc/library/unittest.mock-examples.rst:30
3232
msgid "Mock Patching Methods"

scripts/merge-dicts.sh

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!/bin/bash
2+
awk 1 dict dictionaries/*.txt > dict.txt

0 commit comments

Comments
 (0)