Skip to content

Commit

Permalink
Merge pull request #149 from fsinfuhh/staging
Browse files Browse the repository at this point in the history
  • Loading branch information
ftsell committed Jan 15, 2024
2 parents 6c88ed8 + 5c51d2b commit d0a1d28
Show file tree
Hide file tree
Showing 23 changed files with 1,780 additions and 4,446 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
1,323 changes: 655 additions & 668 deletions Pipfile.lock

Large diffs are not rendered by default.

Loading

0 comments on commit d0a1d28

Please sign in to comment.