From 1a3b6f92e86794efa5684c5e45df79548819995a Mon Sep 17 00:00:00 2001 From: Marc Mueller <30130371+cdce8p@users.noreply.github.com> Date: Sat, 10 Apr 2021 13:02:06 +0200 Subject: [PATCH 01/47] Bump version to 0.3.4.dev1 --- python_typing_update/const.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python_typing_update/const.py b/python_typing_update/const.py index e05773d..30a8773 100644 --- a/python_typing_update/const.py +++ b/python_typing_update/const.py @@ -6,8 +6,8 @@ from enum import Flag, auto from typing import NamedTuple -version = (0, 3, 3) -dev_version = None # Set to `None` for release +version = (0, 3, 4) +dev_version = 1 # Set to `None` for release version_str = '.'.join(map(str, version)) if dev_version is not None: From 52294cd00e3dd8fdd1e26cdd581aba0b78605037 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 16 Apr 2021 12:51:37 +0200 Subject: [PATCH 02/47] Bump flake8 from 3.9.0 to 3.9.1 (#24) * Bump flake8 from 3.9.0 to 3.9.1 Bumps [flake8](https://gitlab.com/pycqa/flake8) from 3.9.0 to 3.9.1. - [Release notes](https://gitlab.com/pycqa/flake8/tags) - [Commits](https://gitlab.com/pycqa/flake8/compare/3.9.0...3.9.1) Signed-off-by: dependabot[bot] * Update pre-commit-config Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com> --- .pre-commit-config.yaml | 2 +- requirements_test_pre_commit.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f4e4788..2c75a9f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -6,7 +6,7 @@ repos: args: [--py38-plus] exclude: &fixtures ^tests/fixtures/.+\.py$ - repo: https://gitlab.com/pycqa/flake8 - rev: 3.9.0 + rev: 3.9.1 hooks: - id: flake8 files: ^(python_typing_update|script|tests)/.+\.py$ diff --git a/requirements_test_pre_commit.txt b/requirements_test_pre_commit.txt index 390af90..d8df008 100644 --- a/requirements_test_pre_commit.txt +++ b/requirements_test_pre_commit.txt @@ -1,3 +1,3 @@ -flake8==3.9.0 +flake8==3.9.1 isort==5.8.0 pyupgrade==2.12.0 From 4fabbef0a03a5f8204126134ace7bf760d36e93c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 19 Apr 2021 11:25:21 +0200 Subject: [PATCH 03/47] Bump actions/cache from v2.1.4 to v2.1.5 (#26) Bumps [actions/cache](https://github.com/actions/cache) from v2.1.4 to v2.1.5. - [Release notes](https://github.com/actions/cache/releases) - [Commits](https://github.com/actions/cache/compare/v2.1.4...1a9e2138d905efd099035b49d8b7a3888c653ca8) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/ci.yaml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 9988e00..3bdf892 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -37,7 +37,7 @@ jobs: 'requirements_test_pre_commit.txt') }}" - name: Restore Python virtual environment id: cache-venv - uses: actions/cache@v2.1.4 + uses: actions/cache@v2.1.5 with: path: venv key: >- @@ -60,7 +60,7 @@ jobs: hashFiles('.pre-commit-config.yaml') }}" - name: Restore pre-commit environment id: cache-precommit - uses: actions/cache@v2.1.4 + uses: actions/cache@v2.1.5 with: path: ${{ env.PRE_COMMIT_CACHE }} key: >- @@ -87,7 +87,7 @@ jobs: python-version: ${{ env.DEFAULT_PYTHON }} - name: Restore Python virtual environment id: cache-venv - uses: actions/cache@v2.1.4 + uses: actions/cache@v2.1.5 with: path: venv key: ${{ runner.os }}-${{ steps.python.outputs.python-version }}-${{ @@ -99,7 +99,7 @@ jobs: exit 1 - name: Restore pre-commit environment id: cache-precommit - uses: actions/cache@v2.1.4 + uses: actions/cache@v2.1.5 with: path: ${{ env.PRE_COMMIT_CACHE }} key: ${{ runner.os }}-${{ needs.prepare-base.outputs.pre-commit-key }} @@ -128,7 +128,7 @@ jobs: python-version: ${{ env.DEFAULT_PYTHON }} - name: Restore Python virtual environment id: cache-venv - uses: actions/cache@v2.1.4 + uses: actions/cache@v2.1.5 with: path: venv key: ${{ runner.os }}-${{ steps.python.outputs.python-version }}-${{ @@ -158,7 +158,7 @@ jobs: python-version: ${{ env.DEFAULT_PYTHON }} - name: Restore Python virtual environment id: cache-venv - uses: actions/cache@v2.1.4 + uses: actions/cache@v2.1.5 with: path: venv key: ${{ runner.os }}-${{ steps.python.outputs.python-version }}-${{ @@ -198,7 +198,7 @@ jobs: 'requirements_test_pre_commit.txt') }}" - name: Restore Python virtual environment id: cache-venv - uses: actions/cache@v2.1.4 + uses: actions/cache@v2.1.5 with: path: venv key: >- @@ -233,7 +233,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Restore Python virtual environment id: cache-venv - uses: actions/cache@v2.1.4 + uses: actions/cache@v2.1.5 with: path: venv key: ${{ runner.os }}-${{ steps.python.outputs.python-version }}-${{ From dbb012f3e82bee4b094904b3645ca724c57182bd Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 19 Apr 2021 12:45:21 +0200 Subject: [PATCH 04/47] Bump actions/setup-python from v2.2.1 to v2.2.2 (#25) Bumps [actions/setup-python](https://github.com/actions/setup-python) from v2.2.1 to v2.2.2. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](https://github.com/actions/setup-python/compare/v2.2.1...dc73133d4da04e56a135ae2246682783cc7c7cb6) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/ci.yaml | 12 ++++++------ .github/workflows/release.yaml | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 3bdf892..db52a27 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -26,7 +26,7 @@ jobs: uses: actions/checkout@v2.3.4 - name: Set up Python ${{ env.DEFAULT_PYTHON }} id: python - uses: actions/setup-python@v2.2.1 + uses: actions/setup-python@v2.2.2 with: python-version: ${{ env.DEFAULT_PYTHON }} - name: Generate partial Python venv restore key @@ -82,7 +82,7 @@ jobs: uses: actions/checkout@v2.3.4 - name: Set up Python ${{ env.DEFAULT_PYTHON }} id: python - uses: actions/setup-python@v2.2.1 + uses: actions/setup-python@v2.2.2 with: python-version: ${{ env.DEFAULT_PYTHON }} - name: Restore Python virtual environment @@ -123,7 +123,7 @@ jobs: uses: actions/checkout@v2.3.4 - name: Set up Python ${{ env.DEFAULT_PYTHON }} id: python - uses: actions/setup-python@v2.2.1 + uses: actions/setup-python@v2.2.2 with: python-version: ${{ env.DEFAULT_PYTHON }} - name: Restore Python virtual environment @@ -153,7 +153,7 @@ jobs: uses: actions/checkout@v2.3.4 - name: Set up Python ${{ env.DEFAULT_PYTHON }} id: python - uses: actions/setup-python@v2.2.1 + uses: actions/setup-python@v2.2.2 with: python-version: ${{ env.DEFAULT_PYTHON }} - name: Restore Python virtual environment @@ -187,7 +187,7 @@ jobs: uses: actions/checkout@v2.3.4 - name: Set up Python ${{ matrix.python-version }} id: python - uses: actions/setup-python@v2.2.1 + uses: actions/setup-python@v2.2.2 with: python-version: ${{ matrix.python-version }} - name: Generate partial Python venv restore key @@ -228,7 +228,7 @@ jobs: uses: actions/checkout@v2.3.4 - name: Set up Python ${{ matrix.python-version }} id: python - uses: actions/setup-python@v2.2.1 + uses: actions/setup-python@v2.2.2 with: python-version: ${{ matrix.python-version }} - name: Restore Python virtual environment diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index b475ec6..046af6f 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -17,7 +17,7 @@ jobs: uses: actions/checkout@v2.3.4 - name: Set up Python ${{ env.DEFAULT_PYTHON }} id: python - uses: actions/setup-python@v2.2.1 + uses: actions/setup-python@v2.2.2 with: python-version: ${{ env.DEFAULT_PYTHON }} - name: Install requirements From f1ac1f414865f2a109bccb35b1031566e3760f85 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 19 Apr 2021 13:02:31 +0200 Subject: [PATCH 05/47] Bump pre-commit from 2.12.0 to 2.12.1 (#27) Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 2.12.0 to 2.12.1. - [Release notes](https://github.com/pre-commit/pre-commit/releases) - [Changelog](https://github.com/pre-commit/pre-commit/blob/master/CHANGELOG.md) - [Commits](https://github.com/pre-commit/pre-commit/compare/v2.12.0...v2.12.1) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- requirements_test.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements_test.txt b/requirements_test.txt index aeb53d9..0ccc783 100644 --- a/requirements_test.txt +++ b/requirements_test.txt @@ -1,6 +1,6 @@ -r requirements_test_pre_commit.txt mypy==0.812 -pre-commit==2.12.0 +pre-commit==2.12.1 pylint==2.7.4 pytest==6.2.3 pytest-asyncio==0.14.0 From 9b848e88ec7af46b0000bfa175d8872fd17b01ff Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 19 Apr 2021 13:02:45 +0200 Subject: [PATCH 06/47] Bump pytest-asyncio from 0.14.0 to 0.15.0 (#28) Bumps [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio) from 0.14.0 to 0.15.0. - [Release notes](https://github.com/pytest-dev/pytest-asyncio/releases) - [Commits](https://github.com/pytest-dev/pytest-asyncio/compare/v0.14.0...v0.15.0) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- requirements_test.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements_test.txt b/requirements_test.txt index 0ccc783..a82389f 100644 --- a/requirements_test.txt +++ b/requirements_test.txt @@ -3,4 +3,4 @@ mypy==0.812 pre-commit==2.12.1 pylint==2.7.4 pytest==6.2.3 -pytest-asyncio==0.14.0 +pytest-asyncio==0.15.0 From f6f259e832a2624f4572fcc68fd8fe8501224f8d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 21 Apr 2021 20:26:04 +0200 Subject: [PATCH 07/47] Bump pyupgrade from 2.12.0 to 2.13.0 (#29) * Bump pyupgrade from 2.12.0 to 2.13.0 Bumps [pyupgrade](https://github.com/asottile/pyupgrade) from 2.12.0 to 2.13.0. - [Release notes](https://github.com/asottile/pyupgrade/releases) - [Commits](https://github.com/asottile/pyupgrade/compare/v2.12.0...v2.13.0) Signed-off-by: dependabot[bot] * Update pre-commit-config Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com> --- .pre-commit-config.yaml | 2 +- requirements.txt | 2 +- requirements_test_pre_commit.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2c75a9f..a61d5b0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/asottile/pyupgrade - rev: v2.12.0 + rev: v2.13.0 hooks: - id: pyupgrade args: [--py38-plus] diff --git a/requirements.txt b/requirements.txt index 536723d..253a5dc 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ aiofiles==0.6.0 autoflake==1.4 isort==5.8.0 -pyupgrade==2.12.0 +pyupgrade==2.13.0 reorder-python-imports==2.4.0 diff --git a/requirements_test_pre_commit.txt b/requirements_test_pre_commit.txt index d8df008..60f8ddd 100644 --- a/requirements_test_pre_commit.txt +++ b/requirements_test_pre_commit.txt @@ -1,3 +1,3 @@ flake8==3.9.1 isort==5.8.0 -pyupgrade==2.12.0 +pyupgrade==2.13.0 From 5173a1f388308ba81780a144451f067f2751b152 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 22 Apr 2021 09:45:22 +0200 Subject: [PATCH 08/47] Bump pytest-asyncio from 0.15.0 to 0.15.1 (#30) Bumps [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio) from 0.15.0 to 0.15.1. - [Release notes](https://github.com/pytest-dev/pytest-asyncio/releases) - [Commits](https://github.com/pytest-dev/pytest-asyncio/compare/v0.15.0...v0.15.1) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- requirements_test.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements_test.txt b/requirements_test.txt index a82389f..87da3e0 100644 --- a/requirements_test.txt +++ b/requirements_test.txt @@ -3,4 +3,4 @@ mypy==0.812 pre-commit==2.12.1 pylint==2.7.4 pytest==6.2.3 -pytest-asyncio==0.15.0 +pytest-asyncio==0.15.1 From 61c8e3d07380f103aaa02bd3cf24173bc60a6686 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 26 Apr 2021 13:40:15 +0200 Subject: [PATCH 09/47] Bump reorder-python-imports from 2.4.0 to 2.5.0 (#32) Bumps [reorder-python-imports](https://github.com/asottile/reorder_python_imports) from 2.4.0 to 2.5.0. - [Release notes](https://github.com/asottile/reorder_python_imports/releases) - [Commits](https://github.com/asottile/reorder_python_imports/compare/v2.4.0...v2.5.0) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 253a5dc..b41911f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,4 +2,4 @@ aiofiles==0.6.0 autoflake==1.4 isort==5.8.0 pyupgrade==2.13.0 -reorder-python-imports==2.4.0 +reorder-python-imports==2.5.0 From fbbc56f48f31289c7c48df1bbd2d4a27b25fe426 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 26 Apr 2021 13:42:46 +0200 Subject: [PATCH 10/47] Bump pylint from 2.7.4 to 2.8.1 (#31) Bumps [pylint](https://github.com/PyCQA/pylint) from 2.7.4 to 2.8.1. - [Release notes](https://github.com/PyCQA/pylint/releases) - [Changelog](https://github.com/PyCQA/pylint/blob/master/ChangeLog) - [Commits](https://github.com/PyCQA/pylint/compare/pylint-2.7.4...pylint-2.8.1) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- requirements_test.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements_test.txt b/requirements_test.txt index 87da3e0..69c7b58 100644 --- a/requirements_test.txt +++ b/requirements_test.txt @@ -1,6 +1,6 @@ -r requirements_test_pre_commit.txt mypy==0.812 pre-commit==2.12.1 -pylint==2.7.4 +pylint==2.8.1 pytest==6.2.3 pytest-asyncio==0.15.1 From ddb089f370503bd017bc23706545976a0e7e71d3 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 26 Apr 2021 13:57:24 +0200 Subject: [PATCH 11/47] Bump black from 20.8b1 to 21.4b0 (#33) Bumps [black](https://github.com/psf/black) from 20.8b1 to 21.4b0. - [Release notes](https://github.com/psf/black/releases) - [Changelog](https://github.com/psf/black/blob/master/CHANGES.md) - [Commits](https://github.com/psf/black/commits) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- requirements_black.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements_black.txt b/requirements_black.txt index 52ee1d9..0b8a871 100644 --- a/requirements_black.txt +++ b/requirements_black.txt @@ -1 +1 @@ -black==20.8b1 +black==21.4b0 From a5e86b022944aab5c065544aa2bbc4e4dc78c96e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 27 Apr 2021 10:35:29 +0200 Subject: [PATCH 12/47] Bump pylint from 2.8.1 to 2.8.2 (#34) Bumps [pylint](https://github.com/PyCQA/pylint) from 2.8.1 to 2.8.2. - [Release notes](https://github.com/PyCQA/pylint/releases) - [Changelog](https://github.com/PyCQA/pylint/blob/master/ChangeLog) - [Commits](https://github.com/PyCQA/pylint/compare/pylint-2.8.1...v2.8.2) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- requirements_test.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements_test.txt b/requirements_test.txt index 69c7b58..d832f6c 100644 --- a/requirements_test.txt +++ b/requirements_test.txt @@ -1,6 +1,6 @@ -r requirements_test_pre_commit.txt mypy==0.812 pre-commit==2.12.1 -pylint==2.8.1 +pylint==2.8.2 pytest==6.2.3 pytest-asyncio==0.15.1 From 786420737f0799777687724783437c296f308291 Mon Sep 17 00:00:00 2001 From: Marc Mueller <30130371+cdce8p@users.noreply.github.com> Date: Tue, 27 Apr 2021 13:33:35 +0200 Subject: [PATCH 13/47] Update dependabot config (#35) --- .github/dependabot.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 584f680..c103c4b 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -3,7 +3,7 @@ updates: - package-ecosystem: "pip" directory: "/" schedule: - interval: "daily" + interval: "weekly" labels: - "dependency" assignees: From 4e43f4da1622930c253de7f7cb18a4b56ba66e99 Mon Sep 17 00:00:00 2001 From: Marc Mueller <30130371+cdce8p@users.noreply.github.com> Date: Sun, 2 May 2021 16:43:11 +0200 Subject: [PATCH 14/47] Update pylint config (#36) --- pylintrc | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/pylintrc b/pylintrc index 0edbafa..2ad5149 100644 --- a/pylintrc +++ b/pylintrc @@ -1,15 +1,17 @@ [MASTER] ignore= +load-plugins = + pylint.extensions.typing, [BASIC] -good-names= +good-names = i,j,k,_,fp,it,ex,logger [MESSAGE CONTROL] # Reasons disabled: # superfluous-parens - used with := # duplicate-code - for scripts acceptable -disable= +disable = superfluous-parens, missing-module-docstring, missing-class-docstring, @@ -25,7 +27,11 @@ disable= duplicate-code, [FORMAT] -max-line-length=119 +max-line-length = 119 [REPORTS] score = no + +[TYPING] +py-version = 3.8 +runtime-typing = no From 5b3e214ee68cbb3eff0cdefe020b7a9080003ee5 Mon Sep 17 00:00:00 2001 From: Marc Mueller <30130371+cdce8p@users.noreply.github.com> Date: Sun, 2 May 2021 16:59:33 +0200 Subject: [PATCH 15/47] Update setup config (#37) --- setup.cfg | 14 +++++++++++++- setup.py | 7 ------- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/setup.cfg b/setup.cfg index c691d5c..7466ce1 100644 --- a/setup.cfg +++ b/setup.cfg @@ -17,6 +17,18 @@ classifier = Programming Language :: Python :: 3.9 Topic :: Software Development +[options] +packages = find: +python_requires = >=3.8,<3.10 + +[options.packages.find] +include = + python_typing_update* + +[options.entry_points] +console_scripts = + python-typing-update = python_typing_update.__main__:main + [flake8] ignore = E203,E231,E701,W503,W504 # E203,E231,E701 -> walrus @@ -32,7 +44,7 @@ extend_exclude = testpaths = tests norecursedirs = fixtures console_output_style = count -log_level=NOTSET +log_level = NOTSET [tool:isort] # https://github.com/PyCQA/isort/wiki/isort-Settings diff --git a/setup.py b/setup.py index 3f756b8..578fd6a 100644 --- a/setup.py +++ b/setup.py @@ -15,15 +15,8 @@ def load_requirements_file(filename: str) -> list[str]: setup( version=version_str, - packages=['python_typing_update'], - python_requires='>=3.8, <3.10', install_requires=load_requirements_file('requirements.txt'), extras_require={ 'black': load_requirements_file('requirements_black.txt'), }, - entry_points={ - 'console_scripts': [ - 'python-typing-update = python_typing_update.__main__:main', - ], - }, ) From 3e72874243f713b38fbd9b3a781e56e2ab71315c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 3 May 2021 12:23:16 +0200 Subject: [PATCH 16/47] Bump pyupgrade from 2.13.0 to 2.14.0 (#39) * Bump pyupgrade from 2.13.0 to 2.14.0 Bumps [pyupgrade](https://github.com/asottile/pyupgrade) from 2.13.0 to 2.14.0. - [Release notes](https://github.com/asottile/pyupgrade/releases) - [Commits](https://github.com/asottile/pyupgrade/compare/v2.13.0...v2.14.0) Signed-off-by: dependabot[bot] * Update pre-commit-config Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com> --- .pre-commit-config.yaml | 2 +- requirements.txt | 2 +- requirements_test_pre_commit.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a61d5b0..40bd386 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/asottile/pyupgrade - rev: v2.13.0 + rev: v2.14.0 hooks: - id: pyupgrade args: [--py38-plus] diff --git a/requirements.txt b/requirements.txt index b41911f..d265753 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ aiofiles==0.6.0 autoflake==1.4 isort==5.8.0 -pyupgrade==2.13.0 +pyupgrade==2.14.0 reorder-python-imports==2.5.0 diff --git a/requirements_test_pre_commit.txt b/requirements_test_pre_commit.txt index 60f8ddd..e64f80f 100644 --- a/requirements_test_pre_commit.txt +++ b/requirements_test_pre_commit.txt @@ -1,3 +1,3 @@ flake8==3.9.1 isort==5.8.0 -pyupgrade==2.13.0 +pyupgrade==2.14.0 From a1657ffef360dee4fa49334db3ace8c4bb98c4af Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 3 May 2021 12:28:14 +0200 Subject: [PATCH 17/47] Bump black from 21.4b0 to 21.4b2 (#38) Bumps [black](https://github.com/psf/black) from 21.4b0 to 21.4b2. - [Release notes](https://github.com/psf/black/releases) - [Changelog](https://github.com/psf/black/blob/master/CHANGES.md) - [Commits](https://github.com/psf/black/commits) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com> --- requirements_black.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements_black.txt b/requirements_black.txt index 0b8a871..c2014be 100644 --- a/requirements_black.txt +++ b/requirements_black.txt @@ -1 +1 @@ -black==21.4b0 +black==21.4b2 From 564b727de6fa0fb5289fe21f45896640f7854bc0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 10 May 2021 10:29:54 +0200 Subject: [PATCH 18/47] Bump pytest from 6.2.3 to 6.2.4 (#43) Bumps [pytest](https://github.com/pytest-dev/pytest) from 6.2.3 to 6.2.4. - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest/compare/6.2.3...6.2.4) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- requirements_test.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements_test.txt b/requirements_test.txt index d832f6c..2230c22 100644 --- a/requirements_test.txt +++ b/requirements_test.txt @@ -2,5 +2,5 @@ mypy==0.812 pre-commit==2.12.1 pylint==2.8.2 -pytest==6.2.3 +pytest==6.2.4 pytest-asyncio==0.15.1 From d021b29babf9a032185c0481dff903acda731817 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 10 May 2021 11:38:35 +0200 Subject: [PATCH 19/47] Bump black from 21.4b2 to 21.5b0 (#41) Bumps [black](https://github.com/psf/black) from 21.4b2 to 21.5b0. - [Release notes](https://github.com/psf/black/releases) - [Changelog](https://github.com/psf/black/blob/main/CHANGES.md) - [Commits](https://github.com/psf/black/commits) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- requirements_black.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements_black.txt b/requirements_black.txt index c2014be..7d4d4c6 100644 --- a/requirements_black.txt +++ b/requirements_black.txt @@ -1 +1 @@ -black==21.4b2 +black==21.5b0 From 1f36fe8040ef379d4fdaa294a66f8951eac6c090 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 10 May 2021 11:43:09 +0200 Subject: [PATCH 20/47] Bump flake8 from 3.9.1 to 3.9.2 (#42) * Bump flake8 from 3.9.1 to 3.9.2 Bumps [flake8](https://gitlab.com/pycqa/flake8) from 3.9.1 to 3.9.2. - [Release notes](https://gitlab.com/pycqa/flake8/tags) - [Commits](https://gitlab.com/pycqa/flake8/compare/3.9.1...3.9.2) Signed-off-by: dependabot[bot] * Update pre-commit-config Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com> --- .pre-commit-config.yaml | 2 +- requirements_test_pre_commit.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 40bd386..bb58a86 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -6,7 +6,7 @@ repos: args: [--py38-plus] exclude: &fixtures ^tests/fixtures/.+\.py$ - repo: https://gitlab.com/pycqa/flake8 - rev: 3.9.1 + rev: 3.9.2 hooks: - id: flake8 files: ^(python_typing_update|script|tests)/.+\.py$ diff --git a/requirements_test_pre_commit.txt b/requirements_test_pre_commit.txt index e64f80f..ef8d257 100644 --- a/requirements_test_pre_commit.txt +++ b/requirements_test_pre_commit.txt @@ -1,3 +1,3 @@ -flake8==3.9.1 +flake8==3.9.2 isort==5.8.0 pyupgrade==2.14.0 From d7f299e2ed492adce0623eaba35e23f8ac7300d0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 10 May 2021 11:54:06 +0200 Subject: [PATCH 21/47] Bump pyupgrade from 2.14.0 to 2.15.0 (#40) * Bump pyupgrade from 2.14.0 to 2.15.0 Bumps [pyupgrade](https://github.com/asottile/pyupgrade) from 2.14.0 to 2.15.0. - [Release notes](https://github.com/asottile/pyupgrade/releases) - [Commits](https://github.com/asottile/pyupgrade/compare/v2.14.0...v2.15.0) Signed-off-by: dependabot[bot] * Update pre-commit-config Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com> --- .pre-commit-config.yaml | 2 +- requirements.txt | 2 +- requirements_test_pre_commit.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index bb58a86..13a57f2 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/asottile/pyupgrade - rev: v2.14.0 + rev: v2.15.0 hooks: - id: pyupgrade args: [--py38-plus] diff --git a/requirements.txt b/requirements.txt index d265753..1300e21 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ aiofiles==0.6.0 autoflake==1.4 isort==5.8.0 -pyupgrade==2.14.0 +pyupgrade==2.15.0 reorder-python-imports==2.5.0 diff --git a/requirements_test_pre_commit.txt b/requirements_test_pre_commit.txt index ef8d257..c8ddeae 100644 --- a/requirements_test_pre_commit.txt +++ b/requirements_test_pre_commit.txt @@ -1,3 +1,3 @@ flake8==3.9.2 isort==5.8.0 -pyupgrade==2.14.0 +pyupgrade==2.15.0 From c10f86c2f73bc3a140d797ac1bc71e30628ccb73 Mon Sep 17 00:00:00 2001 From: Marc Mueller <30130371+cdce8p@users.noreply.github.com> Date: Mon, 10 May 2021 11:59:40 +0200 Subject: [PATCH 22/47] Change dependabot rebase-strategy (#44) --- .github/dependabot.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index c103c4b..d9b8b66 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -9,6 +9,7 @@ updates: assignees: - "cdce8p" open-pull-requests-limit: 10 + rebase-strategy: "disabled" - package-ecosystem: "github-actions" directory: "/" @@ -19,3 +20,4 @@ updates: assignees: - "cdce8p" open-pull-requests-limit: 10 + rebase-strategy: "disabled" From 38092b609056213bf1362010039c3b22674ba3cb Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 17 May 2021 12:45:03 +0200 Subject: [PATCH 23/47] Bump pyupgrade from 2.15.0 to 2.16.0 (#45) * Bump pyupgrade from 2.15.0 to 2.16.0 Bumps [pyupgrade](https://github.com/asottile/pyupgrade) from 2.15.0 to 2.16.0. - [Release notes](https://github.com/asottile/pyupgrade/releases) - [Commits](https://github.com/asottile/pyupgrade/compare/v2.15.0...v2.16.0) Signed-off-by: dependabot[bot] * Update pre-commit-config Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com> --- .pre-commit-config.yaml | 2 +- requirements.txt | 2 +- requirements_test_pre_commit.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 13a57f2..4078dd4 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/asottile/pyupgrade - rev: v2.15.0 + rev: v2.16.0 hooks: - id: pyupgrade args: [--py38-plus] diff --git a/requirements.txt b/requirements.txt index 1300e21..01be140 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ aiofiles==0.6.0 autoflake==1.4 isort==5.8.0 -pyupgrade==2.15.0 +pyupgrade==2.16.0 reorder-python-imports==2.5.0 diff --git a/requirements_test_pre_commit.txt b/requirements_test_pre_commit.txt index c8ddeae..bc3beed 100644 --- a/requirements_test_pre_commit.txt +++ b/requirements_test_pre_commit.txt @@ -1,3 +1,3 @@ flake8==3.9.2 isort==5.8.0 -pyupgrade==2.15.0 +pyupgrade==2.16.0 From e4a27cf0d26ffbfa3b349c36939a2f0763176836 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 17 May 2021 12:47:19 +0200 Subject: [PATCH 24/47] Bump aiofiles from 0.6.0 to 0.7.0 (#47) Bumps [aiofiles](https://github.com/Tinche/aiofiles) from 0.6.0 to 0.7.0. - [Release notes](https://github.com/Tinche/aiofiles/releases) - [Commits](https://github.com/Tinche/aiofiles/compare/v0.6.0...v0.7.0) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com> --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 01be140..9a38eff 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -aiofiles==0.6.0 +aiofiles==0.7.0 autoflake==1.4 isort==5.8.0 pyupgrade==2.16.0 From ecb28a645befcc53e24462ab66be589e99ae9987 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 17 May 2021 12:50:42 +0200 Subject: [PATCH 25/47] Bump black from 21.5b0 to 21.5b1 (#46) Bumps [black](https://github.com/psf/black) from 21.5b0 to 21.5b1. - [Release notes](https://github.com/psf/black/releases) - [Changelog](https://github.com/psf/black/blob/main/CHANGES.md) - [Commits](https://github.com/psf/black/commits) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com> --- requirements_black.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements_black.txt b/requirements_black.txt index 7d4d4c6..95613a3 100644 --- a/requirements_black.txt +++ b/requirements_black.txt @@ -1 +1 @@ -black==21.5b0 +black==21.5b1 From 23e95dc3db8788a45f75deae970d9e073cfde121 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 24 May 2021 12:29:10 +0200 Subject: [PATCH 26/47] Bump pre-commit from 2.12.1 to 2.13.0 (#48) Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 2.12.1 to 2.13.0. - [Release notes](https://github.com/pre-commit/pre-commit/releases) - [Changelog](https://github.com/pre-commit/pre-commit/blob/master/CHANGELOG.md) - [Commits](https://github.com/pre-commit/pre-commit/compare/v2.12.1...v2.13.0) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- requirements_test.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements_test.txt b/requirements_test.txt index 2230c22..615a45c 100644 --- a/requirements_test.txt +++ b/requirements_test.txt @@ -1,6 +1,6 @@ -r requirements_test_pre_commit.txt mypy==0.812 -pre-commit==2.12.1 +pre-commit==2.13.0 pylint==2.8.2 pytest==6.2.4 pytest-asyncio==0.15.1 From 75f4fe8d4821e5d5ac744fb4672f3b725be6c417 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 24 May 2021 12:39:31 +0200 Subject: [PATCH 27/47] Bump pyupgrade from 2.16.0 to 2.18.1 (#49) * Bump pyupgrade from 2.16.0 to 2.18.1 Bumps [pyupgrade](https://github.com/asottile/pyupgrade) from 2.16.0 to 2.18.1. - [Release notes](https://github.com/asottile/pyupgrade/releases) - [Commits](https://github.com/asottile/pyupgrade/compare/v2.16.0...v2.18.1) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com> --- .pre-commit-config.yaml | 2 +- python_typing_update/main.py | 4 ++-- requirements.txt | 2 +- requirements_test_pre_commit.txt | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4078dd4..44fb416 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/asottile/pyupgrade - rev: v2.16.0 + rev: v2.18.1 hooks: - id: pyupgrade args: [--py38-plus] diff --git a/python_typing_update/main.py b/python_typing_update/main.py index 14920eb..c71031f 100644 --- a/python_typing_update/main.py +++ b/python_typing_update/main.py @@ -204,10 +204,10 @@ async def async_run(args: argparse.Namespace) -> int: return 0 files_updated_set: set[str] = set(files_updated) - files_with_comments = sorted([ + files_with_comments = sorted( filename for filename, attrs in filenames.items() if FileStatus.COMMENT in attrs.status and filename in files_updated_set - ]) + ) files_imports_changed: list[str] = [] for file_, attrs in (await async_load_files(args, files_updated_set, check_comments=False)).items(): import_diff = filenames[file_].imports.difference(attrs.imports) diff --git a/requirements.txt b/requirements.txt index 9a38eff..dc17af6 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ aiofiles==0.7.0 autoflake==1.4 isort==5.8.0 -pyupgrade==2.16.0 +pyupgrade==2.18.1 reorder-python-imports==2.5.0 diff --git a/requirements_test_pre_commit.txt b/requirements_test_pre_commit.txt index bc3beed..afcebb3 100644 --- a/requirements_test_pre_commit.txt +++ b/requirements_test_pre_commit.txt @@ -1,3 +1,3 @@ flake8==3.9.2 isort==5.8.0 -pyupgrade==2.16.0 +pyupgrade==2.18.1 From f04812617d66626ca4607d13c9a94ecfcb24536d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 31 May 2021 12:43:53 +0200 Subject: [PATCH 28/47] Bump actions/cache from 2.1.5 to 2.1.6 (#51) Bumps [actions/cache](https://github.com/actions/cache) from 2.1.5 to 2.1.6. - [Release notes](https://github.com/actions/cache/releases) - [Commits](https://github.com/actions/cache/compare/v2.1.5...v2.1.6) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/ci.yaml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index db52a27..3ffa998 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -37,7 +37,7 @@ jobs: 'requirements_test_pre_commit.txt') }}" - name: Restore Python virtual environment id: cache-venv - uses: actions/cache@v2.1.5 + uses: actions/cache@v2.1.6 with: path: venv key: >- @@ -60,7 +60,7 @@ jobs: hashFiles('.pre-commit-config.yaml') }}" - name: Restore pre-commit environment id: cache-precommit - uses: actions/cache@v2.1.5 + uses: actions/cache@v2.1.6 with: path: ${{ env.PRE_COMMIT_CACHE }} key: >- @@ -87,7 +87,7 @@ jobs: python-version: ${{ env.DEFAULT_PYTHON }} - name: Restore Python virtual environment id: cache-venv - uses: actions/cache@v2.1.5 + uses: actions/cache@v2.1.6 with: path: venv key: ${{ runner.os }}-${{ steps.python.outputs.python-version }}-${{ @@ -99,7 +99,7 @@ jobs: exit 1 - name: Restore pre-commit environment id: cache-precommit - uses: actions/cache@v2.1.5 + uses: actions/cache@v2.1.6 with: path: ${{ env.PRE_COMMIT_CACHE }} key: ${{ runner.os }}-${{ needs.prepare-base.outputs.pre-commit-key }} @@ -128,7 +128,7 @@ jobs: python-version: ${{ env.DEFAULT_PYTHON }} - name: Restore Python virtual environment id: cache-venv - uses: actions/cache@v2.1.5 + uses: actions/cache@v2.1.6 with: path: venv key: ${{ runner.os }}-${{ steps.python.outputs.python-version }}-${{ @@ -158,7 +158,7 @@ jobs: python-version: ${{ env.DEFAULT_PYTHON }} - name: Restore Python virtual environment id: cache-venv - uses: actions/cache@v2.1.5 + uses: actions/cache@v2.1.6 with: path: venv key: ${{ runner.os }}-${{ steps.python.outputs.python-version }}-${{ @@ -198,7 +198,7 @@ jobs: 'requirements_test_pre_commit.txt') }}" - name: Restore Python virtual environment id: cache-venv - uses: actions/cache@v2.1.5 + uses: actions/cache@v2.1.6 with: path: venv key: >- @@ -233,7 +233,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Restore Python virtual environment id: cache-venv - uses: actions/cache@v2.1.5 + uses: actions/cache@v2.1.6 with: path: venv key: ${{ runner.os }}-${{ steps.python.outputs.python-version }}-${{ From 7ff6541149da7ad44438cc7571fe5e9403d07984 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 31 May 2021 13:09:34 +0200 Subject: [PATCH 29/47] Bump pyupgrade from 2.18.1 to 2.19.0 (#50) * Bump pyupgrade from 2.18.1 to 2.19.0 Bumps [pyupgrade](https://github.com/asottile/pyupgrade) from 2.18.1 to 2.19.0. - [Release notes](https://github.com/asottile/pyupgrade/releases) - [Commits](https://github.com/asottile/pyupgrade/compare/v2.18.1...v2.19.0) Signed-off-by: dependabot[bot] * Update pre-commit config * Fix code Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com> --- .pre-commit-config.yaml | 2 +- python_typing_update/main.py | 4 ++-- requirements.txt | 2 +- requirements_test_pre_commit.txt | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 44fb416..7771afc 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/asottile/pyupgrade - rev: v2.18.1 + rev: v2.19.0 hooks: - id: pyupgrade args: [--py38-plus] diff --git a/python_typing_update/main.py b/python_typing_update/main.py index c71031f..fa122b1 100644 --- a/python_typing_update/main.py +++ b/python_typing_update/main.py @@ -136,7 +136,7 @@ async def async_load_file(filename: str) -> tuple[str, FileAttributes]: active_tasks -= 1 return filename, FileAttributes(file_status, imports_set) - results = await asyncio.gather(*[async_load_file(file_) for file_ in filenames]) + results = await asyncio.gather(*(async_load_file(file_) for file_ in filenames)) return dict(results) @@ -177,7 +177,7 @@ async def async_run(args: argparse.Namespace) -> int: builtins.print = lambda *args, **kwargs: None return_values = await asyncio.gather( - *[typing_update(loop, filename, args, attrs.status) for filename, attrs in filenames.items()]) + *(typing_update(loop, filename, args, attrs.status) for filename, attrs in filenames.items())) for status, filename in return_values: if status == 0: files_updated.append(filename) diff --git a/requirements.txt b/requirements.txt index dc17af6..ee1e6d3 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ aiofiles==0.7.0 autoflake==1.4 isort==5.8.0 -pyupgrade==2.18.1 +pyupgrade==2.19.0 reorder-python-imports==2.5.0 diff --git a/requirements_test_pre_commit.txt b/requirements_test_pre_commit.txt index afcebb3..063b617 100644 --- a/requirements_test_pre_commit.txt +++ b/requirements_test_pre_commit.txt @@ -1,3 +1,3 @@ flake8==3.9.2 isort==5.8.0 -pyupgrade==2.18.1 +pyupgrade==2.19.0 From 130eda4a73a8f58a854f6f3f34413312d4908697 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 7 Jun 2021 11:37:39 +0200 Subject: [PATCH 30/47] Bump pylint from 2.8.2 to 2.8.3 (#53) Bumps [pylint](https://github.com/PyCQA/pylint) from 2.8.2 to 2.8.3. - [Release notes](https://github.com/PyCQA/pylint/releases) - [Changelog](https://github.com/PyCQA/pylint/blob/master/ChangeLog) - [Commits](https://github.com/PyCQA/pylint/compare/v2.8.2...v2.8.3) --- updated-dependencies: - dependency-name: pylint dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- requirements_test.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements_test.txt b/requirements_test.txt index 615a45c..79a910b 100644 --- a/requirements_test.txt +++ b/requirements_test.txt @@ -1,6 +1,6 @@ -r requirements_test_pre_commit.txt mypy==0.812 pre-commit==2.13.0 -pylint==2.8.2 +pylint==2.8.3 pytest==6.2.4 pytest-asyncio==0.15.1 From 37fe8b7d4fb5be76d3035b0c9e97db46090f6ea8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 7 Jun 2021 11:43:49 +0200 Subject: [PATCH 31/47] Bump black from 21.5b1 to 21.5b2 (#52) Bumps [black](https://github.com/psf/black) from 21.5b1 to 21.5b2. - [Release notes](https://github.com/psf/black/releases) - [Changelog](https://github.com/psf/black/blob/main/CHANGES.md) - [Commits](https://github.com/psf/black/commits) --- updated-dependencies: - dependency-name: black dependency-type: direct:production ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com> --- requirements_black.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements_black.txt b/requirements_black.txt index 95613a3..bea43ff 100644 --- a/requirements_black.txt +++ b/requirements_black.txt @@ -1 +1 @@ -black==21.5b1 +black==21.5b2 From f633018f991952523ac0fc0757fab3583875eb00 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 7 Jun 2021 11:47:37 +0200 Subject: [PATCH 32/47] Bump pyupgrade from 2.19.0 to 2.19.1 (#54) * Bump pyupgrade from 2.19.0 to 2.19.1 Bumps [pyupgrade](https://github.com/asottile/pyupgrade) from 2.19.0 to 2.19.1. - [Release notes](https://github.com/asottile/pyupgrade/releases) - [Commits](https://github.com/asottile/pyupgrade/compare/v2.19.0...v2.19.1) --- updated-dependencies: - dependency-name: pyupgrade dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] * Update pre-commit-config Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com> --- .pre-commit-config.yaml | 2 +- requirements.txt | 2 +- requirements_test_pre_commit.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7771afc..8b6f8be 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/asottile/pyupgrade - rev: v2.19.0 + rev: v2.19.1 hooks: - id: pyupgrade args: [--py38-plus] diff --git a/requirements.txt b/requirements.txt index ee1e6d3..46c220e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ aiofiles==0.7.0 autoflake==1.4 isort==5.8.0 -pyupgrade==2.19.0 +pyupgrade==2.19.1 reorder-python-imports==2.5.0 diff --git a/requirements_test_pre_commit.txt b/requirements_test_pre_commit.txt index 063b617..48825f4 100644 --- a/requirements_test_pre_commit.txt +++ b/requirements_test_pre_commit.txt @@ -1,3 +1,3 @@ flake8==3.9.2 isort==5.8.0 -pyupgrade==2.19.0 +pyupgrade==2.19.1 From abd6ebc1b8e7c638e071299f5cc5ca3d7b59303f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 14 Jun 2021 09:53:01 +0200 Subject: [PATCH 33/47] Bump black from 21.5b2 to 21.6b0 (#55) Bumps [black](https://github.com/psf/black) from 21.5b2 to 21.6b0. - [Release notes](https://github.com/psf/black/releases) - [Changelog](https://github.com/psf/black/blob/main/CHANGES.md) - [Commits](https://github.com/psf/black/commits) --- updated-dependencies: - dependency-name: black dependency-type: direct:production ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- requirements_black.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements_black.txt b/requirements_black.txt index bea43ff..aa5c1c2 100644 --- a/requirements_black.txt +++ b/requirements_black.txt @@ -1 +1 @@ -black==21.5b2 +black==21.6b0 From 68c6c217ad701edd2083227769be1a6abdd52e9e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 14 Jun 2021 09:59:33 +0200 Subject: [PATCH 34/47] Bump pyupgrade from 2.19.1 to 2.19.4 (#56) * Bump pyupgrade from 2.19.1 to 2.19.4 Bumps [pyupgrade](https://github.com/asottile/pyupgrade) from 2.19.1 to 2.19.4. - [Release notes](https://github.com/asottile/pyupgrade/releases) - [Commits](https://github.com/asottile/pyupgrade/compare/v2.19.1...v2.19.4) --- updated-dependencies: - dependency-name: pyupgrade dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] * Update pre-commit-config Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com> --- .pre-commit-config.yaml | 2 +- requirements.txt | 2 +- requirements_test_pre_commit.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8b6f8be..8888f48 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/asottile/pyupgrade - rev: v2.19.1 + rev: v2.19.4 hooks: - id: pyupgrade args: [--py38-plus] diff --git a/requirements.txt b/requirements.txt index 46c220e..4fcabda 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ aiofiles==0.7.0 autoflake==1.4 isort==5.8.0 -pyupgrade==2.19.1 +pyupgrade==2.19.4 reorder-python-imports==2.5.0 diff --git a/requirements_test_pre_commit.txt b/requirements_test_pre_commit.txt index 48825f4..5202a69 100644 --- a/requirements_test_pre_commit.txt +++ b/requirements_test_pre_commit.txt @@ -1,3 +1,3 @@ flake8==3.9.2 isort==5.8.0 -pyupgrade==2.19.1 +pyupgrade==2.19.4 From f79966eb104f220fdcc78f87764eb74ab6e527c2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 14 Jun 2021 10:09:44 +0200 Subject: [PATCH 35/47] Bump mypy from 0.812 to 0.902 (#57) * Bump mypy from 0.812 to 0.902 Bumps [mypy](https://github.com/python/mypy) from 0.812 to 0.902. - [Release notes](https://github.com/python/mypy/releases) - [Commits](https://github.com/python/mypy/compare/v0.812...v0.902) --- updated-dependencies: - dependency-name: mypy dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * Add types-aiofiles as test requirement Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com> --- requirements_test.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/requirements_test.txt b/requirements_test.txt index 79a910b..15a5088 100644 --- a/requirements_test.txt +++ b/requirements_test.txt @@ -1,6 +1,7 @@ -r requirements_test_pre_commit.txt -mypy==0.812 +mypy==0.902 pre-commit==2.13.0 pylint==2.8.3 pytest==6.2.4 pytest-asyncio==0.15.1 +types-aiofiles==0.1.4 From 1e5ca8cfac2b075d8eeb2b4fb7372fe5ff689b13 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 21 Jun 2021 08:03:03 +0200 Subject: [PATCH 36/47] Bump types-aiofiles from 0.1.4 to 0.1.5 (#58) Bumps [types-aiofiles](https://github.com/python/typeshed) from 0.1.4 to 0.1.5. - [Release notes](https://github.com/python/typeshed/releases) - [Commits](https://github.com/python/typeshed/commits) --- updated-dependencies: - dependency-name: types-aiofiles dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- requirements_test.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements_test.txt b/requirements_test.txt index 15a5088..fab6ab5 100644 --- a/requirements_test.txt +++ b/requirements_test.txt @@ -4,4 +4,4 @@ pre-commit==2.13.0 pylint==2.8.3 pytest==6.2.4 pytest-asyncio==0.15.1 -types-aiofiles==0.1.4 +types-aiofiles==0.1.5 From bdc9a2e15c7f1cfd6d757a1f2315f669c61a5ac8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 28 Jun 2021 09:45:35 +0200 Subject: [PATCH 37/47] Bump isort from 5.8.0 to 5.9.1 (#60) * Bump isort from 5.8.0 to 5.9.1 Bumps [isort](https://github.com/pycqa/isort) from 5.8.0 to 5.9.1. - [Release notes](https://github.com/pycqa/isort/releases) - [Changelog](https://github.com/PyCQA/isort/blob/main/CHANGELOG.md) - [Commits](https://github.com/pycqa/isort/compare/5.8.0...5.9.1) --- updated-dependencies: - dependency-name: isort dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * Update pre-commit-config Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com> --- .pre-commit-config.yaml | 2 +- requirements.txt | 2 +- requirements_test_pre_commit.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8888f48..ec48a96 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -12,7 +12,7 @@ repos: files: ^(python_typing_update|script|tests)/.+\.py$ exclude: *fixtures - repo: https://github.com/PyCQA/isort - rev: 5.8.0 + rev: 5.9.1 hooks: - id: isort exclude: *fixtures diff --git a/requirements.txt b/requirements.txt index 4fcabda..1f3e86b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ aiofiles==0.7.0 autoflake==1.4 -isort==5.8.0 +isort==5.9.1 pyupgrade==2.19.4 reorder-python-imports==2.5.0 diff --git a/requirements_test_pre_commit.txt b/requirements_test_pre_commit.txt index 5202a69..9f62c9c 100644 --- a/requirements_test_pre_commit.txt +++ b/requirements_test_pre_commit.txt @@ -1,3 +1,3 @@ flake8==3.9.2 -isort==5.8.0 +isort==5.9.1 pyupgrade==2.19.4 From e8ea857c0767c9e8286c0605ebfd2d8d98a9b68b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 28 Jun 2021 09:47:15 +0200 Subject: [PATCH 38/47] Bump mypy from 0.902 to 0.910 (#59) Bumps [mypy](https://github.com/python/mypy) from 0.902 to 0.910. - [Release notes](https://github.com/python/mypy/releases) - [Commits](https://github.com/python/mypy/compare/v0.902...v0.910) --- updated-dependencies: - dependency-name: mypy dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com> --- requirements_test.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements_test.txt b/requirements_test.txt index fab6ab5..7c4e937 100644 --- a/requirements_test.txt +++ b/requirements_test.txt @@ -1,5 +1,5 @@ -r requirements_test_pre_commit.txt -mypy==0.902 +mypy==0.910 pre-commit==2.13.0 pylint==2.8.3 pytest==6.2.4 From 79ec063b4f45d71fb5cba1d8fcd30c8c56d4aefe Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 5 Jul 2021 10:55:37 +0200 Subject: [PATCH 39/47] Bump pylint from 2.8.3 to 2.9.3 (#61) Bumps [pylint](https://github.com/PyCQA/pylint) from 2.8.3 to 2.9.3. - [Release notes](https://github.com/PyCQA/pylint/releases) - [Changelog](https://github.com/PyCQA/pylint/blob/main/ChangeLog) - [Commits](https://github.com/PyCQA/pylint/compare/v2.8.3...v2.9.3) --- updated-dependencies: - dependency-name: pylint dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- requirements_test.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements_test.txt b/requirements_test.txt index 7c4e937..7ff35d7 100644 --- a/requirements_test.txt +++ b/requirements_test.txt @@ -1,7 +1,7 @@ -r requirements_test_pre_commit.txt mypy==0.910 pre-commit==2.13.0 -pylint==2.8.3 +pylint==2.9.3 pytest==6.2.4 pytest-asyncio==0.15.1 types-aiofiles==0.1.5 From 0e2c11d2aa865e3b3b1f59c5fd45ede8b8cba9d6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 5 Jul 2021 12:45:32 +0200 Subject: [PATCH 40/47] Bump pyupgrade from 2.19.4 to 2.20.0 (#62) * Bump pyupgrade from 2.19.4 to 2.20.0 Bumps [pyupgrade](https://github.com/asottile/pyupgrade) from 2.19.4 to 2.20.0. - [Release notes](https://github.com/asottile/pyupgrade/releases) - [Commits](https://github.com/asottile/pyupgrade/compare/v2.19.4...v2.20.0) --- updated-dependencies: - dependency-name: pyupgrade dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * Update .pre-commit-config.yaml Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com> --- .pre-commit-config.yaml | 2 +- requirements.txt | 2 +- requirements_test_pre_commit.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ec48a96..445c480 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/asottile/pyupgrade - rev: v2.19.4 + rev: v2.20.0 hooks: - id: pyupgrade args: [--py38-plus] diff --git a/requirements.txt b/requirements.txt index 1f3e86b..d16cab7 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ aiofiles==0.7.0 autoflake==1.4 isort==5.9.1 -pyupgrade==2.19.4 +pyupgrade==2.20.0 reorder-python-imports==2.5.0 diff --git a/requirements_test_pre_commit.txt b/requirements_test_pre_commit.txt index 9f62c9c..9fe6608 100644 --- a/requirements_test_pre_commit.txt +++ b/requirements_test_pre_commit.txt @@ -1,3 +1,3 @@ flake8==3.9.2 isort==5.9.1 -pyupgrade==2.19.4 +pyupgrade==2.20.0 From be02d6af47f3d58711458d8c8c6acbf2013fc1d4 Mon Sep 17 00:00:00 2001 From: Marc Mueller <30130371+cdce8p@users.noreply.github.com> Date: Wed, 7 Jul 2021 00:43:12 +0200 Subject: [PATCH 41/47] Misc tasks (#63) * Update setuptools in release script * Update default settings * Update flake config * Update pylint config --- .github/workflows/release.yaml | 2 +- .vscode/settings.default.json | 4 +++- pylintrc | 4 +--- setup.cfg | 3 --- 4 files changed, 5 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 046af6f..9cfa56c 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -23,7 +23,7 @@ jobs: - name: Install requirements run: | python -m pip install -U pip twine wheel - python -m pip install -U "setuptools>=56.0.0" + python -m pip install -U "setuptools>=57.1.0" - name: Build distributions run: | python setup.py sdist bdist_wheel diff --git a/.vscode/settings.default.json b/.vscode/settings.default.json index 5fd5288..2dd8fb0 100644 --- a/.vscode/settings.default.json +++ b/.vscode/settings.default.json @@ -7,7 +7,9 @@ "python.linting.flake8Enabled": true, "python.linting.pylintEnabled": true, "python.linting.mypyEnabled": true, - "python.testing.pytestArgs": [], + "python.testing.pytestArgs": [ + "--disable-warnings" + ], "python.testing.unittestEnabled": false, "python.testing.nosetestsEnabled": false, "python.testing.pytestEnabled": true, diff --git a/pylintrc b/pylintrc index 2ad5149..5b85e64 100644 --- a/pylintrc +++ b/pylintrc @@ -13,9 +13,7 @@ good-names = # duplicate-code - for scripts acceptable disable = superfluous-parens, - missing-module-docstring, - missing-class-docstring, - missing-function-docstring, + missing-docstring, too-many-instance-attributes, too-many-return-statements, too-many-locals, diff --git a/setup.cfg b/setup.cfg index 7466ce1..130744c 100644 --- a/setup.cfg +++ b/setup.cfg @@ -30,9 +30,6 @@ console_scripts = python-typing-update = python_typing_update.__main__:main [flake8] -ignore = E203,E231,E701,W503,W504 -# E203,E231,E701 -> walrus -# W503/504 -> line-break-before/after-binary-operator max_line_length = 119 extend_exclude = .github, From 5fb70af880911d55cc14f718e2b72fa51eac747b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 12 Jul 2021 10:40:13 +0200 Subject: [PATCH 42/47] Bump pyupgrade from 2.20.0 to 2.21.0 (#64) * Bump pyupgrade from 2.20.0 to 2.21.0 Bumps [pyupgrade](https://github.com/asottile/pyupgrade) from 2.20.0 to 2.21.0. - [Release notes](https://github.com/asottile/pyupgrade/releases) - [Commits](https://github.com/asottile/pyupgrade/compare/v2.20.0...v2.21.0) --- updated-dependencies: - dependency-name: pyupgrade dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * Update .pre-commit-config.yaml Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com> --- .pre-commit-config.yaml | 2 +- requirements.txt | 2 +- requirements_test_pre_commit.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 445c480..073a0b8 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/asottile/pyupgrade - rev: v2.20.0 + rev: v2.21.0 hooks: - id: pyupgrade args: [--py38-plus] diff --git a/requirements.txt b/requirements.txt index d16cab7..858eebf 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ aiofiles==0.7.0 autoflake==1.4 isort==5.9.1 -pyupgrade==2.20.0 +pyupgrade==2.21.0 reorder-python-imports==2.5.0 diff --git a/requirements_test_pre_commit.txt b/requirements_test_pre_commit.txt index 9fe6608..c02d572 100644 --- a/requirements_test_pre_commit.txt +++ b/requirements_test_pre_commit.txt @@ -1,3 +1,3 @@ flake8==3.9.2 isort==5.9.1 -pyupgrade==2.20.0 +pyupgrade==2.21.0 From 882468623446ae28fcce973d414637ca2764a887 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 12 Jul 2021 10:41:58 +0200 Subject: [PATCH 43/47] Bump types-aiofiles from 0.1.5 to 0.1.7 (#65) Bumps [types-aiofiles](https://github.com/python/typeshed) from 0.1.5 to 0.1.7. - [Release notes](https://github.com/python/typeshed/releases) - [Commits](https://github.com/python/typeshed/commits) --- updated-dependencies: - dependency-name: types-aiofiles dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com> --- requirements_test.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements_test.txt b/requirements_test.txt index 7ff35d7..6e2f877 100644 --- a/requirements_test.txt +++ b/requirements_test.txt @@ -4,4 +4,4 @@ pre-commit==2.13.0 pylint==2.9.3 pytest==6.2.4 pytest-asyncio==0.15.1 -types-aiofiles==0.1.5 +types-aiofiles==0.1.7 From 1c0c600f6e539d82b76fef0ade6a7b6c97867593 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 12 Jul 2021 10:44:34 +0200 Subject: [PATCH 44/47] Bump isort from 5.9.1 to 5.9.2 (#66) * Bump isort from 5.9.1 to 5.9.2 Bumps [isort](https://github.com/pycqa/isort) from 5.9.1 to 5.9.2. - [Release notes](https://github.com/pycqa/isort/releases) - [Changelog](https://github.com/PyCQA/isort/blob/main/CHANGELOG.md) - [Commits](https://github.com/pycqa/isort/compare/5.9.1...5.9.2) --- updated-dependencies: - dependency-name: isort dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] * Update .pre-commit-config.yaml Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com> --- .pre-commit-config.yaml | 2 +- requirements.txt | 2 +- requirements_test_pre_commit.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 073a0b8..218e40e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -12,7 +12,7 @@ repos: files: ^(python_typing_update|script|tests)/.+\.py$ exclude: *fixtures - repo: https://github.com/PyCQA/isort - rev: 5.9.1 + rev: 5.9.2 hooks: - id: isort exclude: *fixtures diff --git a/requirements.txt b/requirements.txt index 858eebf..a02870b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ aiofiles==0.7.0 autoflake==1.4 -isort==5.9.1 +isort==5.9.2 pyupgrade==2.21.0 reorder-python-imports==2.5.0 diff --git a/requirements_test_pre_commit.txt b/requirements_test_pre_commit.txt index c02d572..c6025e7 100644 --- a/requirements_test_pre_commit.txt +++ b/requirements_test_pre_commit.txt @@ -1,3 +1,3 @@ flake8==3.9.2 -isort==5.9.1 +isort==5.9.2 pyupgrade==2.21.0 From d00565a7ece7775fdacd61b9876bd71778e13e24 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 19 Jul 2021 06:56:33 +0200 Subject: [PATCH 45/47] Bump black from 21.6b0 to 21.7b0 (#68) Bumps [black](https://github.com/psf/black) from 21.6b0 to 21.7b0. - [Release notes](https://github.com/psf/black/releases) - [Changelog](https://github.com/psf/black/blob/main/CHANGES.md) - [Commits](https://github.com/psf/black/commits) --- updated-dependencies: - dependency-name: black dependency-type: direct:production ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- requirements_black.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements_black.txt b/requirements_black.txt index aa5c1c2..afa3fbe 100644 --- a/requirements_black.txt +++ b/requirements_black.txt @@ -1 +1 @@ -black==21.6b0 +black==21.7b0 From 03f933b4f21c28d3a549ea620f36d70879a68f6f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 19 Jul 2021 06:59:22 +0200 Subject: [PATCH 46/47] Bump pyupgrade from 2.21.0 to 2.21.2 (#67) * Bump pyupgrade from 2.21.0 to 2.21.2 Bumps [pyupgrade](https://github.com/asottile/pyupgrade) from 2.21.0 to 2.21.2. - [Release notes](https://github.com/asottile/pyupgrade/releases) - [Commits](https://github.com/asottile/pyupgrade/compare/v2.21.0...v2.21.2) --- updated-dependencies: - dependency-name: pyupgrade dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] * Update .pre-commit-config.yaml Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com> --- .pre-commit-config.yaml | 2 +- requirements.txt | 2 +- requirements_test_pre_commit.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 218e40e..d49e520 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/asottile/pyupgrade - rev: v2.21.0 + rev: v2.21.2 hooks: - id: pyupgrade args: [--py38-plus] diff --git a/requirements.txt b/requirements.txt index a02870b..2d361c4 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ aiofiles==0.7.0 autoflake==1.4 isort==5.9.2 -pyupgrade==2.21.0 +pyupgrade==2.21.2 reorder-python-imports==2.5.0 diff --git a/requirements_test_pre_commit.txt b/requirements_test_pre_commit.txt index c6025e7..1c1ab32 100644 --- a/requirements_test_pre_commit.txt +++ b/requirements_test_pre_commit.txt @@ -1,3 +1,3 @@ flake8==3.9.2 isort==5.9.2 -pyupgrade==2.21.0 +pyupgrade==2.21.2 From 0f9a09854505f108775c991d6dc4145a6c773f13 Mon Sep 17 00:00:00 2001 From: Marc Mueller <30130371+cdce8p@users.noreply.github.com> Date: Tue, 20 Jul 2021 03:00:51 +0200 Subject: [PATCH 47/47] Bump version to 0.3.4 --- python_typing_update/const.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python_typing_update/const.py b/python_typing_update/const.py index 30a8773..3a6460a 100644 --- a/python_typing_update/const.py +++ b/python_typing_update/const.py @@ -7,7 +7,7 @@ from typing import NamedTuple version = (0, 3, 4) -dev_version = 1 # Set to `None` for release +dev_version = 0 # Set to `None` for release version_str = '.'.join(map(str, version)) if dev_version is not None: