mirror of
				https://github.com/sb745/NyaaV3.git
				synced 2025-11-04 09:55:46 +02:00 
			
		
		
		
	
				* Replace all `from nyaa import app` imports with `app = flask.current_app` (or `from flask import current_app as app` where possible) * Add a separate config object for top-level and class statements as `nyaa.extensions.config` Required because those codes don't have app context at the time of evaluation/execution. * Remove `routes.py` file and register all blueprints in `nyaa/__init__.py` * Refactor `nyaa/__init__.py` into an app factory * Update tools * Update tests (temporary, will be replaced)  | 
			||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_api_handler.py | ||
| test_backend.py | ||
| test_bencode.py | ||
| test_models.py | ||
| test_nyaa.py | ||
| test_template_utils.py | ||
| test_utils.py | ||