Skip to content
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

Merge staging into master #149

Merged
merged 17 commits into from
Jan 15, 2024
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
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