diff --git a/.flake8 b/.flake8 deleted file mode 100644 index 50dd9ac..0000000 --- a/.flake8 +++ /dev/null @@ -1,5 +0,0 @@ -[flake8] -ignore = E203, W503, E501 -exclude = venv*,__pycache__,dist,.git -max-line-length = 88 -max-complexity = 12 \ No newline at end of file diff --git a/.gitignore b/.gitignore index 8564a63..133af27 100644 --- a/.gitignore +++ b/.gitignore @@ -5,4 +5,6 @@ __pycache__ *.egg-info dist -venv \ No newline at end of file +venv +.ruff_cache +.pytest_cache \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 013eac7..a2d3f65 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,21 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [Unreleased](https://github.com/nationalarchives/python-utilities/compare/v1.4.0...HEAD) +## [Unreleased](https://github.com/nationalarchives/python-utilities/compare/v1.5.0...HEAD) + +### Added + +### Changed + +### Deprecated + +### Removed + +### Fixed + +### Security + +## [1.5.0](https://github.com/nationalarchives/python-utilities/compare/v1.4.0...v1.5.0) - 2026-05-14 ### Added @@ -22,8 +36,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - `SimpleJsonApiClient` raises `ApiError` exceptions rather than generic `Exception` - Renamed the `bytes` parameter of `pretty_file_size()` to `filesize_bytes` -### Deprecated - ### Removed - Removed `security_headers` parameter in `Talisman` @@ -33,8 +45,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Fixed logic inversion for `default_headers` in `SimpleJsonApiClient` - Incorrect `ValueError` exceptions changed to `TypeError` -### Security - ## [1.4.0](https://github.com/nationalarchives/python-utilities/compare/v1.3.0...v1.4.0) - 2026-04-14 ### Added diff --git a/poetry.lock b/poetry.lock index 2219a09..4024be1 100644 --- a/poetry.lock +++ b/poetry.lock @@ -220,14 +220,14 @@ dotenv = ["python-dotenv"] [[package]] name = "idna" -version = "3.14" +version = "3.15" description = "Internationalized Domain Names in Applications (IDNA)" optional = false python-versions = ">=3.8" groups = ["main", "test"] files = [ - {file = "idna-3.14-py3-none-any.whl", hash = "sha256:e677eaf072e290f7b725f9acf0b3a2bd55f9fd6f7c70abe5f0e34823d0accf69"}, - {file = "idna-3.14.tar.gz", hash = "sha256:466d810d7a2cc1022bea9b037c39728d51ae7dad40d480fc9b7d7ecf98ba8ee3"}, + {file = "idna-3.15-py3-none-any.whl", hash = "sha256:048adeaf8c2d788c40fee287673ccaa74c24ffd8dcf09ffa555a2fbb59f10ac8"}, + {file = "idna-3.15.tar.gz", hash = "sha256:ca962446ea538f7092a95e057da437618e886f4d349216d2b1e294abfdb65fdc"}, ] [package.extras] @@ -367,14 +367,14 @@ markers = {main = "extra == \"flask\""} [[package]] name = "requests" -version = "2.34.0" +version = "2.34.1" description = "Python HTTP for Humans." optional = false python-versions = ">=3.10" groups = ["main", "test"] files = [ - {file = "requests-2.34.0-py3-none-any.whl", hash = "sha256:917520a21b767485ce7c588f4ebb917c436b24a31231b44228715eaeb5a52c60"}, - {file = "requests-2.34.0.tar.gz", hash = "sha256:7d62fe92f50eb82c529b0916bb445afa1531a566fc8f35ffdc64446e771b856a"}, + {file = "requests-2.34.1-py3-none-any.whl", hash = "sha256:bf38a3ff993960d3dd819c08862c40b3c703306eb7c744fcd9f4ddbb95b548f0"}, + {file = "requests-2.34.1.tar.gz", hash = "sha256:0fc5669f2b69704449fe1552360bd2a73a54512dfd03e65529157f1513322beb"}, ] [package.dependencies] diff --git a/pyproject.toml b/pyproject.toml index bff3108..59baa0d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "tna-utilities" -version = "1.4.0" +version = "1.5.0" requires-python = ">=3.10" authors = [ {name = "Andrew Hosgood", email = "andrew.hosgood@nationalarchives.gov.uk"},