Commit Graph

12 Commits

Author SHA1 Message Date
Christopher Ahern
2758be8680 Fix/pylint cleanup (#8)
Some checks are pending
CI / build (3.10) (push) Waiting to run
CI / build (3.8) (push) Waiting to run
CI / build (3.9) (push) Waiting to run
* Fix pylint warnings across all 24 Python files in web_server

- Add module, class, and function docstrings (C0114, C0115, C0116)
- Fix import ordering: stdlib before third-party before local (C0411)
- Replace wildcard imports with explicit named imports (W0401)
- Remove trailing whitespace and add missing final newlines (C0303, C0304)
- Replace dict() with dict literals (R1735)
- Remove unused imports and variables (W0611, W0612)
- Narrow broad Exception catches to specific exceptions (W0718)
- Replace f-string logging with lazy % formatting (W1203)
- Fix variable naming: UPPER_CASE for constants, snake_case for locals (C0103)
- Add pylint disable comments for necessary global statements (W0603)
- Fix no-else-return, simplifiable-if-expression, singleton-comparison
- Fix bad indentation in stripe.py (W0311)
- Add encoding="utf-8" to open() calls (W1514)
- Add check=True to subprocess.run() calls (W1510)
- Register Celery task modules via conf.include

* Update `package-lock.json` add peer dependencies
2026-02-07 20:57:28 +00:00
JustIceO7
5e9345463a CLEANUP: Tidied up backend code removed unused imports and debugging print statements 2025-03-06 17:26:41 +00:00
JustIceO7
c9455e3b72 FEAT: Email now also shows the username of the account whos password will be reset 2025-02-17 01:49:10 +00:00
JustIceO7
557aeb9091 UPDATE: endpoint_secret for Stripe is stored in .env 2025-02-16 23:06:15 +00:00
JustIceO7
4ddcb3e139 FEAT: Added Stripe webhook to handle user subscriptions
UPDATE: Improved the chat look
2025-02-16 03:53:04 +00:00
JustIceO7
97067e1f87 FIX: Fixed Stripe 2025-02-15 22:06:06 +00:00
white
4e9fa011fa Update: remove unused imports, added better comments and refactored for all blueprints 2025-01-27 12:49:42 +00:00
JustIceO7
ca2a7e9baf created code for user routes and linked olds routes to reflect new ones 2025-01-24 05:11:03 +00:00
Oscar Cao
f2afe5be2a cleaned up flask apis adding skeleton code 2025-01-23 22:42:36 +00:00
c0674c58b4 Moved frontend out of webserver into it's own container 2025-01-23 11:28:53 +00:00
Chris-1010
1ede987914 Fix: Imports on backend
Fix: Connected Backend to Frontend over localhost
2025-01-21 23:54:11 +00:00
043effb6db Reorganised the webservers (temp for now) and docker-compose.yml now works 2025-01-21 00:29:07 +00:00