You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sam Walton edited this page Apr 15, 2020
·
2 revisions
Code and framework
TWLight runs on Django 1.11 (a Django 2 upgrade will be taking place soon), and uses Python 3.7 via a virtual environment.
Linting
We enforce Python code formatting via black - tests will fail (both locally and on Travis) if black detects an issue with your code formatting. Run black on your code before pushing it via docker-compose exec twlight /venv/bin/black -t py37 /app/TWLight.