Commit graph

10 commits

Author SHA1 Message Date
Midgard 4f7ffc0e3d
Reformat with black 2020-07-17 11:40:15 +02:00
Jan-Pieter Baert a81055b574
Remove useless 'str(...)' usage 2019-12-06 15:34:39 +01:00
Jan-Pieter Baert 38923abd3d
Remove error comparing str and int
Here the elif compares to 0, while username is a string, which causes
errors.
2019-10-28 13:51:50 +01:00
Jan-Pieter Baert 48641adf90
Fix pylint for Haldis 2019-09-12 20:53:25 +02:00
Jan-Pieter Baert 15794b06b7
Add typing to general app files 2019-09-08 01:58:21 +02:00
mcbloch d591f846d8
add and run black formatter 2019-09-05 03:33:29 +02:00
mcbloch d0863325a5
Restructuring the codebase!
But for real, it's a real shitstorm in there.
- Added context by making the init go through a function
  and not implicitly happen via imports
- Fixup all context and contextless function mixups
- splitup the models in sensible different files
- give the dump of view functions in views/__init__.py their own file
- add all routes via blueprints, not half of them
- move the slack notifications function and class to its own file,
    no idea what it was doing in a views file in the first place.
2019-08-28 03:46:04 +02:00
Rien Maertens 4eda1e3f36
Use adams for oauth 2017-02-18 19:08:11 +01:00
Feliciaan De Palmenaer 6abd9614ab Fix deprecations 2017-01-06 12:05:31 +01:00
James 6cb9bf067f This is really going to hurt 2015-03-31 20:15:22 +02:00