diff --git a/docs/reports.md b/docs/reports.md new file mode 100644 index 00000000..7d30ac92 --- /dev/null +++ b/docs/reports.md @@ -0,0 +1,9 @@ +# Overview + +In this project used code-quality analyzers and testing system. Here you can found last success results: + +- Type checking [mypy](/reports/typechecking) +- Lint [flake8](/reports/flake8) +- Tests [pytest](/reports/tests) with [coverage](/reports/coverage) + +This documentation is also generated only when all checks are passed. diff --git a/mkdocs.yml b/mkdocs.yml index 98585311..572043e1 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -213,6 +213,7 @@ nav: - api/types/game_high_score.md - api/sending_files.md - Build reports: + - reports.md - Tests result: /reports/tests - Code coverage: /reports/coverage - mypy results: /reports/typechecking diff --git a/tests/test_api/test_types/test_input_file.py b/tests/test_api/test_types/test_input_file.py index ccc5d063..ba475f23 100644 --- a/tests/test_api/test_types/test_input_file.py +++ b/tests/test_api/test_types/test_input_file.py @@ -1,6 +1,7 @@ from typing import AsyncIterable import pytest + from aiogram.api.types import BufferedInputFile, FSInputFile, InputFile