mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 18:01:54 +00:00
doc: Mention that we should use black
code formatter for topotests
black - https://github.com/psf/black Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
This commit is contained in:
parent
cd05906c41
commit
9dd78258ff
@ -360,6 +360,7 @@ This is the recommended test writing routine:
|
|||||||
- Write a topology (Graphviz recommended)
|
- Write a topology (Graphviz recommended)
|
||||||
- Obtain configuration files
|
- Obtain configuration files
|
||||||
- Write the test itself
|
- Write the test itself
|
||||||
|
- Format the new code using `black <https://github.com/psf/black>`_
|
||||||
- Create a Pull Request
|
- Create a Pull Request
|
||||||
|
|
||||||
Topotest File Hierarchy
|
Topotest File Hierarchy
|
||||||
@ -760,6 +761,8 @@ Requirements:
|
|||||||
inside folders named after the equipment.
|
inside folders named after the equipment.
|
||||||
- Tests must be able to run without any interaction. To make sure your test
|
- Tests must be able to run without any interaction. To make sure your test
|
||||||
conforms with this, run it without the :option:`-s` parameter.
|
conforms with this, run it without the :option:`-s` parameter.
|
||||||
|
- Use `black <https://github.com/psf/black>`_ code formatter before creating
|
||||||
|
a pull request. This ensures we have a unified code style.
|
||||||
|
|
||||||
Tips:
|
Tips:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user