Commit Graph

542 Commits

Author SHA1 Message Date
SET e689480395 Added PyPI targets. 2020-08-18 13:20:44 -03:00
Salvador E. Tropea c8c51affc5
Create python-publish.yml 2020-08-18 13:09:17 -03:00
SET 73cade67bd Changed the project name in Coveralls. 2020-08-18 13:06:14 -03:00
SET a311794390 Added link to GitHub actions to the build status badge. 2020-08-18 13:01:06 -03:00
SET 4904e47cf5 Added PyPI future badge
Also unified the badges.
2020-08-18 12:58:41 -03:00
SET d7972285c2 Migrated setup.py to setuptools
Also: now we extract all the metadata from __main__.py
2020-08-18 12:09:55 -03:00
SET 820efd211c Marked sub-packages using __init__.py
Also documented the purpose of these files.
2020-08-18 12:08:52 -03:00
SET a260ccab1f Updated the package meta-data.
Also removed __version__.py, now part of __main__ definitions.
2020-08-18 12:07:44 -03:00
SET 018ce8d0a4 Changed README.md images to be loaded from outside GitHub 2020-08-18 10:55:29 -03:00
SET 231ffa5628 Added comment about update_xml is no longer needed. 2020-08-17 19:52:32 -03:00
SET cd6c1d5ba4 Added CASE2020 paper and poster. 2020-08-17 19:47:24 -03:00
SET cd1ea69c58 Added a picture with the data flow to the README. 2020-08-17 19:38:34 -03:00
SET 89914443f0 Renamed the kiplot module as kibot.
Also added src/kibot script.
Updated the documentation and Debian packaging.
The default extension for config files now is .kibot.yaml
2020-08-16 22:04:03 -03:00
SET f897f04cb9 Changed KiPlot -> KiBom in various places of the README.
Also added some credits.
2020-08-16 18:05:00 -03:00
SET 7e04d4190f Added logo and changed project name in the README. 2020-08-16 17:48:58 -03:00
SET 6ed344cfd6 Updated the README, generic example and CHANGELOG.
SVG output for all and internal BoM for the CHANGELOG.
2020-08-16 17:37:48 -03:00
SET 15dbf9cce3 Added test for the new SVG output 2020-08-16 17:32:40 -03:00
SET 9b9ae21e9e Merge branch 'nerdyscout-svg_plot' into master 2020-08-16 17:10:14 -03:00
SET d624e7a213 Merge branch 'svg_plot' of https://github.com/nerdyscout/kiplot into nerdyscout-svg_plot 2020-08-16 17:09:59 -03:00
SET 356af4b9fb Added copyright information to all the sources. 2020-08-16 11:35:46 -03:00
SET 0de6776cb6 Modified the names of the Makefile test targets. 2020-08-16 11:34:40 -03:00
SET 10c0f21d84 Excluded class macros from coverage.
I'm having problems on bullseye (Python 3.8).
Ideally only the decorator line should be excluded.
2020-08-16 11:33:25 -03:00
SET e8c85a0272 Added logo with slogan 2020-08-16 11:32:40 -03:00
SET 5e68035ad6 Added variant of the robot logo.
Prettier but also heavier.
2020-08-16 10:10:15 -03:00
SET 276c644e1e Added SVG version of the robot logo. 2020-08-16 10:09:45 -03:00
SET bfa912b67f Added test case for variants as an empty string. 2020-08-16 00:24:21 -03:00
SET b0733ae07f Fixed tests that change directory when we run the test on a temporal. 2020-08-16 00:23:43 -03:00
SET 0097308e3c Reduced the complexity of BoMOptions.config (flake8) 2020-08-16 00:23:07 -03:00
SET 70cec67f19 Updated the README and generic example. 2020-08-16 00:22:32 -03:00
SET 71d1ee3bc7 Added better generic example generation.
To add more realistic defaults.
2020-08-15 23:59:39 -03:00
SET 361c9caff9 Encapsulated the global variables. 2020-08-15 22:18:35 -03:00
SET 6dd77be66d Cut extra long line. 2020-08-15 22:18:12 -03:00
SET a2b25ce23e Added a comment about the test strategy in the config errors. 2020-08-15 20:33:30 -03:00
SET 991f070e9f Added variants test. 2020-08-15 20:33:09 -03:00
SET ae54e7bc84 Now the variant option can be a list. 2020-08-15 20:32:10 -03:00
SET d8965218ed Fixed variant details related to case sensitiviness 2020-08-15 20:31:07 -03:00
SET 1a83f34de4 Added tests for fails and variants in the library path guess
Also switched all to pytest.monkeypatch to make it uniform.
2020-08-15 19:30:04 -03:00
SET 3cb7022902 Modified where I catch KiConfError
So coverage has a chance to record it
2020-08-15 18:34:21 -03:00
SET a35f7a0d10 Switched to mock to patch the environment 2020-08-15 18:11:54 -03:00
SET d2a443d52d Fixed where we catch KiConfError during test 2020-08-15 17:56:48 -03:00
SET c0c3302645 Added tests for broken sym-lib-table. 2020-08-15 17:37:50 -03:00
SET 0908a6b599 Added more tests for KiCad config.
No HOME environment variable, guess lib path, determine lib path
from env.
2020-08-15 16:13:10 -03:00
SET e29c7b2a93 Fixed tests adding to sys.path unconditionally 2020-08-15 15:25:02 -03:00
SET 400d5e436d Fixed the KiCad config error tests.
They modified the environment and didn't undo the changes.
2020-08-15 15:24:18 -03:00
SET d277bbbc0b Added test for no KiConf instances and loading config from env
Also moved the KiCad config tests to a separated file.
2020-08-15 13:41:29 -03:00
SET 487021357b Added tests for errors in the sym-lib-table 2020-08-15 12:42:07 -03:00
SET af5c4387fa Added catch for KiConfError 2020-08-15 12:40:57 -03:00
SET 2e1e8a78f3 Made KiCad config errors more readable. 2020-08-15 12:40:13 -03:00
SET 9681064093 Fixed flake8 details 2020-08-15 11:06:45 -03:00
SET 8ba17872dc Recoded get_user_fields.
The previous implementation worked but if we fail to load any of the
default fields we could fail to return one of the user defined ones.
The new code is more robust.
Also commented get_field_names that isn't currently used.
2020-08-15 11:04:25 -03:00