From 51a2465a8a23d1ebe7e1f24bb3b031bec7222bb4 Mon Sep 17 00:00:00 2001 From: Hakan Celik Date: Fri, 17 Nov 2023 23:48:29 +0300 Subject: [PATCH] Add: Support for Python version 3.11. --- .pre-commit-config.yaml | 2 +- action.yml | 2 +- docs/index.md | 2 +- docs/tutorial/use-with-github-action.md | 2 +- setup.cfg | 2 +- src/unimport/__init__.py | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c8d686e0..bc078761 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -12,7 +12,7 @@ repos: - id: isort - repo: https://github.com/hakancelikdev/unimport - rev: 1.0.1 + rev: 1.1.0 hooks: - id: unimport diff --git a/action.yml b/action.yml index 1c12800b..a498d044 100644 --- a/action.yml +++ b/action.yml @@ -10,7 +10,7 @@ inputs: runs: using: "composite" steps: - - run: pip install --upgrade pip && python -m pip install unimport==1.0.1 + - run: pip install --upgrade pip && python -m pip install unimport==1.1.0 shell: bash - run: unimport --color auto --gitignore --ignore-init ${{ inputs.extra_args }} shell: bash diff --git a/docs/index.md b/docs/index.md index 2bf17fc0..ab8cb3b3 100644 --- a/docs/index.md +++ b/docs/index.md @@ -29,5 +29,5 @@ process with Unimport. - **Documentation** https://unimport.hakancelik.dev/ - **Issues** https://github.com/hakancelikdev/unimport/issues/ -- **Changelog** https://unimport.hakancelik.dev/1.0.1/CHANGELOG/ +- **Changelog** https://unimport.hakancelik.dev/1.1.0/CHANGELOG/ - **Playground** https://playground-unimport.hakancelik.dev/ diff --git a/docs/tutorial/use-with-github-action.md b/docs/tutorial/use-with-github-action.md index a3c68b2d..eaa78522 100644 --- a/docs/tutorial/use-with-github-action.md +++ b/docs/tutorial/use-with-github-action.md @@ -27,7 +27,7 @@ jobs: - uses: actions/checkout@v3.5.3 - uses: actions/setup-python@v4.6.1 - name: Check unused imports - uses: hakancelikdev/unimport@1.0.1 + uses: hakancelikdev/unimport@1.1.0 with: extra_args: --include src/ ``` diff --git a/setup.cfg b/setup.cfg index 47e9711b..e1640a98 100644 --- a/setup.cfg +++ b/setup.cfg @@ -30,7 +30,7 @@ classifiers = project_urls = Documentation = https://unimport.hakancelik.dev/ Issues = https://github.com/hakancelikdev/unimport/issues/ - Changelog = https://unimport.hakancelik.dev/1.0.1/CHANGELOG/ + Changelog = https://unimport.hakancelik.dev/1.1.0/CHANGELOG/ [options] python_requires = >=3.6, <3.12 diff --git a/src/unimport/__init__.py b/src/unimport/__init__.py index 1a841bda..0c311180 100644 --- a/src/unimport/__init__.py +++ b/src/unimport/__init__.py @@ -1,2 +1,2 @@ -__version__ = "1.0.1" +__version__ = "1.1.0" __description__ = "A linter, formatter for finding and removing unused import statements."