SET
92cdf49c2d
Added XLSX tests for style variations.
...
Just tested they are accepted, not correctness.
2020-08-12 13:03:08 -03:00
SET
6d2383a0e1
Fixed test_int_bom_column_rename_xlsx
...
Didn't take the new header return value
2020-08-12 12:24:00 -03:00
SET
45aaef29e6
Excluded from coverage the case where we don't have XSLX support.
2020-08-12 12:07:16 -03:00
SET
8887bcd00c
Added 1 extra char to XSLX columns in bold.
2020-08-12 12:06:41 -03:00
SET
88940119f6
Added test for XLSX header information.
...
Covering various situations, not all.
2020-08-12 12:05:40 -03:00
SET
e353158c29
Removed extra '.' in comment
2020-08-12 12:04:05 -03:00
SET
303bfb38fb
Updated README.md and YAML example
2020-08-12 12:02:43 -03:00
SET
51802aa42b
Added sheetpath + SCH load + sub-sheet recycle test.
...
A sheet is included twice to test dual reference names.
The SCH contains all the possible KiCad elements.
2020-08-12 09:53:47 -03:00
SET
f7473bca12
Fixed the "non grouping" criteria.
...
Now we don't get repeated references for multi-part components.
2020-08-12 09:50:02 -03:00
SET
0503d9ef7d
Added stack trace for the SCH loading.
...
Only when debug enabled.
2020-08-12 09:48:44 -03:00
SET
d26c9a39bd
Modified the "human readable" sheet path to be "/" for the root sheet.
...
Not just empty.
2020-08-12 09:46:46 -03:00
SET
4502860f79
Fixed SCH "Image" load
2020-08-12 09:45:15 -03:00
SET
148b4887ce
Fixed SCH "Entry" load
2020-08-12 09:43:19 -03:00
SET
652b38f04d
Added test for DNF in the Value.
2020-08-11 19:26:37 -03:00
SET
f229956b25
Added test for DNC in value and in Config
2020-08-11 19:09:44 -03:00
SET
3a6550cf07
Added test for `test_regex`
2020-08-11 18:58:17 -03:00
SET
c44955faec
Adjusted test_regex and exclude_any help messages
2020-08-11 18:57:21 -03:00
SET
0f4fa12f1f
Added "include_only" test.
2020-08-11 18:51:35 -03:00
SET
c4833e198a
Excluded "Part" field from collisions.
...
Is natural for aliases.
2020-08-11 18:34:19 -03:00
SET
36a01ee038
Fixed interference between test patterns.
...
KIBOM_TEST_HEAD_TOL, wasn't cloned.
2020-08-11 18:28:38 -03:00
SET
3bb2bc51a0
Added test for "exclude_any"
2020-08-11 18:20:20 -03:00
SET
4fa2267021
Fixed "exclude_any" logic.
2020-08-11 18:19:28 -03:00
SET
17b5e61a43
Removed dead code.
2020-08-11 16:02:00 -03:00
SET
14f2b2b353
Added test for field collision.
2020-08-11 15:54:02 -03:00
SET
ce7b985062
Added more information to the field collision warning
2020-08-11 15:51:58 -03:00
SET
e43196e0d7
Added test for empty user field.
2020-08-11 15:11:14 -03:00
SET
d2bd0da962
Removed more dead code
2020-08-11 15:09:46 -03:00
SET
405e172395
Added test for multi-part component.
...
Check it isn't repeated.
2020-08-11 14:46:10 -03:00
SET
92514e38f0
Removed dead code.
2020-08-11 14:36:32 -03:00
SET
6d50e4bd27
Added test for non contiguous reference ranges.
2020-08-11 13:40:48 -03:00
SET
ace151f1ef
Removed dead code in Joiner class.
2020-08-11 13:40:14 -03:00
SET
d49d3b498f
Added test for empty list of group fields.
2020-08-11 13:21:50 -03:00
SET
acfb74335b
Fixed the Optionable._type method for empty lists.
2020-08-11 13:20:01 -03:00
SET
6d09d662be
Fixed flake8 style details
2020-08-11 12:46:36 -03:00
SET
fe2f5d6c65
Updated the documentation
...
Included new options: highlight_empty and max_col_width
2020-08-11 12:45:28 -03:00
SET
2995270155
Added tests for merge_blank_fields and component_aliases
2020-08-11 12:26:30 -03:00
SET
e530a3bb98
Fixed the merge_blank_fields logic.
...
Now it uses empty fileds as wildcards.
2020-08-11 12:25:08 -03:00
SET
fae2a024dd
Optimized field names collection.
...
Now they are collected on the fly. No need to visit all the components
again.
2020-08-10 19:56:52 -03:00
SET
67cc8e9fca
Enabled LibAlias.__str__ member.
...
Is used only for debug, but helps.
2020-08-10 18:58:36 -03:00
SET
ab0591f102
Removed old comment.
2020-08-10 18:58:03 -03:00
SET
b164e008e3
Fixed HTML output for internal BoM.
...
Reference to wrong config variable.
2020-08-10 18:56:39 -03:00
SET
8828be17e4
Fixed default variant name.
2020-08-10 18:55:58 -03:00
Salvador E. Tropea
78cfcd16c0
Added option to disable the red color for empty cells.
...
Applies only when using colors for column types.
Is for HTML and XLSX
2020-08-06 09:24:48 -03:00
Salvador E. Tropea
77bf713b26
Max number of chars per column configurable in XLSX.
...
Also added row height adjust.
2020-08-06 09:04:16 -03:00
Salvador E. Tropea
7298a5662f
Give more priority to user defined 'Description' field.
...
Only using the one from libs if the user didn't define it.
2020-08-06 09:02:39 -03:00
Salvador E. Tropea
3555059f8f
Better support for UTF-8 in XML output.
...
From SchrodingersGat/KiBoM#129 and SchrodingersGat/KiBoM#130
Fixes problems on Windows 10
2020-08-06 08:59:25 -03:00
Salvador E. Tropea
7563d1a9ad
Implemented the KiCad version in the Internal BoM.
2020-08-05 21:17:20 -03:00
Salvador E. Tropea
8b3d70dae6
Added some UTF-8 text to a field for testing purposes.
2020-08-05 21:16:50 -03:00
Salvador E. Tropea
46c55fcf91
Separated the format specific options for internal BoM
...
And now we have more options.
- CVS: can quote all values.
- HTML and XLSX: styles adjust, including a logo.
- XLSX: now has the same options as HTML
Also a fix in the "join" mechanism for "case insensitive" support.
2020-08-05 19:57:32 -03:00
Salvador E. Tropea
3e6648773f
Fixed column names must be lower case for internal usage.
2020-08-05 19:55:01 -03:00