Skip to content

Commit

Permalink
Merge pull request #147 from fsinfuhh/cleanup/translation_files
Browse files Browse the repository at this point in the history
Update and fixup som translation file weirdness
  • Loading branch information
timonegk authored Jan 15, 2024
2 parents 42e05ef + 125c38d commit 509e7bf
Show file tree
Hide file tree
Showing 19 changed files with 1,120 additions and 3,774 deletions.
17 changes: 16 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,22 @@ on:
jobs:

check-pre-commit:
uses: fsinfuhh/workflows/.github/workflows/check_pre_commit.yml@main
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.10"
cache: pipenv
- name: install dependencies
run: pip install pre-commit pipenv
- name: install project dependencies
run: |
sudo apt update
sudo apt install -y --no-install-recommends libgpgme-dev libsasl2-dev libldap2-dev libmagic-dev libjpeg-dev libgraphviz-dev gettext
pipenv sync --dev
- name: execute pre-commit check
run: pre-commit run --show-diff-on-failure --color=always --all-files

test:
runs-on: ubuntu-latest
Expand Down
10 changes: 10 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,21 @@ repos:
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files

- repo: https://github.com/psf/black
rev: "23.1.0"
hooks:
- id: black

- repo: https://github.com/PyCQA/isort
rev: "5.12.0"
hooks:
- id: isort

- repo: local
hooks:
- id: check_i18n
name: Check that i18n files have been updated
pass_filenames: false
language: system
entry: pipenv run ./manage.py makemessages --all
Loading

0 comments on commit 509e7bf

Please sign in to comment.