Skip to content

Commit bce17f2

Browse files
authored
Merge pull request #701 from python/clacri-precommitfix
Update .pre-commit-config.yaml
2 parents 69551e1 + 9db3115 commit bce17f2

File tree

4 files changed

+11
-2
lines changed

4 files changed

+11
-2
lines changed

.pre-commit-config.yaml

+7-1
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,15 @@ repos:
33
rev: master
44
hooks:
55
- id: powrap
6+
- repo: local
7+
hooks:
8+
- id: merge-dicts
9+
name: merge-dicts
10+
entry: ./scripts/merge-dicts.sh
11+
language: script
612
# This one requires package ``hunspell-es_es`` in Archlinux
713
- repo: https://github.com/humitos/pospell
814
rev: pre-commit
915
hooks:
1016
- id: pospell
11-
args: ['--personal-dict', 'dict', '--modified', '--language', 'es_ES', '--language', 'es_AR']
17+
args: ['--personal-dict', 'dict.txt', '--modified', '--language', 'es_ES', '--language', 'es_AR']
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Mock

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)