Merge pull request #279 from input-output-hk/more_ruff_checks
refactor: use max function for clarity
refactor: use max function for clarity
Refactored code to use the max function for better readability and consistency. Updated the pyproject.toml to include new linting rules.
Refactored code to use the max function for better readability and consistency. Updated the pyproject.toml to include new linting rules.
fix(docs): pin documentation dependencies
Updated Sphinx to version 8.1.3, m2r2 to version 0.3.3.post2, sphinx-rtd-theme to version 3.0.1, and added docutils version 0.20.1 to make builds more predictable. Also fixes ``` Exception occurred: File "/home/docs/checkouts/readthedocs.org/user_builds/cardano-clusterlib-py/envs/latest/lib/python3.10/site-packages/m2r2.py", line 611, in run path = nodes.reprunicode(path) AttributeError: module 'docutils.nodes' has no attribute 'reprunicode' ```