From 4037170efe819fc95f5663d2bd111e8f02843649 Mon Sep 17 00:00:00 2001 From: Linh Pham Date: Wed, 20 Mar 2024 20:00:31 -0700 Subject: [PATCH] Bump black to 24.3.0 --- .vscode/settings.json | 2 +- CHANGELOG.md | 6 ++++++ app/version.py | 2 +- pyproject.toml | 3 +-- requirements-dev.txt | 2 +- 5 files changed, 10 insertions(+), 5 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 5a8ceaa..d7ccffc 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -5,7 +5,7 @@ "editor.formatOnSave": true, "editor.codeActionsOnSave": { "source.fixAll": "explicit", - "source.organizeImports": "explicit", + "source.sortImports": "explicit", }, "editor.defaultFormatter": "ms-python.black-formatter" } diff --git a/CHANGELOG.md b/CHANGELOG.md index 54a02e6..6610e79 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changes +## 2.9.1 + +### Development Changes + +- Upgrade black from 23.12.1 to 24.3.0 + ## 2.9.0 ### Application Changes diff --git a/app/version.py b/app/version.py index 07f7857..ce9133d 100644 --- a/app/version.py +++ b/app/version.py @@ -5,4 +5,4 @@ # vim: set noai syntax=python ts=4 sw=4: """Version module for Wait Wait Reports.""" -APP_VERSION = "2.9.0" +APP_VERSION = "2.9.1" diff --git a/pyproject.toml b/pyproject.toml index cfb0682..b4beaa3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [tool.black] -required-version = "23.12.1" +required-version = "24.3.0" target-version = ["py310", "py311", "py312"] line-length = 88 @@ -80,7 +80,6 @@ convention = "numpy" "S101", # use of "assert" "S102", # use of "exec" "S106", # possible hardcoded password. - "PGH001", # use of "eval" ] [tool.ruff.pep8-naming] diff --git a/requirements-dev.txt b/requirements-dev.txt index 1d39d5c..19b033e 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,4 +1,4 @@ -black==23.12.1 +black==24.3.0 ruff==0.1.13 pytest==7.4.4