Commit graph

22 commits

Author SHA1 Message Date
Benjamin Renard 85caf81ac2 Introduce some new pre-commit hooks 2024-03-15 10:23:21 +01:00
Benjamin Renard 44bd9a6446
Telltale: add check_entrypoint() to easily implement Icinga checker script 2023-07-10 11:56:03 +02:00
Benjamin Renard f8602801d7
Fix some pylint warnings 2023-07-10 11:55:09 +02:00
Benjamin Renard f597164305
Config: add stuff to handle just-try mode in ConfigurableObject class 2023-06-19 17:07:59 +02:00
Benjamin Renard 63d6a6e0ed
Intruce bandit pre-commit checks 2023-03-23 09:56:31 +01:00
Benjamin Renard 73735b378f
Email: add support for CC & BCC recipients 2023-03-14 17:12:50 +01:00
Benjamin Renard c93b3508ed
Email: add possibility to specify more than one recipient 2023-03-14 16:55:36 +01:00
Benjamin Renard d75a61b4e8
Email: fix handling templates_path default value 2023-03-13 19:13:52 +01:00
Benjamin Renard e71fb28295
Email: add possibility to easily load templates from a directory 2023-03-13 18:58:20 +01:00
Benjamin Renard 62c3fadf96 Introduce pyupgrade,isort,black and configure pre-commit hooks to run all testing tools before commit
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2023-01-16 12:56:12 +01:00
Benjamin Renard a83c3d635f Add mylib.mapping.map_hash() 2023-01-16 12:23:50 +01:00
Benjamin Renard b0fd2b1c6d Code cleaning 2023-01-06 22:18:18 +01:00
Benjamin Renard 54d6c6e0f3 SFTP client: add get_file and open_file methods
All checks were successful
ci/woodpecker/tag/woodpecker Pipeline was successful
2022-06-30 14:34:25 +02:00
Benjamin Renard 9511b31a79 Add SFTP client
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful
2022-06-28 11:05:43 +02:00
Benjamin Renard 5a30541917 Add mylib-test-email-with-config script 2022-01-19 17:31:55 +01:00
Benjamin Renard 51dd4f5724 mylib.script.helpers: move email stuff import to helper function to avoid global requirement 2021-06-23 12:59:48 +02:00
Benjamin Renard 6e85515420 Add missing __init__.py file for mylib.scripts 2021-06-02 19:16:11 +02:00
Benjamin Renard 1cd9432e25 email options: remove short options to avoid conflict 2021-05-26 15:13:15 +02:00
Benjamin Renard b2d33e3ddf mylib.scripts.helpers: add possibility to specify config dict to handle default option values 2021-05-26 14:44:15 +02:00
Benjamin Renard 45f088fa2b scripts.helpers: improve get_opts_parser() 2021-05-26 11:56:02 +02:00
Benjamin Renard 6bbacce38a Code cleaning 2021-05-19 19:19:57 +02:00
Benjamin Renard bd4845f780 Switch to module style lib, make python3 compatibility and clean code 2021-05-19 18:07:42 +02:00