Commit Graph

1410 Commits

Author SHA1 Message Date
Salvador E. Tropea c3b229ba0c Fixed D300 Use """triple double quotes""" 2022-02-17 18:47:27 -03:00
Salvador E. Tropea d7e0cc2936 Fixed last patch 2022-02-17 18:44:34 -03:00
Salvador E. Tropea f26ab6ede8 Fixed B006 Do not use mutable data structures for argument defaults. 2022-02-17 16:45:10 -03:00
Salvador E. Tropea 15b2075c96 Fixed B011 Do not call assert False 2022-02-17 16:37:01 -03:00
Salvador E. Tropea c8d131fe11 Fixed C416 Unnecessary list comprehension - rewrite using list(). 2022-02-17 16:32:16 -03:00
Salvador E. Tropea f0c581d144 Fixed C405 Unnecessary list literal - rewrite as a set literal. 2022-02-17 16:31:30 -03:00
Salvador E. Tropea c11627f56d Fixed C402 Unnecessary generator - rewrite as a dict comprehension. 2022-02-17 16:07:17 -03:00
Salvador E. Tropea 9082a7ec69 Fixed C413 Unnecessary list call around sorted(). 2022-02-17 16:04:13 -03:00
Salvador E. Tropea 128a10f383 Moved flake8 config to setup.cfg 2022-02-17 16:03:54 -03:00
Salvador E. Tropea 8b23a0904e Configured falke8 for pre-commit 2022-02-17 12:47:01 -03:00
Salvador E. Tropea ebc6458948 Fixed schematic: Paper orientation was discarded on v5 files.
Fixes #150
2022-02-17 12:40:29 -03:00
Salvador E. Tropea 174bd44a09 Changed: The `source` path for `compress` now has pattern expansion
Fixes #152
2022-02-17 10:56:11 -03:00
Salvador E. Tropea b5ff069a63 Added pre-commit run to the lint target 2022-02-16 20:07:54 -03:00
Salvador E. Tropea 3bc8a2f44a Disabled some pre-commit checks and configured others 2022-02-16 20:01:26 -03:00
Salvador E. Tropea 6281a40335 Fixed spelling 2022-02-16 19:56:04 -03:00
Salvador E. Tropea 751f093de9 Removed extra "pass" statements 2022-02-16 19:04:44 -03:00
Salvador E. Tropea 47d87663c9 Added yamllint configuration 2022-02-16 18:30:57 -03:00
Salvador E. Tropea ee74b1572b Made all YAML files more coherent
- Better indentation
- Coherent spaces in lists
- Coherent spacesn after :
2022-02-16 18:29:53 -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 680541154e Merge branch 'mdeweerd-pre-commit' 2022-02-16 17:43:57 -03:00
Salvador E. Tropea 7781582962 Made executable some scripts 2022-02-16 17:39:18 -03:00
Salvador E. Tropea 1e26bc0d04 Added missing shebangs 2022-02-16 17:37:28 -03:00
Salvador E. Tropea a2cbdd25ac Removed trailing spaces 2022-02-16 17:35:31 -03:00
Salvador E. Tropea aa48cc3187 Forced files to end in a single new line 2022-02-16 17:34:34 -03:00
Salvador E. Tropea 3047ab3031 Fixed the YAML example, wrongly quoted string 2022-02-16 17:29:48 -03:00
Salvador E. Tropea 148e4ad9a7 Excluded the experiments dir 2022-02-16 17:20:20 -03:00
mdeweerd 80c360e251 Add pre-commit configuration 2022-02-15 15:51:20 +01: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 ccbb8a6060 Adapted two tests to the new details
- New pcbnew import in gs.py
- New return value for _get_columns()
2022-02-14 14:49:16 -03:00
Salvador E. Tropea d3ad786dd5 Fixed extra columns added by default 2022-02-14 14:19:56 -03:00
Salvador E. Tropea 5d2d0a4195 Added MacroFab XYRS support
- Internal BoM options:
  - `angle_positive`
  - `csv.hide_header`
  - `footprint_populate_values`
  - `footprint_type_values`
  - `units` mils
- Columns:
  - `Footprint Type`
  - `Footprint Populate`
  - `Footprint X-Size`
  - `Footprint Y-Size`
2022-02-14 13:49:56 -03:00
Salvador E. Tropea d7430499d2 Removed coverage exclusions for KiCad 6 code 2022-02-11 12:58:39 -03:00
Salvador E. Tropea b37295af69 Fixed KiCad 6 reference for test_position_rot_5 2022-02-11 12:55:34 -03:00
Salvador E. Tropea 71c77e89ce Fixed bom generation when no PCB is available. 2022-02-11 12:16:34 -03:00
Salvador E. Tropea edbe29740b Internal BoM: XYRS support
- Now the `bom` output can generate files like `position`
2022-02-11 11:45:43 -03:00
Salvador E. Tropea ed4ff70033 Internal BoM: two other options for the sorting criteria. 2022-02-11 11:04:21 -03:00
Salvador E. Tropea 644f6d1fda Internal BoM: Added footprint X, Y, rotation and side columns
- First step towards XYRS support
2022-02-11 11:01:14 -03:00
Salvador E. Tropea 23c8eae16b Added a dimension to the simple_2layer.kicad_pcb
Related to #142
2022-02-09 17:26:03 -03:00
Salvador E. Tropea c488013843 Added git to the dev/dev_k6 images
- Needed to replace the git hash/date
Closes #147
2022-02-09 16:24:17 -03:00
Salvador E. Tropea c700eeff45 Added Manufacturer and P/N to the light control example. 2022-02-09 16:19:46 -03:00
Salvador E. Tropea db6cf3dace Added Board View test 2022-02-07 13:27:56 -03:00
Salvador E. Tropea ae0fdd74ee More deterministic Board View output
- More things sorted
2022-02-07 13:26:58 -03:00
Salvador E. Tropea d1f6b28afa Fixed test_kicad_conf_local_conf
- Now supports nightly cases
2022-01-29 16:38:50 -03:00
Salvador E. Tropea 73a95edfc2 Merge branch 'Atmelfan-master'
Fixes #144
2022-01-29 16:34:28 -03:00
Salvador E. Tropea fac1c21282 Fixed flake8 errors 2022-01-29 16:33:32 -03:00
Salvador E. Tropea 400d06f9b3 Adjusted error messages and crossed comp generation.
- Also the name of the member for lib_name
2022-01-29 16:16:39 -03:00
Salvador E. Tropea 3b7b200d4f Merge branch 'master' of https://github.com/Atmelfan/KiBot into Atmelfan-master 2022-01-29 15:16:48 -03:00
Salvador E. Tropea 8c3bb74eb7 Upgraded to mcpyrate 3.6.0 (last release) 2022-01-29 14:38:00 -03:00
Gustav Palmqvist 70fdb9c617 Handle lib_name in symbol instance 2022-01-27 23:16:54 +01:00
Salvador E. Tropea fbfee8771d Fixed KiCad 6 reference reports 2022-01-18 16:41:39 -03:00