mirror of
https://github.com/Kozea/Radicale.git
synced 2025-07-02 16:58:30 +00:00
Updated Contributions (markdown)
parent
25b8ef4eb3
commit
61a8696015
1 changed files with 20 additions and 0 deletions
|
@ -6,7 +6,27 @@ In case of bigger changes, please start a discussion first.
|
||||||
|
|
||||||
In any case, before submitting a PR, please run test locally to validate your PR
|
In any case, before submitting a PR, please run test locally to validate your PR
|
||||||
|
|
||||||
|
## Syntax/Code Test
|
||||||
|
|
||||||
|
### Run "flake8"
|
||||||
|
|
||||||
```
|
```
|
||||||
|
flake8
|
||||||
|
...
|
||||||
|
```
|
||||||
|
|
||||||
|
### Run "isort"
|
||||||
|
|
||||||
|
```
|
||||||
|
isort --check --diff .
|
||||||
|
...
|
||||||
|
```
|
||||||
|
|
||||||
|
### Run "pytest"
|
||||||
|
|
||||||
|
```
|
||||||
|
python3 setup.py build || exit 1
|
||||||
|
python3 setup.py install --root dist || exit 1
|
||||||
pytest
|
pytest
|
||||||
...
|
...
|
||||||
```
|
```
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue