mirror of
https://github.com/aljazceru/CTFd.git
synced 2025-12-17 22:14:25 +01:00
* add: use ruff instead of flake8 * Update ruff switches and remove flake8 plugins * fix: ignore linting rules * fix: ignore I001 * fix: spaces before noqa --------- Co-authored-by: Kevin Chung <kchung@ctfd.io>
13 lines
455 B
Python
13 lines
455 B
Python
from flask_restx import Namespace
|
|
|
|
statistics_namespace = Namespace(
|
|
"statistics", description="Endpoint to retrieve Statistics"
|
|
)
|
|
|
|
# isort:imports-firstparty
|
|
from CTFd.api.v1.statistics import challenges # noqa: F401,I001
|
|
from CTFd.api.v1.statistics import scores # noqa: F401
|
|
from CTFd.api.v1.statistics import submissions # noqa: F401
|
|
from CTFd.api.v1.statistics import teams # noqa: F401
|
|
from CTFd.api.v1.statistics import users # noqa: F401
|