Skip to content

Commit

Permalink
[Fixed] Missing warning 132 definition
Browse files Browse the repository at this point in the history
  • Loading branch information
set-soft committed Sep 8, 2023
1 parent 85a5645 commit 16d0aef
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,5 +97,5 @@ repos:
hooks:
- id: vermin
# specify your target version here, OR in a Vermin config file as usual:
args: ['-t=3.7-', '--violations']
args: ['-t=2.7', '-t=3.7-', '--violations']
# (if your target is specified in a Vermin config, you may omit the 'args' entry entirely)
5 changes: 4 additions & 1 deletion kibot/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
DXF_SCH_PRINT = 32
HPGL_SCH_PRINT = 33
CORRUPTED_PRO = 34
BLENDER_ERROR = 35
error_level_to_name = ['NONE',
'INTERNAL_ERROR',
'WRONG_ARGUMENTS',
Expand Down Expand Up @@ -79,7 +80,8 @@
'PS_SCH_PRINT',
'DXF_SCH_PRINT',
'HPGL_SCH_PRINT',
'CORRUPTED_PRO'
'CORRUPTED_PRO',
'BLENDER_ERROR'
]
KICOST_SUBMODULE = '../submodules/KiCost/src/kicost'
EXAMPLE_CFG = 'example_template.kibot.yaml'
Expand Down Expand Up @@ -282,6 +284,7 @@
W_FLDCOLLISION = '(W129) '
W_NEWGROUP = '(W130) '
W_NOTINBOM = '(W131) '
W_MISSDIR = '(W132) '
# Somehow arbitrary, the colors are real, but can be different
PCB_MAT_COLORS = {'fr1': "937042", 'fr2': "949d70", 'fr3': "adacb4", 'fr4': "332B16", 'fr5': "6cc290"}
PCB_FINISH_COLORS = {'hal': "8b898c", 'hasl': "8b898c", 'imag': "8b898c", 'enig': "cfb96e", 'enepig': "cfb96e",
Expand Down

0 comments on commit 16d0aef

Please sign in to comment.