From 747372c2e1d73bb5f7647c662316b70b403db644 Mon Sep 17 00:00:00 2001 From: Kieran W <41634689+FredHappyface@users.noreply.github.com> Date: Sun, 7 Jan 2024 20:18:20 +0000 Subject: [PATCH] rel 2024 update dependencies --- CHANGELOG.md | 4 ++++ documentation/reference/blackt/index.md | 21 +++++++-------------- pyproject.toml | 12 ++++++------ requirements.txt | 2 +- 4 files changed, 18 insertions(+), 21 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8bc6665..fe72f88 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,10 @@ All major and minor version changes will be documented in this file. Details of patch-level version changes can be found in [commit messages](../../commits/master). +## 2024 - 2024/01/07 + +- update dependencies + ## 2023.1 - 2023/08/31 - Update deps diff --git a/documentation/reference/blackt/index.md b/documentation/reference/blackt/index.md index 5ec8380..d78f7ce 100644 --- a/documentation/reference/blackt/index.md +++ b/documentation/reference/blackt/index.md @@ -30,8 +30,7 @@ Convert spaces to tabs of vice versa #### Signature ```python -def convertFile(file: str, find: str, replace: str): - ... +def convertFile(file: str, find: str, replace: str): ... ``` @@ -45,8 +44,7 @@ Convert spaces to tabs #### Signature ```python -def convertSpacesToTabs(files: list[str], find: str, replace: str): - ... +def convertSpacesToTabs(files: list[str], find: str, replace: str): ... ``` @@ -60,8 +58,7 @@ Convert tabs to spaces #### Signature ```python -def convertTabsToSpaces(files: list[str], find: str, replace: str): - ... +def convertTabsToSpaces(files: list[str], find: str, replace: str): ... ``` @@ -75,8 +72,7 @@ Find source files to process #### Signature ```python -def findSourceFiles() -> list[str]: - ... +def findSourceFiles() -> list[str]: ... ``` @@ -90,8 +86,7 @@ Main entry point #### Signature ```python -def main(): - ... +def main(): ... ``` @@ -105,8 +100,7 @@ Print the output #### Signature ```python -def printOutput(out: str): - ... +def printOutput(out: str): ... ``` @@ -120,8 +114,7 @@ Run black with forwarded args #### Signature ```python -def runBlack(unknown: list[str]) -> tuple[int, str]: - ... +def runBlack(unknown: list[str]) -> tuple[int, str]: ... ``` diff --git a/pyproject.toml b/pyproject.toml index d6e0996..4f40c0d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [tool.poetry] name = "blackt" license = "mit" -version = "2023.1" +version = "2024" description = "Black but with tabs" authors = ["FredHappyface"] classifiers = [ @@ -21,7 +21,7 @@ readme = "README.md" [tool.poetry.dependencies] python = ">=3.8,<4.0" -black = "<24,>=23.7.0" +black = "<24,>=23.12.1" [tool.poetry.scripts] blackt = 'blackt:main' @@ -30,10 +30,10 @@ blackt = 'blackt:main' [tool.poetry.group.dev.dependencies] -pytest = "^7.4.0" -pylint = "^2.17.5" -handsdown = "^2.0.1" -coverage = "^7.3.0" +pytest = "^7.4.4" +pylint = "^3.0.3" +handsdown = "^2.1.0" +coverage = "^7.4.0" [tool.black] line-length = 100 diff --git a/requirements.txt b/requirements.txt index e4376fe..f194c78 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1 @@ -black<24,>=23.7.0 +black<24,>=23.12.1