Salvador E. Tropea
49b21c8e93
[DOCs] Made the filters for ERC/DRC vs globals more clear
...
- Now the KiBot ones doesn't mention KiCad versions
- If the user uses Wxxx for the `error` in the KiBot ones we filter xxx
- Added text to clarify how to get rid of W058 warnings
- Also now we report warning counts when all filtered
Related to #214
2022-09-16 10:16:20 -03:00
Salvador E. Tropea
e273d615f2
Fixed -w implementation issues
...
- Crash when not used
2022-09-16 08:13:10 -03:00
Salvador E. Tropea
252f10e8f3
Added command line option to specify warnings to be excluded.
...
- Useful for warnings issued before applying the global options
(i.e during import).
Fixes #296
2022-09-16 07:48:22 -03:00
Salvador E. Tropea
99bfaec4dc
[Tests] Make the logger tollerant to wrong init sequence
2022-09-07 14:05:02 -03:00
Salvador E. Tropea
d2c607755f
Added log.debugl(LEVEL, msg) function, using verbose level
...
- Not using logging values
2022-06-18 16:35:31 -03:00
Salvador E. Tropea
058d79e4f8
Adapted to KiCost API changes
2022-05-05 10:26:42 -03:00
Salvador E. Tropea
7ddb9f5892
Modified the log system to allow parallel file logging
...
- During quick start targets generation we log with full verbosity
to a file and with the selected verbosity to the console.
2022-04-28 14:43:08 -03:00
Salvador E. Tropea
beee95ce31
Merged the kicost_dk branch:
...
- New internal BoM XLSX options to control KiCost:
- Dis/Enable APIs
- Add a description column
- Specs worksheet generation
- Which spec columns
- Specify a KiCost config file
- Passed debug level to KiCost
- Added support for KiCost log style to our logger
2022-03-24 09:47:47 -03:00
Salvador E. Tropea
0ab3fb410c
Fixed(?) YTT204 `sys.version_info.minor` compared to integer
2022-02-17 18:54:43 -03:00
Salvador E. Tropea
6281a40335
Fixed spelling
2022-02-16 19:56:04 -03:00
Diego Capusotto
5cf60b0361
Fixed config tests
...
- The initialization in out_base forced the need of logger reset
2021-12-17 13:34:15 -03:00
Salvador E. Tropea
c69ef6c274
Fixed problems when trying to filter KiCost warnings.
2021-08-24 10:37:26 -03:00
Salvador E. Tropea
717a2cfbb7
Removed repeated domain on logging logers.
2021-05-11 11:52:12 -03:00
Salvador E. Tropea
95b48ab053
Fixed problem using Python 3.6
...
- Fixes #52
- StreamHandler.setStream introduced in 3.7
2021-02-16 12:02:41 -03:00
Salvador E. Tropea
2a93f97abd
Removed no longer needed import
2021-02-03 16:07:12 -03:00
Salvador E. Tropea
ec273da57b
Removed dead code in log.py.
2021-02-02 10:56:46 -03:00
Salvador E. Tropea
7bf0f90134
Updated mcpyrate.
...
The old one didn't work with Pytest 6.0.2.
2021-02-01 11:13:52 -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
86b1c13790
Now information messages go to stdout (not stderr).
...
Debug, warning and error messages still use stderr.
2021-01-22 17:17:41 -03:00
Salvador E. Tropea
8fb99d8adf
Adjusted flake8 details
2020-11-02 16:06:02 -03:00
Salvador E. Tropea
dfd3ac8881
Added support for colorama.
...
This isn't really needed, but makes the port to Windows easier.
2020-10-24 17:07:58 -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
7a7fc0a87d
Fixed log warning detail.
...
Cases when % was in the string but not for C style.
2020-09-21 20:02:03 -03:00
Salvador E. Tropea
93863788e7
Better log.warning messages
...
- Corrent source for Python 3.8+
- Support for C style formatted strings
2020-09-21 19:15:44 -03:00
Salvador E. Tropea
f38b63236d
Avoid repeating the same warning.
...
Also report a warnings count.
2020-09-10 15:50:53 -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