Skip to content

Latest commit

 

History

History
40 lines (29 loc) · 788 Bytes

CONTRIBUTING.md

File metadata and controls

40 lines (29 loc) · 788 Bytes

Contributing

Translating the project

This project is available in multiple language. Your contribution would be very appreciated if you know a language that is not yet available.

I18n

python manage.py makemessages
# python manage.py createsuperuser ? (You need to login for rosetta)
python manage.py runserver
# Access http://localhost:8000/admin to login
# Then go to http://localhost:8000/rosetta to translate
python manage.py makemessages --no-obsolete --no-wrap

Testing

python manage.py test

Coverage

coverage run ./manage.py test
coverage html
# Open htmlcov/index.html in a navigator

Lint

We're using pre-commit, it should take care of linting during commit.

pip3 install -e ".[dev]"
pre-commit install