[DOCs][Added] drc_exclusions_workaround mention in DRC help

See #525
This commit is contained in:
Salvador E. Tropea 2023-12-04 07:34:09 -03:00
parent 4ad1073c6e
commit 20dd4f25d5
3 changed files with 5 additions and 2 deletions

View File

@ -59,6 +59,7 @@ preflight:
# If you need to check the parity use the `update_xml` preflight.
# KiCad 6 introduced `warnings` they are currently counted be the `unconnected` counter of KiBot.
# This will change in the future.
# If you use DRC exclusions please consult the `drc_exclusions_workaround` global option.
run_drc: true
# [boolean=false] Runs the ERC (Electrical Rules Check). To ensure the schematic is electrically correct.
# The report file name is controlled by the global output pattern (%i=erc %x=txt).

View File

@ -84,7 +84,8 @@ Supported preflights
Note that the KiCad 6+ *Test for parity between PCB and schematic* option is not supported. |br|
If you need to check the parity use the `update_xml` preflight. |br|
KiCad 6 introduced `warnings` they are currently counted be the `unconnected` counter of KiBot. |br|
This will change in the future.
This will change in the future. |br|
If you use DRC exclusions please consult the `drc_exclusions_workaround` global option.
- **run_erc**: :index:`: <pair: preflights; run_erc>` [boolean=false] Runs the ERC (Electrical Rules Check). To ensure the schematic is electrically correct.
The report file name is controlled by the global output pattern (%i=erc %x=txt).
- **sch_replace**: :index:`: <pair: preflights; sch_replace>` [dict] Replaces tags in the schematic. I.e. to insert the git hash or last revision date.

View File

@ -30,7 +30,8 @@ class Run_DRC(BasePreFlight): # noqa: F821
Note that the KiCad 6+ *Test for parity between PCB and schematic* option is not supported.
If you need to check the parity use the `update_xml` preflight.
KiCad 6 introduced `warnings` they are currently counted be the `unconnected` counter of KiBot.
This will change in the future """
This will change in the future.
If you use DRC exclusions please consult the `drc_exclusions_workaround` global option """
def __init__(self, name, value):
super().__init__(name, value)
if not isinstance(value, bool):