Commit Graph

3245 Commits

Author SHA1 Message Date
Salvador E. Tropea a424faa025 [Tests] Changed skip condition for test_render_3d_res_tht_1 2024-01-11 13:04:52 -03:00
Salvador E. Tropea 7a132e0606 [Tests][Added] Very simple THT 3D resistors test 2024-01-11 09:45:56 -03:00
Salvador E. Tropea 2c91fd79bc [3D][Fixed] THT resistors
Problem introduced by pre-commit tests
2024-01-11 09:44:57 -03:00
Salvador E. Tropea 7bfd46e9d6 [PCB_Print] Changed searchable text strategy
Moved the text to the top of the SVG

Fixes #552
2024-01-11 09:19:51 -03:00
Salvador E. Tropea 58641e2bb4 [PDF_Print][Fixed] Text not searchable
- When using newer rsvg-convert tools i.e. 2.54.7
- Previous versions discarded 100% transparent text
- New versions discards text with any level of transparency

Fixes #552
2024-01-10 13:45:48 -03:00
Salvador E. Tropea 2a038d96a2 [Diff][Added] Example for 2color mode 2024-01-10 10:34:08 -03:00
Salvador E. Tropea 2ccb54b04e [Diff][Added] New mode where we can control the added/removed colors
Also fixed the "zones" options help message, altered while creating
a base class
Closes #551
2024-01-10 10:30:27 -03:00
Salvador E. Tropea 58c54a1d71 [Tests][Added] --help-list-rotations and --help-list-offsets 2024-01-09 13:57:16 -03:00
Salvador E. Tropea 57678e6e74 [Tests][Added] --help-errors 2024-01-09 13:53:49 -03:00
Salvador E. Tropea 535972092c [Tests][Added] --help-dependencies --rst 2024-01-09 13:50:46 -03:00
Salvador E. Tropea cc47d4c0a3 [Tests][Added] --help-global-options 2024-01-09 13:47:30 -03:00
Salvador E. Tropea 0c94295105 [Tests][Added] --help-variants 2024-01-09 13:43:51 -03:00
Salvador E. Tropea 187f21e6e7 [Tests][Added] --help-outputs --rst 2024-01-09 13:39:29 -03:00
Salvador E. Tropea 9ea3e39481 [Diff][Fixed] The new logic to check for SCH/PCB 2024-01-09 11:20:10 -03:00
Salvador E. Tropea 8bdf79d8c8 [KiRi][Added] config examples 2024-01-09 11:10:28 -03:00
Salvador E. Tropea 0dfaad0d3a [Tests][Added] Simple KiRi test 2024-01-09 10:54:45 -03:00
Salvador E. Tropea edafc47d0b [KiRi] Check we have the SCH and PCB in the repo
- At least one commit
2024-01-09 10:53:55 -03:00
Salvador E. Tropea 7ce44d71f4 [Tests][Added] -L 2024-01-09 09:14:07 -03:00
Salvador E. Tropea 957968fe58 [Tests] Don't cover windows code 2024-01-09 09:13:47 -03:00
Salvador E. Tropea 9c574efd14 [Tests][Added] --defs-from-env 2024-01-09 08:54:31 -03:00
Salvador E. Tropea 415e97e84b [Tests][Added] --list-variants 2024-01-09 08:45:37 -03:00
Salvador E. Tropea c637dd50c6 [Tests][Added] --list --no-names 2024-01-09 08:35:40 -03:00
Salvador E. Tropea 89d1721adf [Tests] Cover the banners generation code 2024-01-09 08:20:34 -03:00
Salvador E. Tropea 0af0f93a71 [Diff/KiRi] Moved common code to a base class 2024-01-09 08:14:05 -03:00
Salvador E. Tropea 6f3d0c87dc [DOCs] Ajusted coveralls badge 2024-01-09 08:01:03 -03:00
Salvador E. Tropea 19b29f6f6d [Tests][Fixed] RAR fail test
- Now uses _run_command, so we need to patch it
2024-01-08 13:01:53 -03:00
Salvador E. Tropea e64b3864b4 Unified the "run_command" mechanism
- Now most code calls kiplot.run_command
2024-01-08 11:25:48 -03:00
Salvador E. Tropea 7c7d3aff0b [CLI][Added] defs-from-env allows using environment vars for substitution
Closes #549
2024-01-08 10:31:15 -03:00
Salvador E. Tropea 2ba5b7101c Unified some *dont_stop* cases 2024-01-05 13:18:03 -03:00
Salvador E. Tropea 393f45fe54 Restored missing .coveragerc
Oops!
2024-01-05 13:15:40 -03:00
Salvador E. Tropea 190dc0a389 Unified the exit point for errors running external commands 2024-01-05 12:52:46 -03:00
Salvador E. Tropea e9733d9559 [DOCs] Made the *type* more explicit in outputs help 2024-01-05 11:06:18 -03:00
Salvador E. Tropea 14fb810c0f [DOCs] Updated
- Fixed spelling
- New command line option
- New error level
- KiDiff version needed
2024-01-05 10:52:03 -03:00
Salvador E. Tropea f4e6b421de [KiBot Check] Updated KiDiff dependency 2024-01-05 10:51:11 -03:00
Salvador E. Tropea 364f9dbc6e Merge branch 'dev' of https://github.com/INTI-CMNB/KiBot into dev 2024-01-05 09:42:01 -03:00
Salvador E. Tropea 2d5bbffd05
Merge pull request #547 from mdeweerd/flow/pre-commit-action
Flow/pre commit action - upgrade pre-commit hooks
2024-01-05 09:40:47 -03:00
Salvador E. Tropea a5dafbd155 [pre-commit] Updated versions 2024-01-05 09:36:15 -03:00
Salvador E. Tropea 6f7d425ee1 [flake8] Fixed reported issues 2024-01-05 09:33:42 -03:00
Salvador E. Tropea d7392d59ec [Fixed] Spell errors 2024-01-05 09:09:58 -03:00
Salvador E. Tropea 950a875c33 [flake8] Optimized use of map+lambda 2024-01-05 09:02:01 -03:00
Salvador E. Tropea 39e9d5c28c [Fixed] Line commented for tests 2024-01-05 08:34:32 -03:00
Salvador E. Tropea 568510ecd7 [Fixed] Support list of errors (not just tuple) 2024-01-05 08:17:04 -03:00
Salvador E. Tropea 9b87aabd9b [Fixed] KiPlotConfigurationError is more specific than KiPlotError 2024-01-05 07:59:10 -03:00
Salvador E. Tropea cf88b27dde [Tests] Adapted test_int_bom_no_xlsx_support
Now we fail if the XLSX couldn't be created
2024-01-05 07:47:54 -03:00
Salvador E. Tropea d5fa776dbf [Blender Export][Fixed] Make sure output subdirs exists
- Blender seems to be able to create just 1 level
2024-01-05 07:28:40 -03:00
MDW 50f2897835 Update pre-commit hooks 2024-01-05 11:15:52 +01:00
Salvador E. Tropea ab17559a29 [Blender export][Fixed] Problems when no point of view was defined
- The default view wasn't translated.
- Now translated
- Now the render script defaults to 0 rotation if the view is unknown
Fixes #546
2024-01-05 07:04:58 -03:00
MDW f3b9a81df8 ci: Add action to run pre-commit 2024-01-05 11:04:38 +01:00
Salvador E. Tropea 7ec3a1379c Unified some errors details
- Non-critical errors will stop when using -W
- More stack traces on error
- More centralized exit
2024-01-04 13:58:13 -03:00
Salvador E. Tropea 6e914b0959 [CLI][Fixed] Made -D and -W mutually exclusive 2024-01-04 12:40:58 -03:00