Skip to content
Snippets Groups Projects
Commit 707b3708 authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Merge branch 'update/tox-makemessages' into 'master'

Add makemessages env to tox.ini

See merge request !8
parents fa5e9029 7ead0de9
No related branches found
No related tags found
1 merge request!8Add makemessages env to tox.ini
Pipeline #39153 failed
...@@ -35,6 +35,7 @@ commands = ...@@ -35,6 +35,7 @@ commands =
[testenv:build] [testenv:build]
commands_pre = commands_pre =
poetry install
poetry run sh -c "cd aleksis; aleksis-admin compilemessages" poetry run sh -c "cd aleksis; aleksis-admin compilemessages"
commands = poetry build commands = poetry build
...@@ -46,6 +47,11 @@ commands = ...@@ -46,6 +47,11 @@ commands =
poetry run isort aleksis/ poetry run isort aleksis/
poetry run black aleksis/ poetry run black aleksis/
[testenv:makemessages]
commands =
poetry run aleksis-admin makemessages --no-wrap -e html,txt,py,email -i static -l ar -l de_DE -l fr -l nb_NO -l tr_TR -l la
poetry run aleksis-admin makemessages --no-wrap -d djangojs -i **/node_modules -l ar -l de_DE -l fr -l nb_NO -l tr_TR -l la
[flake8] [flake8]
max_line_length = 100 max_line_length = 100
exclude = migrations,tests exclude = migrations,tests
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment