blob: 6f3eec4330b9b93faf4d96e0e8adb9b1c226c5bc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
# Ohjeita kehitykseen
## Riippuvuuksien asennus:
`PYTHON_KEYRING_BACKEND=keyring.backends.fail.Keyring poetry install --no-root`
## Aja pytest:
`poetry run python3 -m pytest`
## Generoi haarakattavuusraportti:
`poetry run python3 -m coverage run --branch -m pytest -v && poetry run python3 -m coverage html && firefox htmlcov/index.html`
## Linttaus:
`poetry run python3 -m pylint -v .`
## Kaikki samassa:
`poetry run python3 -m coverage run --branch -m pytest -v && poetry run python3 -m coverage html && firefox htmlcov/index.html && poetry run python3 -m pylint -v .`
|