Commit graph

113 commits

Author SHA1 Message Date
Benoit e3d1ac9581
Merge pull request #17 from blogh/release_0.1.0
Release 0.1.0
2022-07-13 16:56:07 +02:00
benoit 1119abcbdd Release 0.1.0 2022-07-13 16:53:16 +02:00
benoit 951555ee30 Add forgotten requirements-dev.txt 2022-07-13 16:53:07 +02:00
Benoit 29ce7eb36f
Merge pull request #16 from blogh/ci-release
* add release related scripts in tox.ini
* update setup.py
* add a ci to publish when we release => push a tag "v*"
* update CONTRIBUTING.md
2022-07-13 16:47:50 +02:00
benoit c18fa67a09 Tox updates, setup.py fixes and CONTRIBUTING.md 2022-07-13 16:04:49 +02:00
benoit 5198f38620 Review fix 2022-07-13 09:03:23 +02:00
benoit 12832945c3 pyproject.toml 2022-07-12 16:07:57 +02:00
benoit 04f7ea78d3 Add publish workflow 2022-07-12 15:55:48 +02:00
benoit b1398189a0 Release stuff 2022-07-12 15:50:06 +02:00
Benoit 7de233eb69
Add a ci for lint and pytests (#15) 2022-07-12 14:31:23 +02:00
Benoit 8fd2d37772
Merge pull request #14 from blogh/black_setup_py
Black run on the new version of setup.py
2022-07-11 16:32:51 +02:00
benoit 726c1903d8 Black run on the new version of setup.py 2022-07-11 16:31:53 +02:00
Benoit 43cc4ac118
Merge pull request #13 from blogh/few_fixes_before_ci
Few fixes before ci
2022-07-11 16:26:13 +02:00
Étienne BERSAC 9d6ec453ea
Merge pull request #12 from bersace/dev
Dev updates
2022-07-11 16:13:49 +02:00
benoit 6c0768099f Adjust mypy.ini 2022-07-11 15:55:19 +02:00
benoit 64d87d505e Black run 2022-07-11 15:16:19 +02:00
benoit c8043cb482 .gitignore 2022-07-11 15:15:50 +02:00
Étienne BERSAC 0f511dc5cf
Hard code python package
Avoid embedding other package like tests.
2022-07-11 15:06:11 +02:00
Étienne BERSAC cd1461c66d
Move wheel as dev dependency 2022-07-11 15:03:17 +02:00
Benoit 0148ca9c50
Merge pull request #11 from blogh/vagrant_docs_tests
Vagrant docs tests
2022-07-11 14:45:07 +02:00
Benoit 5a1320b2a0
Merge pull request #9 from blogh/mypy
Pin the mypy version
2022-07-11 12:48:05 +02:00
benoit 8519416c11 Rename test to tests 2022-07-11 12:42:59 +02:00
benoit 1e3da856cc Rename doc to docs 2022-07-11 12:42:55 +02:00
Étienne BERSAC c53f446497
Merge pull request #7 from bersace/license
License
2022-07-11 12:42:31 +02:00
benoit 77f07b105e Move vagrant to / 2022-07-11 12:38:39 +02:00
Benoit 21c1ff27d6
Merge pull request #8 from bersace/docs
Review README, extracting CONTRIBUTING
2022-07-11 12:32:55 +02:00
Étienne BERSAC 3ac8570748
Review README, extracting CONTRIBUTING 2022-07-11 12:12:55 +02:00
Étienne BERSAC 98e03e8b54
Make doc/make_readme.sh independent of PWD 2022-07-11 12:12:54 +02:00
benoit 5448f546cf Pin the mypy version 2022-07-11 11:57:59 +02:00
Étienne BERSAC 9414b2d50f
Ignore setuptools dist/ dir 2022-07-11 11:36:53 +02:00
Étienne BERSAC f9240fdd29
Add License file 2022-07-11 11:35:30 +02:00
benoit ed98098bf5 Update .gitignore (add .venv) 2022-07-11 08:59:03 +02:00
benoit 14c7ae5267 Fix README.md 2022-07-11 08:57:14 +02:00
benoit 9735be6904 fix flake8 complaints 2022-02-07 15:13:13 +01:00
benoit aa1de928d3 An attempt at correctly ordering imports 2022-02-07 15:11:05 +01:00
benoit 9ed9b6466d Read state file in cli to pass the info to the checks and summaries 2022-02-07 15:01:50 +01:00
benoit 4de20fefdc Node and Cluster services reviews 2022-02-07 14:18:14 +01:00
benoit ec3b8f6806 Update setup.py and url in README 2022-02-07 11:09:46 +01:00
benoit 7898011c40 Update the README and help 2022-02-07 11:03:12 +01:00
benoit e663695b26 Update README with some test info 2021-12-31 16:17:21 +01:00
benoit b1611e2f78 Vagrant icinga / grafana 2021-12-31 16:11:08 +01:00
benoit 561c3ed9da Fix doc layout and threshold doc 2021-12-31 11:30:17 +01:00
benoit 86f8bdb395 Readme: perfdata for not_tl_has_changed 2021-12-08 17:23:56 +01:00
benoit df58901fd9 Typo Readme 2021-12-08 17:14:38 +01:00
benoit 6c696a03ee Mypy fix
Stop using ctx.parent.params to get the verbose and timeout parameters
parsed in main and use ctx.obj instead.

ctx.parent.params is typed as Optional[Context] which forces us to test
if it's NULL before using it. It's useless in our case because we know
it's not empty and the resulting code is ugly.

The mypy ierror.

Item "None" of "Optional[Context]" has an attribute "params"
[union-attr]
2021-09-11 00:36:57 +02:00
benoit ca95250f2e disaply default values in help 2021-09-10 09:14:19 +02:00
benoit e18ce97d66 Add default value for verbose and fix the type in main parameters 2021-09-09 17:39:12 +02:00
benoit ba687b0e32 Disable some checks from myppy
nagiosplugin has no stubs, it triggers some errors from mypy
2021-09-09 17:17:25 +02:00
benoit 863a238fd3 add pytest.ini 2021-08-26 15:32:11 +02:00
benoit ba1f5ab3e7 Syntax of threshold parameter in README.md 2021-08-26 15:31:47 +02:00