Skip to content

Commit

Permalink
[DOCs][Added] drc_exclusions_workaround mention in DRC help
Browse files Browse the repository at this point in the history
See #525
  • Loading branch information
set-soft committed Dec 4, 2023
1 parent 4ad1073 commit 20dd4f2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions docs/samples/generic_plot.kibot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down
3 changes: 2 additions & 1 deletion docs/source/configuration/sup_preflights.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
3 changes: 2 additions & 1 deletion kibot/pre_run_drc.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 20dd4f2

Please sign in to comment.