Commit Graph

11 Commits

Author SHA1 Message Date
Marc Wrobel
c78d1fe2b5 Refactor scripts arguments handling (#456)
- remove the use of environment variables to get directory paths,
- make use of arguments / argparse instead of environment variables in `update.py` and `report.py`,
- automatically guess the data directory in `latest.py` based on the script's location,
- propagate log level to auto scripts,
- move `list_configs_from_argv` from `endoflife` module to `releasedata` module,
- use `list_products` in `latest.py` to load the product's frontmatters.
2025-06-28 19:05:07 +02:00
Marc Wrobel
d1a4918534 Fix report.py 2024-02-22 21:32:00 +01:00
Marc Wrobel
47e29992ae Enable flake8-use-pathlib linting rules (#267)
See https://docs.astral.sh/ruff/rules/#flake8-use-pathlib-pth.
2023-12-30 14:29:24 +01:00
Marc Wrobel
4548a5ab6a Enable flake8-executable linting rules (#267)
See https://docs.astral.sh/ruff/rules/#flake8-executable-exe.
2023-12-30 14:29:24 +01:00
Marc Wrobel
54e7091fd2 Enable flake8-comprehensions linting rules (#267)
See https://docs.astral.sh/ruff/rules/#flake8-comprehensions-c4.
2023-12-30 14:29:24 +01:00
Marc Wrobel
6002cbdb26 Enable isort linting rules (#267)
See https://docs.astral.sh/ruff/rules/#isort-i.
2023-12-30 14:29:24 +01:00
Marc Wrobel
aa3d15a3b5 Add link in README's product list 2023-12-02 12:58:20 +01:00
Hugo van Kemenade
8870ab5e28 Lint on GitHub Actions (#196)
- Lint with pre-commit on GitHub Actions,
- Add some handy pre-hooks,
- Configure Ruff lint rules (https://github.com/astral-sh/ruff).

---------

Co-authored-by: Marc Wrobel <marc.wrobel@gmail.com>
2023-11-26 21:08:12 +01:00
Marc Wrobel
fee4dcbda4 Allow upgrading the products directory in report.py 2023-10-07 12:59:19 +02:00
Nemo
a1a73c60f7 [skip ci] Update README report 2023-06-08 13:32:31 +05:30
Marc Wrobel
8f82712642 Update 'Currently Updated' section in the readme
This update has been generated by the new report.py script.
2023-05-14 17:47:31 +02:00