Commit Graph

9 Commits

Author SHA1 Message Date
Jean-Fred Berthelot 7781f5c223 Add isort configuration to sort imports
isort is a Python utility to  to sort imports alphabetically,
and automatically separated into sections.

This config matches the Django coding style:
https://docs.djangoproject.com/en/dev/internals/contributing/writing-code/coding-style/#imports
```
Put imports in these groups: future, standard library, third-party libraries,
other Django components, local Django component, try/excepts.
```

This also adds a tox target, not yet executed by default,
which can be used to easily apply isort (`tox -e isort -- --apply`)
2017-10-17 10:50:45 +01:00
Jean-Frédéric 190c8fcec1 Move freezegun to requirements dev (#521)
`freezegun` is a test dependency and thus belons to `requirements-dev`
Also bumps it from 0.3.8 to latest 0.3.9.
2017-06-06 13:03:09 +01:00
Frank Hamand 75ce4b6133 Update dev requirements 2017-03-16 10:33:31 +00:00
Frank Hamand 1f8cd60a40 Update django_coverage_plugin
It was complaining about TEMPLATE_DEBUG not being set, even though
TEMPLATE_DEBUG now defaults to DEBUG. Newer versions of coverage plugin
work properly
2017-02-16 15:07:48 +00:00
Frank Hamand 1161d5df01 Re-add sqlalchemy requirement - it's still used for test result backend 2017-02-16 14:40:02 +00:00
Frank Hamand 30df15d19a Add another cleanup test and fix celery test broker
Turns out celery doesn't like in-memory sql backends, but has a
built-in memory broker. Use that instead and remove sqlalchemy
requirement
2017-02-16 12:56:20 +00:00
Frank Hamand f59d02926a Move sqlalchemy to requirements-dev.txt
It's only used for tests (to use sqlite as celery queue)
2017-02-16 11:58:11 +00:00
Frank Hamand 2f79bc5a23 Switch to using alpine linux for docker container 2017-02-13 14:08:24 +00:00
Jean-Fred Berthelot a68c2f6b5d Add test coverage support
- Split out requirements in two files
  (testing and main)

- Add Bash script running test with coverage

- Add .coveragerc configuration file,
  including Django coverage plugin

- Add post-build to Travis script running CodeCov
2016-12-22 11:09:43 +00:00