1
0
Fork 0
Commit Graph

12 Commits (2ec2fd2a4d870188aefce62f3839c2f7678c09b5)

Author SHA1 Message Date
Corey Shields 2ec2fd2a4d pylint C0111 docstrings
phew, fixed all of the missing-docstring and found some other things along the way (for future changes)
2019-07-12 22:36:18 -04:00
Pierros Papadeas 8a51d27f65 Fix C0325 pylint error
Signed-off-by: Pierros Papadeas <pierros@papadeas.gr>
2019-07-12 19:57:27 +00:00
Corey Shields b7ec119853 pylint C0103
Linting for Pylint C0103

Signed-off-by: Corey Shields <cshields@gmail.com>
2019-07-12 12:41:21 +00:00
Corey Shields 8734748e50 2to3 changes for python3
Mostly list changes, from 2to3

Also missing __future__ needed for _version.py

Signed-off-by: Corey Shields <cshields@gmail.com>
2019-07-10 19:55:48 +02:00
Corey Shields d4fb5189d1 future imports and remove unicode strings
adds from __future__ import unicode_literals, absolute_import, division, print_function to all files, removes unicode strings from RTD conf.py (none other were found in our codebase)

See also https://docs.djangoproject.com/en/1.11/topics/python3/#unicode-literals

fixes #290

tested locally in docker
2019-06-30 19:23:55 -04:00
Vasilis Tsiligiannis 4bb87e2e6a isort: Do not skip install in order to correctly detect third-party imports
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2019-05-09 20:49:10 +03:00
Vasilis Tsiligiannis 655f98f39c Use 'isort' to fix order of imports
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2019-04-27 14:08:11 +03:00
Vasilis Tsiligiannis 140180b6b3 Reformat code with 'yapf', check format using 'tox'
Use configration based on Django coding style guidelines

Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2019-04-27 12:32:33 +03:00
Corey Shields 44fee695b5 fix bare excepts
Upon fixing CI we now have a slew of PEP8 722 issues (bare excepts).  This MR fixes all of those by excepting Exception, which should catch anything the program generates while allowing systemexit exceptions.
2018-07-14 14:50:07 -04:00
Nikos Roussos 105bd308c3
Add decorator for habdling cache more granularly 2017-05-10 12:56:23 +03:00
Nikos Roussos c5157cd450
Add API Key Tokens 2017-03-02 19:57:12 +02:00
Nikos Roussos 223647445f
Model changes to support SiDS 2017-03-02 19:54:27 +02:00