Skip to content

Update .pre-commit-config.yaml #701

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Aug 20, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,15 @@ repos:
rev: master
hooks:
- id: powrap
- repo: local
hooks:
- id: merge-dicts
name: merge-dicts
entry: ./scripts/merge-dicts.sh
language: script
# This one requires package ``hunspell-es_es`` in Archlinux
- repo: https://github.com/humitos/pospell
rev: pre-commit
hooks:
- id: pospell
args: ['--personal-dict', 'dict', '--modified', '--language', 'es_ES', '--language', 'es_AR']
args: ['--personal-dict', 'dict.txt', '--modified', '--language', 'es_ES', '--language', 'es_AR']
1 change: 1 addition & 0 deletions dictionaries/library_unittest.mock-examples.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Mock
2 changes: 1 addition & 1 deletion library/unittest.mock-examples.po
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ msgstr ""

#: ../Doc/library/unittest.mock-examples.rst:27
msgid "Using Mock"
msgstr ""
msgstr "Usando Mock"

#: ../Doc/library/unittest.mock-examples.rst:30
msgid "Mock Patching Methods"
Expand Down
2 changes: 2 additions & 0 deletions scripts/merge-dicts.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/bash
awk 1 dict dictionaries/*.txt > dict.txt