Python

undefined

Solutions

1:

pip install ruff mypy pytest pytest-cov

2: (CI )

ruff format --check .

3: Lint :, and more

ruff check .

4:,

mypy --strict src/

5:,

pytest --cov=src --cov-report=term-missing

6: 80% (CI )

pytest --cov=src --cov-fail-under=80

7: and Lint

ruff format . && ruff check --fix .