Commit Graph

7 Commits

Author SHA1 Message Date
Salvador E. Tropea ef24d19ef2 Macropy adaptation
Mcpy doesn't support compiled Python. So I decided to try Macropy, this is a
test.
Is much harder to get it working:
- The script must be a 2 liner, you can't activate it in any other way.
- The hook breaks the _import function in kiplot.py figuring out how to solve
  it was a real challenge. It failed miserably passing the class instead of
  the ast._ClassDef to the macro.
When I finally got it working I found the code supports compiled Python, but
runs almost 3 times slower.
I keep this in a branch in case I want to revisit it, but doesn't look useful.
2020-07-11 19:22:54 -03:00
Salvador E. Tropea adb9e26750 Added examples of problems using Coverage.py with macros. 2020-06-27 20:38:16 -03:00
Salvador E. Tropea cb809cbb8d Added documentation for the technique used for the automagic doc 2020-06-23 11:17:53 -03:00
Salvador E. Tropea a066887744 Modified the macros examples to make them as similar as possible.
So a diff between them is minimal.
2020-06-23 11:16:58 -03:00
Salvador E. Tropea bcb35e90ef Renamed test_mymacros.py to try_mymacros.py for pytest
They aren't regression tests.
2020-06-23 10:36:10 -03:00
Salvador E. Tropea 458d4ba0a9 Removed flake8 issues 2020-06-23 10:27:11 -03:00
Salvador E. Tropea 2bb2bd2034 Added preliminary tests to add "automagic" documenation for the output options 2020-06-22 19:47:37 -03:00