mirror of
https://github.com/Kozea/Radicale.git
synced 2025-08-25 19:30:54 +00:00
cosmetics
parent
cdd2abf15a
commit
08872aaf2e
1 changed files with 5 additions and 5 deletions
|
@ -12,7 +12,7 @@ In any case, before submitting a PR, please run test locally to validate your PR
|
|||
|
||||
Install required packages, e.g. on Fedora Linux
|
||||
|
||||
```
|
||||
```bash
|
||||
yum install python3-flake8 python3-isort python3-mypy python3-pytest python3-pytest-isort python3-typeguard
|
||||
```
|
||||
|
||||
|
@ -20,7 +20,7 @@ yum install python3-flake8 python3-isort python3-mypy python3-pytest python3-pyt
|
|||
|
||||
#### Run "flake8"
|
||||
|
||||
```
|
||||
```bash
|
||||
flake8
|
||||
...
|
||||
```
|
||||
|
@ -28,7 +28,7 @@ No error should be reported!
|
|||
|
||||
#### Run "isort"
|
||||
|
||||
```
|
||||
```bash
|
||||
isort --check --diff .
|
||||
...
|
||||
```
|
||||
|
@ -36,7 +36,7 @@ No error should be reported!
|
|||
|
||||
#### Run "mypy"
|
||||
|
||||
```
|
||||
```bash
|
||||
python -c 'import importlib.util, subprocess, sys; importlib.util.find_spec("mypy") and sys.exit(subprocess.run(["mypy", "."]).returncode)'
|
||||
...
|
||||
```
|
||||
|
@ -44,7 +44,7 @@ No error should be reported!
|
|||
|
||||
#### Run "pytest"
|
||||
|
||||
```
|
||||
```bash
|
||||
python3 setup.py build || exit 1
|
||||
python3 setup.py install --root dist || exit 1
|
||||
pytest
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue