/
outthevoid
/
python_microblogging_service_project
Обзор
Документация
Войти
/
outthevoid
/
python_microblogging_service_project
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
pyproject.toml
69 строк
2 KB
VladimirChukavin
Revert "Вернул проект в исходное состояние."
07 апр 2026, 14:01
07 апр 2026, 14:01
7531b60
Код
Авторство
О чём код?
[project] name = "microblog_service" version = "1.0.0" description = "Сервис микроблогов, похожий на Twitter" readme = "README.md" [tool.black] line-length = 88 [tool.flake8] format = "wemake" doctests = true max-imports = 20 max-methods = 10 max-raises = 5 max-local-variables = 10 max-string-usages = 5 max-asserts = 10 allowed-domain-names = ["result", "content", "file", "item"] extend-ignore = ["E501"] extend-exclude = [".venv", ".git", "__pycache__", ".pytest_cache", ".mypy_cache"] per-file-ignores = [ "app/core/session.py: WPS432", "app/database/models.py: WPS410", "app/models/*.py: WPS432", "app/repositories/media_repo.py: WPS221", "app/repositories/tweet_repo.py: WPS221", "app/schemas/tweet_schema.py: WPS432", "app/services/user_service.py: WPS338, WPS602", "tests/*.py: WPS430, WPS432", "app/main.py: WPS432", "app/utils/*.py: WPS100" ] [tool.isort] profile = "black" line_length = 88 multi_line_output = 3 include_trailing_comma = true force_grid_wrap = 0 use_parentheses = true ensure_newline_before_comments = true src_paths = ["app", "tests"] [tool.mypy] warn_return_any = true disallow_incomplete_defs = true check_untyped_defs = true warn_unused_ignores = true pretty = true exclude = [ "README.md", ".env", ".gitignore", "Dockerfile", "docker-compose.yaml", "nginx.conf", ".*\\.sql$", "^static/.*$", ] [tool.pytest] asyncio_mode = "auto" asyncio_default_fixture_loop_scope = "session" addopts = ["--cov=app", "--cov-report=html"]