From a71424db5549f36b8352d3c35405631835a0983c Mon Sep 17 00:00:00 2001 From: Mathieu Kniewallner Date: Mon, 6 Jun 2022 12:03:09 +0200 Subject: [PATCH 1/7] chore(ci): remove obsolete `code-quality` workflow --- .github/workflows/code-quality.yaml | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 .github/workflows/code-quality.yaml diff --git a/.github/workflows/code-quality.yaml b/.github/workflows/code-quality.yaml deleted file mode 100644 index e1bbef2..0000000 --- a/.github/workflows/code-quality.yaml +++ /dev/null @@ -1,15 +0,0 @@ -name: Code Quality - -on: - pull_request: - push: - branches: [main] - -jobs: - pre-commit: - name: Linting - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v2 - - uses: pre-commit/action@v2.0.0 From 659c701daeacb5ded4c5b5f05b58c36ac34e5bb2 Mon Sep 17 00:00:00 2001 From: Mathieu Kniewallner Date: Mon, 6 Jun 2022 12:06:32 +0200 Subject: [PATCH 2/7] chore(ci): test against Python 3.11 --- .github/workflows/installer.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/installer.yml b/.github/workflows/installer.yml index 4366587..647aa17 100644 --- a/.github/workflows/installer.yml +++ b/.github/workflows/installer.yml @@ -25,7 +25,7 @@ jobs: strategy: matrix: os: [Ubuntu, macOS, Windows] - python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"] + python-version: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11-dev"] args: - "" - "--preview" From 87088484d5b5f04304a0eaf1d3aa73bbaaf36b28 Mon Sep 17 00:00:00 2001 From: Mathieu Kniewallner Date: Mon, 6 Jun 2022 12:07:26 +0200 Subject: [PATCH 3/7] chore(ci): use `1.1.13` for Poetry version to install --- .github/workflows/installer.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/installer.yml b/.github/workflows/installer.yml index 647aa17..d324c11 100644 --- a/.github/workflows/installer.yml +++ b/.github/workflows/installer.yml @@ -30,7 +30,7 @@ jobs: - "" - "--preview" - "--git https://github.com/python-poetry/poetry.git" - - "--version 1.1.11" + - "--version 1.1.13" include: - os: Ubuntu image: ubuntu-latest From a0fd5af2cdd5533c0ff2540ab2a003f01e0f0fc0 Mon Sep 17 00:00:00 2001 From: Mathieu Kniewallner Date: Mon, 6 Jun 2022 12:08:43 +0200 Subject: [PATCH 4/7] chore(ci): bump actions --- .github/workflows/installer.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/installer.yml b/.github/workflows/installer.yml index d324c11..8efdd37 100644 --- a/.github/workflows/installer.yml +++ b/.github/workflows/installer.yml @@ -42,10 +42,10 @@ jobs: run: shell: bash steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v3 with: python-version: ${{ matrix.python-version }} From 55759bcf41627c88c714b94f77fd2bf056b452fa Mon Sep 17 00:00:00 2001 From: Mathieu Kniewallner Date: Mon, 6 Jun 2022 12:11:56 +0200 Subject: [PATCH 5/7] chore(pre-commit): pin `flake8-bugbear` --- .pre-commit-config.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 336f6d9..5a77a54 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -8,7 +8,8 @@ repos: rev: 4.0.1 hooks: - id: flake8 - additional_dependencies: [flake8-bugbear] + additional_dependencies: + - flake8-bugbear==22.4.25 - repo: https://github.com/PyCQA/isort rev: 5.10.1 From c5c1c393ec1a7561052aa8237bd307263fffbee0 Mon Sep 17 00:00:00 2001 From: Mathieu Kniewallner Date: Mon, 6 Jun 2022 12:12:18 +0200 Subject: [PATCH 6/7] chore(pre-commit): remove unneeeded `toml` extra for `isort` --- .pre-commit-config.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5a77a54..0553910 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -15,7 +15,6 @@ repos: rev: 5.10.1 hooks: - id: isort - additional_dependencies: [toml] - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.2.0 From e018b47a2fce00f0f09ff29d90ea37b7cd4339ef Mon Sep 17 00:00:00 2001 From: Mathieu Kniewallner Date: Mon, 6 Jun 2022 12:13:55 +0200 Subject: [PATCH 7/7] chore(isort): remove options already in `black` profile --- pyproject.toml | 2 -- 1 file changed, 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index db0e70e..35ef6c3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,10 +2,8 @@ profile = "black" force_single_line = true atomic = true -include_trailing_comma = true lines_after_imports = 2 lines_between_types = 1 -use_parentheses = true filter_files = true