logilab-common merge requestshttps://forge.extranet.logilab.fr/open-source/logilab-common/-/merge_requests2023-07-04T21:01:04Zhttps://forge.extranet.logilab.fr/open-source/logilab-common/-/merge_requests/69chore(tox): whitelist_externals has been renamed into allowlist_externals2023-07-04T21:01:04ZLaurent Peuchchore(tox): whitelist_externals has been renamed into allowlist_externalsHello dear contributors,
This is an auto generated modification to help you improve the code base of logilab. If this commit is bad don't hesitate to close this MR and report it here https://forge.extranet.logilab.fr/cubicweb/cube-docto...Hello dear contributors,
This is an auto generated modification to help you improve the code base of logilab. If this commit is bad don't hesitate to close this MR and report it here https://forge.extranet.logilab.fr/cubicweb/cube-doctor/-/issues.
Kind regards,https://forge.extranet.logilab.fr/open-source/logilab-common/-/merge_requests/68feat: update logging colors scheme to match modern pratice2023-07-04T17:31:32ZLaurent Peuchfeat: update logging colors scheme to match modern praticeBeware: a possible endless debate
I've just changed the default colors for logs levels because they didn't made that much sens honestly to match the general practice of what I've seen online (like in bootstrap and all its clones)
Here ...Beware: a possible endless debate
I've just changed the default colors for logs levels because they didn't made that much sens honestly to match the general practice of what I've seen online (like in bootstrap and all its clones)
Here is an example of the result:
![image](/uploads/a901f5c1a2298bc5b8a5a4f3b26386bd/image.png)
I'm sure we can make WAY BETTER logs formatting and all (see loguru screenshot below for inspiration) but this 2 min change is already better than the current situation
Loguru:
![image](/uploads/308ff2963ca4eaeb3ce8722b49c3fb2d/image.png)https://forge.extranet.logilab.fr/open-source/logilab-common/-/merge_requests/67feat: run flynt on the code base to convert everything into f-strings2023-07-04T08:09:57ZLaurent Peuchfeat: run flynt on the code base to convert everything into f-stringsHello dear contributors,
This is an auto generated modification to help you improve the code base of logilab. If this commit is bad don't hesitate to close this MR and report it here https://forge.extranet.logilab.fr/cubicweb/cube-docto...Hello dear contributors,
This is an auto generated modification to help you improve the code base of logilab. If this commit is bad don't hesitate to close this MR and report it here https://forge.extranet.logilab.fr/cubicweb/cube-doctor/-/issues.
Kind regards,https://forge.extranet.logilab.fr/open-source/logilab-common/-/merge_requests/66chore: run teyit on tests2023-04-27T05:22:31ZLaurent Peuchchore: run teyit on testsHello dear contributors,
This is an auto generated modification to help you improve the code base of logilab. If this commit is bad don't hesitate to close this MR and report it here https://forge.extranet.logilab.fr/cubicweb/cube-docto...Hello dear contributors,
This is an auto generated modification to help you improve the code base of logilab. If this commit is bad don't hesitate to close this MR and report it here https://forge.extranet.logilab.fr/cubicweb/cube-doctor/-/issues.
Kind regards,https://forge.extranet.logilab.fr/open-source/logilab-common/-/merge_requests/65refactor: remove inheritance from object since this is deprecated in python 32023-11-02T00:38:16ZLaurent Peuchrefactor: remove inheritance from object since this is deprecated in python 3Hello dear contributors,
This is an auto generated modification to help you improve the code base of logilab. If this commit is bad don't hesitate to close this MR and report it here https://forge.extranet.logilab.fr/cubicweb/cube-docto...Hello dear contributors,
This is an auto generated modification to help you improve the code base of logilab. If this commit is bad don't hesitate to close this MR and report it here https://forge.extranet.logilab.fr/cubicweb/cube-doctor/-/issues.
Kind regards,https://forge.extranet.logilab.fr/open-source/logilab-common/-/merge_requests/64fix: be compatible with importlib_metadata version 62023-01-04T22:13:41ZLaurent Peuchfix: be compatible with importlib_metadata version 6Laurent PeuchLaurent Peuchhttps://forge.extranet.logilab.fr/open-source/logilab-common/-/merge_requests/62ci: add safety job2022-06-15T08:45:31ZLaurent Peuchci: add safety jobLaurent PeuchLaurent Peuchhttps://forge.extranet.logilab.fr/open-source/logilab-common/-/merge_requests/61ci: add twine-check job2022-06-14T18:42:25ZLaurent Peuchci: add twine-check jobLaurent PeuchLaurent Peuchhttps://forge.extranet.logilab.fr/open-source/logilab-common/-/merge_requests/59Topic/default/migrate to v2 of gitlab templates2022-05-25T22:48:16ZLaurent PeuchTopic/default/migrate to v2 of gitlab templatesLaurent PeuchLaurent Peuchhttps://forge.extranet.logilab.fr/open-source/logilab-common/-/merge_requests/58refactor: only collect package name if a global variable is set for speed reason2022-05-21T02:02:22ZLaurent Peuchrefactor: only collect package name if a global variable is set for speed reasonLaurent PeuchLaurent Peuchhttps://forge.extranet.logilab.fr/open-source/logilab-common/-/merge_requests/57chore(test): unpin pytest version2022-05-18T17:27:20ZFrançois Ferrychore(test): unpin pytest versionrelated: https://forge.extranet.logilab.fr/cubicweb/cubicweb/-/issues/34related: https://forge.extranet.logilab.fr/cubicweb/cubicweb/-/issues/34François FerryFrançois Ferryhttps://forge.extranet.logilab.fr/open-source/logilab-common/-/merge_requests/56fix(perf): optimize the code to get package class name2022-05-17T14:25:35ZFrançois Ferryfix(perf): optimize the code to get package class nameFrançois FerryFrançois Ferryhttps://forge.extranet.logilab.fr/open-source/logilab-common/-/merge_requests/55fix(deprecation): get the actual class on which the attribute is renamed2022-04-29T18:04:19ZLaurent Peuchfix(deprecation): get the actual class on which the attribute is renamedIf we go for the class of this instance, sometime those class can be different
for example in an inheritance context.If we go for the class of this instance, sometime those class can be different
for example in an inheritance context.Laurent PeuchLaurent Peuchhttps://forge.extranet.logilab.fr/open-source/logilab-common/-/merge_requests/54chore: uses __depends__ in __pkginfo__ to uniformize format2022-04-26T22:06:28ZLaurent Peuchchore: uses __depends__ in __pkginfo__ to uniformize formatThis way cube-doctor can work on this project.This way cube-doctor can work on this project.Laurent PeuchLaurent Peuchhttps://forge.extranet.logilab.fr/open-source/logilab-common/-/merge_requests/53Topic/default/getting the name of a distribution is complicated2022-04-22T23:09:25ZLaurent PeuchTopic/default/getting the name of a distribution is complicatedThat was a bloody messy hell to debug I hated that.That was a bloody messy hell to debug I hated that.https://forge.extranet.logilab.fr/open-source/logilab-common/-/merge_requests/52fix(deprecation/_get_package_name): handle case were inspect.getfile fails2022-03-31T08:27:09ZLaurent Peuchfix(deprecation/_get_package_name): handle case were inspect.getfile failsLaurent PeuchLaurent Peuchhttps://forge.extranet.logilab.fr/open-source/logilab-common/-/merge_requests/51Save in structured deprecated warnings the "version" and the "package" contai...2022-03-22T13:31:37ZLaurent PeuchSave in structured deprecated warnings the "version" and the "package" containing the warningThis will be used to automatically update the `__pkginfo__.py` when submitting a merge request.
The code is quite optimized to have a unnoticeable performance impact.This will be used to automatically update the `__pkginfo__.py` when submitting a merge request.
The code is quite optimized to have a unnoticeable performance impact.https://forge.extranet.logilab.fr/open-source/logilab-common/-/merge_requests/50style(black): use black >= 21.5b02022-01-04T14:19:26ZFrançois Ferrystyle(black): use black >= 21.5b0François FerryFrançois Ferryhttps://forge.extranet.logilab.fr/open-source/logilab-common/-/merge_requests/48feat: Add header_message in ConfigurationMixIn.generate_config2022-01-04T15:13:39ZNoé Gaumontfeat: Add header_message in ConfigurationMixIn.generate_configAllow helper message to be added in the beginning of the file.
This makes sure all the lines are properly commentedAllow helper message to be added in the beginning of the file.
This makes sure all the lines are properly commentedhttps://forge.extranet.logilab.fr/open-source/logilab-common/-/merge_requests/47fix(typing): correctly type `cached` decorator2022-01-17T08:49:41ZFrank Bessoufix(typing): correctly type `cached` decoratorFrank BessouFrank Bessou