Salvador E. Tropea
338a0cc3d4
Fixed B007 Loop control variable 'i' not used within the loop body.
2022-02-17 19:10:47 -03:00
Salvador E. Tropea
6281a40335
Fixed spelling
2022-02-16 19:56:04 -03:00
Salvador E. Tropea
5fb64472db
Adjusted the generated YAML example to be more coherent
...
- Fixed list on list indentation
- No extra EOL at EOF
- No trailing spaces on some examples
2022-02-16 18:28:05 -03:00
Salvador E. Tropea
3047ab3031
Fixed the YAML example, wrongly quoted string
2022-02-16 17:29:48 -03:00
Salvador E. Tropea
b2ab00f6cb
Added global *units* option
...
Solves the KiCad 6 dimensions issue. See #146
2022-02-14 15:42:54 -03:00
Salvador E. Tropea
4bba7e9a9a
Added global options to define the PCB details.
2022-01-14 13:42:04 -03:00
Salvador E. Tropea
9417b61478
Moved all loggers to the same domain.
...
- To fix the warnings count
2021-12-30 11:09:36 -03:00
Diego Capusotto
267cc38453
Fixed missing documentation for `route_mode_for_oval_holes` option
...
Closes #123
2021-12-17 08:57:45 -03:00
Diego Capusotto
318f0993bf
Now `disable_run_by_default` can be defined as true
...
- To avoid repeating the name of the parent output
- Related to #121
2021-12-14 20:44:37 -03:00
Salvador E. Tropea
70fb334856
A mechanism to avoid running some outputs by default.
...
Related to #112
2021-12-02 18:47:40 -03:00
Salvador E. Tropea
a430916a4a
Now you get an error when defining two outputs with the same name.
2021-12-02 14:58:37 -03:00
Salvador E. Tropea
b9cb24c325
Now you get an error when defining two outputs with the same name.
2021-12-02 13:21:57 -03:00
Salvador E. Tropea
f3b03a4bbe
Fixed variable name.
2021-12-02 10:56:43 -03:00
Salvador E. Tropea
6392124f9f
Added import for globals.
2021-12-02 10:33:19 -03:00
Salvador E. Tropea
c324b0a848
Fix spelling in README.md
...
- This is basically #95 , but applied in a way that we won't lose the
changes after regenerating the docs.
- @SebastianGrau contributed the original changes.
2021-12-01 18:37:58 -03:00
Salvador E. Tropea
094e58eab6
Fixed example to use null instead of None
...
- YAML's null is the equivalent of Python None
- Related to #116
2021-12-01 16:25:55 -03:00
Salvador E. Tropea
c34ba533e6
Fixed unitialized values when no global section was defined.
...
- Introduced by the date formats patch
2021-12-01 15:19:11 -03:00
Salvador E. Tropea
31d0c7d87c
Better error for unknown global variant.
2021-12-01 15:13:12 -03:00
Salvador E. Tropea
a503c5fdc6
Added global options to control the date format.
2021-12-01 14:59:36 -03:00
Salvador E. Tropea
f9a2aac01b
Changed %v/%V to also icnlude the global variant
...
Closes #104
2021-11-22 16:22:52 -03:00
Salvador E. Tropea
4dcb289e73
Fixed problems when importing filter from multiple files.
...
- The 2nd load discarded alredy imported filters
Fixes #114
2021-11-22 12:45:06 -03:00
Salvador E. Tropea
998754753d
Added Default global `dir` option
2021-11-15 14:40:30 -03:00
Salvador E. Tropea
6ebe1f217d
Fixed another error message in the import logic.
2021-10-04 16:08:35 -03:00
Salvador E. Tropea
9e4291ae42
Fixed some `import` error messages
...
- Some errors not detected
- Errors in the error reporting
2021-10-04 15:50:50 -03:00
Salvador E. Tropea
9da44aeafc
Fixed flake8 errors
...
- Missing imports
- Missing "self." qualifier
- Relaxed comlexity
2021-10-04 15:03:11 -03:00
Salvador E. Tropea
ab3bd7f0b3
Added a mechanism to import filters and variants.
...
- Also to restrict which outputs are imported.
- Fixes #88
2021-10-04 14:44:43 -03:00
Salvador E. Tropea
0f0e739026
Changed the default `group_fields` list.
...
Internal BoM: now components with different Tolerance, Voltage, Current
and/or Power fields aren't grouped together.
These fields are now part of the default `group_fields`. (#79 )
2021-09-27 11:31:51 -03:00
Salvador E. Tropea
1b48e614a7
Added pattern expansion in the `dir` option for outputs
...
Closes #58
2021-03-12 21:14:39 -03:00
Salvador E. Tropea
a49d4e45fa
Added import tests.
2021-02-12 11:40:26 -03:00
Salvador E. Tropea
3ed25cc5ff
Now you can import outputs from another config file.
2021-02-11 11:02:58 -03:00
Salvador E. Tropea
befbcc3fe3
Force the output and variant names to be strs
2021-02-11 09:37:05 -03:00
Salvador E. Tropea
34e85d646c
Added KiAuto time-out control (EXPERIMENTAL!!)
...
Related to #48
2021-02-06 20:48:34 -03:00
Salvador E. Tropea
fa7fe0a5d6
Added test for undocumented plug-in in example generation.
2021-02-04 11:45:53 -03:00
Salvador E. Tropea
fa7dde3008
Added test for undocumented filter.
2021-02-04 11:33:52 -03:00
Salvador E. Tropea
dd28c63089
Added test for undocumented preflight.
2021-02-04 11:27:57 -03:00
Salvador E. Tropea
03a5a6d295
Fixed exception when a plug-in class doesn't have a docstring.
2021-02-04 11:13:40 -03:00
Salvador E. Tropea
ba6787660c
Added test for undocumented option.
2021-02-04 10:42:02 -03:00
Salvador E. Tropea
7422e9726c
Removed some "no cover" comments, clasified the rest
2021-02-01 08:53:24 -03:00
Salvador E. Tropea
a6c4bd3bc9
Made clear that generic_plot.kibot.yaml is just a template.
...
Closes #40
2021-01-05 15:14:22 -03:00
Salvador E. Tropea
b0cc64e5c5
Various fixes in the generated example.
...
- Now we can have a `example` different than the default.
- Added some _default members
- Support for missing schematic when using --list
Related to #40
2021-01-05 15:06:23 -03:00
Salvador E. Tropea
86a62bb8ff
Fix example generation for list(dict) cases.
...
Related to #40
2021-01-05 13:53:00 -03:00
Salvador E. Tropea
6eba98d27f
Fix incomplete pre-flight comments in generated example.
...
Related to #40
2021-01-05 13:34:08 -03:00
Salvador E. Tropea
edd4a72277
Better handling of empty type/name attributes in YAML config.
...
From #38
2021-01-04 16:27:52 -03:00
Salvador E. Tropea
263b9c41e4
Fixed log.init() errors when pcbnew/yaml modules aren't installed.
...
Also added tests for these cases.
2020-10-20 11:41:01 -03:00
Salvador E. Tropea
86ead74c27
Added KiBot warning filters.
...
- Closes #15
- This patch also changes the logging initialization, that was broken at
some recent point.
- Also adds tests to ensure the mechanism used to avoid repeated
warnings is working.
2020-10-12 16:31:47 -03:00
Salvador E. Tropea
c8e81a4668
Added numbers to all the warnings
2020-10-09 18:33:51 -03:00
Salvador E. Tropea
43bf78bfb9
Added some help about filters and variants.
2020-09-28 19:25:04 -03:00
Salvador E. Tropea
6b21f00a65
Removed extra blanck line.
2020-09-10 15:47:18 -03:00
Salvador E. Tropea
512776ce8e
Added a mechanism to set a default variant for all outputs.
...
It can be used to overwrite the output file template too.
2020-09-10 12:56:53 -03:00
Salvador E. Tropea
563c00cc5b
Enabled the variants exception catch.
...
Now the variants configuration can raise exceptions.
2020-09-01 18:47:38 -03:00